Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue creating report with pretty.py #88

Open
swat30 opened this issue May 7, 2013 · 0 comments
Open

Issue creating report with pretty.py #88

swat30 opened this issue May 7, 2013 · 0 comments

Comments

@swat30
Copy link
Contributor

swat30 commented May 7, 2013

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 |
+---------------------------+---+----------------+----------------+-------------+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant