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

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



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