FS#47221 - [sshuttle] Python errors

Attached to Project: Community Packages
Opened by Jens (hcjl) - Monday, 30 November 2015, 13:48 GMT
Last edited by Felix Yan (felixonmars) - Thursday, 10 December 2015, 10:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
With the latest version 0.73-1 I receive some python error messages. With version 0.72-1 everything works.

See whole terminal output:

[user@host:~]$ sshuttle -r user@sshhost.net:22 0/0 -x 192.168.1.0/24
Traceback (most recent call last):
File "/usr/bin/sshuttle", line 9, in <module>
load_entry_point('sshuttle==0.73', 'console_scripts', 'sshuttle')()
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2721, in load_entry_point
return ep.load()
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2377, in load
return self.resolve()
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2383, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3.5/site-packages/sshuttle/__main__.py", line 212, in <module>
opt.syslog, opt.daemon, opt.pidfile)
File "/usr/lib/python3.5/site-packages/sshuttle/client.py", line 502, in main
debug1('Starting sshuttle proxy.\n')
File "/usr/lib/python3.5/site-packages/sshuttle/helpers.py", line 21, in debug1
if verbose >= 1:
TypeError: unorderable types: NoneType() >= int()


Additional info:
shuttle version 0.73-1


Steps to reproduce:
- update to sshuttle version 0.73-1
- use sshuttle
This task depends upon

Closed by  Felix Yan (felixonmars)
Thursday, 10 December 2015, 10:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  sshuttle-0.73.20151209-1
Comment by Éric (twiked) - Thursday, 10 December 2015, 10:33 GMT
It's due to a bug in option parsing, and have been fixed since :

https://github.com/sshuttle/sshuttle/commit/6dfbc467c0e0a6585a123d7426afbc5431abc6b5

As a workaround you can specify the -v (verbose) flag.

Loading...