zvyn / python-progressbar

Automatically exported from code.google.com/p/python-progressbar
Other
0 stars 0 forks source link

division by zero error #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. pbar.update(0) 
2.
3.

What is the expected output? What do you see instead?

exception at least... because i couldn't understand what goes on

What version of the product are you using? On what operating system?

freebsd8

Please provide any additional information below.

Well I think exceptions is a must to inform user about his mistake.. this is 
quite common error I belive... 
maybe it's lame to say so but.. this will save like 2 minutes for debugging :)

Original issue reported on code.google.com by ro...@travelbird.nl on 16 Mar 2012 at 2:50

GoogleCodeExporter commented 9 years ago
Currently it throws a:
ValueError: Value out of range

I think that's enough. If you have other suggestions please reopen the bug.

Original comment by nilton.v...@gmail.com on 5 Sep 2012 at 1:14