[tor-bugs] #13904 [Stem]: unit tests do hang
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Dec 6 22:15:12 UTC 2014
#13904: unit tests do hang
------------------------+----------------------
Reporter: toralf | Owner: atagar
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: Stem | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
------------------------+----------------------
Comment (by toralf):
Replying to [comment:3 atagar]:
> Interesting! This is indicating that a recent-ish change to use the
socket module to validate ip addresses is failing on your system for some
reason. What happens if you open a python interpretor and do the
following?
>
> {{{
> >>> import socket
>
> >>> socket.inet_pton(socket.AF_INET6, '1::1')
> '\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01'
> }}}
{{{
tfoerste at tor-relay ~ $ python2
Python 2.7.7 (default, Oct 25 2014, 11:03:42)
[GCC 4.8.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.inet_pton(socket.AF_INET6, '1::1')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
socket.error: can't use AF_INET6, IPv6 is disabled
>>> quit
Use quit() or Ctrl-D (i.e. EOF) to exit
>>>
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13904#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list