[tor-bugs] #13389 [DocTor]: If no authorities votes on a BadExit flag, doctor crashes

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Oct 11 21:35:09 UTC 2014


#13389: If no authorities votes on a BadExit flag, doctor crashes
--------------------+------------------------
 Reporter:  tom     |          Owner:  atagar
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:
Component:  DocTor  |        Version:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+------------------------
 Parse consensuses without any BadExit votes.  Doctor crashes with the
 following error

 {{{
 Traceback (most recent call last):
   File "./consensus_health_checker.py", line 744, in <module>
     main()
   File "./consensus_health_checker.py", line 243, in main
     issues += run_checks(consensuses, votes)
   File "./consensus_health_checker.py", line 325, in run_checks
     issues = checker(latest_consensus, consensuses, votes)
   File "./consensus_health_checker.py", line 649, in bad_exits_in_sync
     agreed_bad_exits = set.intersection(*bad_exits.values())
 TypeError: descriptor 'intersection' of 'set' object needs an argument
 }}}

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


More information about the tor-bugs mailing list