sshuttle dies with a SyntaxError when connecting to older servers

Bug #1579730 reported by Malte S. Stretz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sshuttle (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I upgraded from wily to xenial a few days ago and now sshuttle is broken:

sshuttle -r example.net 10.49.0.0/16
[local sudo] Password:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "assembler.py", line 22, in <module>
  File "sshuttle.helpers", line 73
    except socket.error as e:
                         ^
SyntaxError: invalid syntax
client: fatal: server died with error code 1

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: sshuttle 0.76-1
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Mon May 9 13:42:13 2016
InstallationDate: Installed on 2016-01-03 (126 days ago)
InstallationMedia: Kubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitecture: all
SourcePackage: sshuttle
UpgradeStatus: Upgraded to xenial on 2016-05-07 (1 days ago)

Revision history for this message
Malte S. Stretz (mss) wrote :
Revision history for this message
Malte S. Stretz (mss) wrote :

The current version of sshuttle is 0.78, maybe it is fixed there:
  https://pypi.python.org/pypi/sshuttle

Revision history for this message
Malte S. Stretz (mss) wrote :
Revision history for this message
Malte S. Stretz (mss) wrote :

The sshuttle version from yakkety (0.78.0-1) works. The server I try to connect to is rather old so this is probably "Make server parts work with old versions of Python. Fixes #81."

Changed in sshuttle (Ubuntu):
status: New → Fix Released
summary: - sshuttle dies with a SyntaxError
+ sshuttle dies with a SyntaxError when connecting to older servers
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.