[tor-bugs] #16348 [Tor]: raise stem.InvalidArguments('552', 'GETINFO request contained unrecognized keywords:
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jun 10 21:32:43 UTC 2015
#16348: raise stem.InvalidArguments('552', 'GETINFO request contained unrecognized
keywords:
------------------------+------------------------------
Reporter: toralf | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor | Version: Tor: unspecified
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
------------------------+------------------------------
Changes (by atagar):
* component: Stem => Tor
Comment:
Hi toralf, reassigning this to the Tor component. Tor is emitting an
ORCONN event before it's able to provide the descriptor via a GETINFO
request. Think this is normal, though certainly weird and possibly an
issue with tor (why can tor emit these for things it itself doesn't have
descriptor information for?).
By the way, you have a conditional that checks if 'relay' exists or not.
Assuming you simply want to skip the print if there's no descriptor
information available all you gotta do is provide a default...
{{{
relay = controller.get_network_status(fingerprint, None)
if relay:
print (" %15s %5i %s %s" % (relay.address, relay.or_port,
controller.get_info("ip-to-country/%s" % relay.address, 'unknown'),
relay.nickname), end='')
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16348#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list