Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67210 - [sshuttle] TypeError: module.__init__() argument 1 must be string, not unicode in assembler.py
Attached to Project:
Community Packages
Opened by Leif Warner (pdxleif) - Monday, 06 July 2020, 22:19 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 03 May 2023, 03:26 GMT
Opened by Leif Warner (pdxleif) - Monday, 06 July 2020, 22:19 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 03 May 2023, 03:26 GMT
|
DetailsDescription:
sshuttle invoked with: sshuttle -vv --ssh-cmd "$SSH_CMD" --dns -r myuser@myhostname.com:2222 172.42.0.0.0/16 gives: Starting sshuttle proxy. firewall manager: Starting firewall with Python version 3.8.3 firewall manager: ready method name nat. IPv6 enabled: None UDP enabled: False DNS enabled: True User enabled: False Binding redirector: 12300 TCP redirector listening on ('127.0.0.1', 12300). TCP redirector listening with <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 12300)>. Binding DNS: 12300 12299 DNS listening on ('127.0.0.1', 12299). DNS listening with <socket.socket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('127.0.0.1', 12299)>. Starting client with Python version 3.8.3 c : connecting to server... c : executing: ['ssh', '-o', 'IdentitiesOnly=yes', '-i', './foo.pem', '-p', '2222', 'myuser@myhostname.com', '--', '/bin/sh -c \'P=python3; $P -V 2>/dev/null || P=python; exec "$P" -c \'"\'"\'import sys, os; verbosity=2; sys.stdin = os.fdopen(0, "rb"); exec(compile(sys.stdin.read(1279), "assembler.py", "exec"))\'"\'"\'\''] c : > channel=0 cmd=PING len=7 (fullness=0) load pubkey "./foo.pem": invalid format server: assembling u'sshuttle' (88 bytes) Traceback (most recent call last): File "<string>", line 1, in <module> File "assembler.py", line 18, in <module> TypeError: module.__init__() argument 1 must be string, not unicode c : fatal: server died with error code 1 Additional info: sshuttle 1.0.2-1 |
This task depends upon
Closed by Toolybird (Toolybird)
Wednesday, 03 May 2023, 03:26 GMT
Reason for closing: Fixed
Additional comments about closing: python2 is long gone so assuming this is no longer an issue.
Wednesday, 03 May 2023, 03:26 GMT
Reason for closing: Fixed
Additional comments about closing: python2 is long gone so assuming this is no longer an issue.
No workaround for older remotes, downgrade to 0.7.x either with venv and pip it or https://aur.archlinux.org/packages/downgrade/
https://github.com/sshuttle/sshuttle/pull/513