[tor-bugs] #28494 [Core Tor/Stem]: Please provide an equivalent for UnparseableDescriptor from metrics-lib

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 27 21:05:56 UTC 2018


#28494: Please provide an equivalent for UnparseableDescriptor from metrics-lib
---------------------------+------------------------
 Reporter:  irl            |          Owner:  atagar
     Type:  enhancement    |         Status:  new
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------

Comment (by atagar):

 Great! Glad to hear you're not using the DescriptorReader.

 If you're using parse_file() then I'm unsure if there's anything to do
 with this. If you include 'validate = True' invalid content will raise
 ValueErrors, and if not it should pretty much always return a Descriptor
 object. TypeErrors only arise when unable to determine the descriptor type
 (which is caller error).

 Am I missing anything or can this be closed?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28494#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list