[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #28393 [Core Tor/Stem]: use_mirrors broken for DescriptorDownloader
#28393: use_mirrors broken for DescriptorDownloader
-------------------------------+--------------------
Reporter: irl | Owner: atagar
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Stem | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------+--------------------
When using the use_mirrors option for DescriptorDownloader, I get this:
{{{
Traceback (most recent call last):
File "bushel.py", line 21, in <module>
for desc in downloader.get_consensus().run():
File "/usr/lib/python3/dist-packages/stem/descriptor/remote.py", line
723, in get_consensus
consensus_query = self.query(resource, **query_args)
File "/usr/lib/python3/dist-packages/stem/descriptor/remote.py", line
811, in query
return Query(resource, **args)
File "/usr/lib/python3/dist-packages/stem/descriptor/remote.py", line
375, in __init__
self.endpoints.append(stem.DirPort(endpoint[0], endpoint[1])) # TODO:
remove this in stem 2.0
File "/usr/lib/python3/dist-packages/stem/__init__.py", line 571, in
__init__
raise ValueError("'%s' isn't a valid port" % port)
ValueError: 'None' isn't a valid port
}}}
This is potentially due to relays that don't have dir ports, but this is
just speculation.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28393>
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