[tor-bugs] #8005 [Stem]: stem parse_file errors when using descriptor_type='server-descriptor 1.0'

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jan 19 15:44:25 UTC 2013


#8005: stem parse_file errors when using descriptor_type='server-descriptor 1.0'
-------------------------+--------------------------------------------------
 Reporter:  cypherpunks  |          Owner:  atagar
     Type:  defect       |         Status:  new   
 Priority:  normal       |      Milestone:        
Component:  Stem         |        Version:        
 Keywords:               |         Parent:        
   Points:               |   Actualpoints:        
-------------------------+--------------------------------------------------
 On a call like
   "stem.descriptor.parse_file(f,'server-descriptor 1.0')"
 the new parse_file() fails with an error like
   "ValueError: Line contains invalid characters: @downloaded-at 2012-09-17
 17:44:50"
 or
   "ValueError: Line contains invalid characters: @type server-descriptor
 1.0"
 when it encounters annotations in a descriptor file, and it fails with an
 error like
   "ValueError: The 'router' entry can only appear once in a descriptor"
 when there are no annotations but multiple router entries.

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


More information about the tor-bugs mailing list