You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to create reports with pretty.py and receiving the following error:
$ python reports/pretty.py --utcdate 2013-05-07
Traceback (most recent call last):
File "reports/pretty.py", line 285, in
too_long)
File "reports/pretty.py", line 214, in make_report
failure_percentage = (float(failure_total)/float(total)) * 100.0
ZeroDivisionError: float division by zero
I know that I have data for today in stacktach:
$ python stacky.py events | wc
16 43 592
$ python stacky.py summary
+---------------------------+---+----------------+----------------+-------------+
| Event | N | Min | Max | Avg |
+---------------------------+---+----------------+----------------+-------------+
| compute.instance.create | 5 | 0d 00:00:23.90 | 0d 00:00:38.85 | 0d 00:00:31 |
| compute.instance.delete | 6 | 0d 00:00:05.13 | 0d 00:00:12.13 | 0d 00:00:08 |
| compute.instance.shutdown | 6 | 0d 00:00:04.74 | 0d 00:00:11.75 | 0d 00:00:08 |
| compute.instance.snapshot | 1 | 0d 00:04:47.87 | 0d 00:04:47.87 | 0d 00:04:47 |
+---------------------------+---+----------------+----------------+-------------+
The text was updated successfully, but these errors were encountered:
Trying to create reports with pretty.py and receiving the following error:
$ python reports/pretty.py --utcdate 2013-05-07
Traceback (most recent call last):
File "reports/pretty.py", line 285, in
too_long)
File "reports/pretty.py", line 214, in make_report
failure_percentage = (float(failure_total)/float(total)) * 100.0
ZeroDivisionError: float division by zero
I know that I have data for today in stacktach:
$ python stacky.py events | wc
16 43 592
$ python stacky.py summary
+---------------------------+---+----------------+----------------+-------------+
| Event | N | Min | Max | Avg |
+---------------------------+---+----------------+----------------+-------------+
| compute.instance.create | 5 | 0d 00:00:23.90 | 0d 00:00:38.85 | 0d 00:00:31 |
| compute.instance.delete | 6 | 0d 00:00:05.13 | 0d 00:00:12.13 | 0d 00:00:08 |
| compute.instance.shutdown | 6 | 0d 00:00:04.74 | 0d 00:00:11.75 | 0d 00:00:08 |
| compute.instance.snapshot | 1 | 0d 00:04:47.87 | 0d 00:04:47.87 | 0d 00:04:47 |
+---------------------------+---+----------------+----------------+-------------+
The text was updated successfully, but these errors were encountered: