[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs