Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #10522

Closed
Open
Opened Dec 29, 2013 by Damian Johnson@atagar

Client usage tutorial incompatable with some SocksiPy versions

Our client usage tutorial (To Russia With Love) is reportedly incompatible with certain SocksiPy versions.

The tutorial works with the standard SocksiPy Version 1.4.2 as well as Version 1.0 but not version 1.01...

Socks5:

[...]
  File "/usr/lib64/python2.7/site-packages/socks.py", line 163, in sendall
    if 'encode' in dir(bytes):
RuntimeError: maximum recursion depth exceeded while calling a Python object

Socks4:

[...]
  File "/usr/lib64/python2.7/site-packages/socks.py", line 399, in connect
    self.__negotiatesocks4(destpair[0],destpair[1])
  File "/usr/lib64/python2.7/site-packages/socks.py", line 313, in __negotiatesocks4
    req = "\x04\x01" + struct.pack(">H",destport).decode() + ipaddr
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbb in position 1: ordinal not in range(128)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#10522