[tor-bugs] #4503 [TorDNSEL/TorBEL]: TorBEL does not catch

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Nov 17 16:48:45 UTC 2011


#4503: TorBEL does not catch
-----------------------------+----------------------------------------------
 Reporter:  aagbsn           |          Owner:     
     Type:  defect           |         Status:  new
 Priority:  normal           |      Milestone:     
Component:  TorDNSEL/TorBEL  |        Version:     
 Keywords:                   |         Parent:     
   Points:                   |   Actualpoints:     
-----------------------------+----------------------------------------------
 {{{
 Traceback (most recent call last):
   File "/home/torbel/tor/TorCtl/TorCtl.py", line 712, in _eventLoop
     self._handleFn(timestamp, reply)
   File "/home/torbel/tor/TorCtl/TorCtl.py", line 1337, in _handle1
     self._map1.get(event.event_name, self.unknown_event)(event)
   File "/home/torbel/tor/torbel/controller.py", line 852, in
 stream_status_event
     self.conn.close_stream(event.strm_id, reason = 7)
   File "/home/torbel/tor/TorCtl/TorCtl.py", line 1196, in close_stream
     %(streamid, reason, "".join(flags)))
   File "/home/torbel/tor/TorCtl/TorCtl.py", line 868, in sendAndRecv
     raise ErrorReply("%s %s"%(tp, msg), status = code, message = msg)
 ErrorReply: 552 Unknown stream "2432"
 }}}

 It looks like we just need to catch the ErrorReply.

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


More information about the tor-bugs mailing list