[tor-bugs] #8005 [Stem]: stem parse_file errors when using descriptor_type='server-descriptor 1.0'
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Sun Jan 20 00:17:05 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:        
-------------------------+--------------------------------------------------
Comment(by atagar):
 > "ValueError: Line contains invalid characters: @type server-descriptor
 1.0"
 Oops! Sorry about that. Added a test to repro the issue and fixed...
 https://gitweb.torproject.org/stem.git/commitdiff/3d3e69417975499fbe5d2a3eb591d808c6800874
 > "ValueError: Line contains invalid characters: @downloaded-at 2012-09-17
 17:44:50"
 Hmmm, I'm not entirely sure about that one. Please attach a file that's
 causing this and the call you're using.
 > "ValueError: The 'router' entry can only appear once in a descriptor"
 When I get the descriptor_type argument I'm treating it like a metrics
 archive. Maybe I should just drop the 'there's only one descriptor' check
 entirely. Please attach a small descriptor file that exemplifies this
 issue for me to use in the tests.
 Cheers! -Damian
-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8005#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list