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

[tor-bugs] #24219 [Core Tor/Torflow]: Avoid aggregate.py error when no nodes are measured



#24219: Avoid aggregate.py error when no nodes are measured
----------------------------------+-----------------
     Reporter:  teor              |      Owner:  tom
         Type:  defect            |     Status:  new
     Priority:  Medium            |  Milestone:
    Component:  Core Tor/Torflow  |    Version:
     Severity:  Normal            |   Keywords:
Actual Points:                    |  Parent ID:
       Points:                    |   Reviewer:
      Sponsor:                    |
----------------------------------+-----------------
 If the scanner cron runs early, errors like this can happen:
 {{{
 Traceback (most recent call last):
   File "/Users/bwauth/torflow/NetworkScanners/BwAuthority/aggregate.py",
 line 894, in <module>
     main(sys.argv)
   File "/Users/bwauth/torflow/NetworkScanners/BwAuthority/aggregate.py",
 line 798, in main
     nodes.itervalues())))
 ValueError: min() arg is an empty sequence
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24219>
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