battery throws a DivideByZero error when you enter a wrong accomplishment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Accomplishments Battery |
Fix Committed
|
Medium
|
Jono Bacon |
Bug Description
When you misenter an accomplishment, the battery fails as follows:
mfisch@
Getting Accomplishment Data...
['/home/
----- RESULTS -----
Total Scripts: 0
Total Scripts Run: 0 (0 scripts exempted)
Traceback (most recent call last):
File "/usr/bin/
accomplishm
File "/usr/lib/
batt.
File "/usr/lib/
self.
File "/usr/lib/
totalcoverage = 100 * (float(
ZeroDivisionError: float division by zero
I think an error message would be more appropriate.
Changed in ubuntu-accomplishments-battery: | |
importance: | Undecided → Medium |
Changed in ubuntu-accomplishments-battery: | |
assignee: | nobody → Jono Bacon (jonobacon) |
status: | New → Fix Committed |