[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #10522 [Stem]: Client usage tutorial incompatable with some SocksiPy versions



#10522: Client usage tutorial incompatable with some SocksiPy versions
-------------------------+------------------------
 Reporter:  atagar       |          Owner:  atagar
     Type:  enhancement  |         Status:  new
 Priority:  minor        |      Milestone:
Component:  Stem         |        Version:
 Keywords:  website      |  Actual Points:
Parent ID:               |         Points:
-------------------------+------------------------
 Our client usage tutorial
 ([https://stem.torproject.org/tutorials/to_russia_with_love.html 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 [https://pypi.python.org/pypi/SocksiPy-
 branch/1.01 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)
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10522>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs