Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D doctor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Network Health
  • doctor
  • Issues
  • #13389
Closed
Open
Created Oct 11, 2014 by Tom Ritter@tom

If no authorities votes on a BadExit flag, doctor crashes

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
Assignee
Assign to
Time tracking