[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #18277 [Stem]: Tor was unable to provide the descriptor for ...
#18277: Tor was unable to provide the descriptor for ...
------------------------+--------------------
Reporter: toralf | Owner: atagar
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Stem | Version:
Severity: Minor | Keywords:
Actual Points: | Parent ID:
Points: | Sponsor:
------------------------+--------------------
The following snippet
{{{
srv = controller.get_server_descriptor()
}}}
fails for a while (one hour or so) if Tor was restartet:
{{{
^Ctfoerste@ms-magpie ~ $ sudo python3 ./info.py
Traceback (most recent call last):
File "/usr/lib64/python3.4/site-packages/stem/control.py", line 1718, in
get_server_descriptor
desc_content = self.get_info(query, get_bytes = True)
File "/usr/lib64/python3.4/site-packages/stem/control.py", line 448, in
wrapped
return func(self, *args, **kwargs)
File "/usr/lib64/python3.4/site-packages/stem/control.py", line 1119, in
get_info
stem.response.convert('GETINFO', response)
File "/usr/lib64/python3.4/site-packages/stem/response/__init__.py",
line 136, in convert
message._parse_message(**kwargs)
File "/usr/lib64/python3.4/site-packages/stem/response/getinfo.py", line
38, in _parse_message
raise stem.InvalidArguments('552', 'GETINFO request contained
unrecognized keywords: %s\n' % ', '.join(unrecognized_keywords),
unrecognized_keywords)
stem.InvalidArguments: GETINFO request contained unrecognized keywords:
desc/id/F1BE15429B3CE696D6807F4D4A58B1BFEC45C822
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./info.py", line 152, in <module>
main()
File "./info.py", line 18, in main
srv = controller.get_server_descriptor()
File "/usr/lib64/python3.4/site-packages/stem/control.py", line 448, in
wrapped
return func(self, *args, **kwargs)
File "/usr/lib64/python3.4/site-packages/stem/control.py", line 1721, in
get_server_descriptor
raise stem.DescriptorUnavailable("Tor was unable to provide the
descriptor for '%s'" % relay)
stem.DescriptorUnavailable: Tor was unable to provide the descriptor for
'F1BE15429B3CE696D6807F4D4A58B1BFEC45C822'
}}}
I do wonder about "GETINFO request contained unrecognized keywords"
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18277>
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