ZeroDivisionError on amount parsing
Reported by Virgil Dupras | February 10th, 2011 @ 11:24 AM
Application Identifier: com.hardcoded_software.moneyguru
Application Version: 2.3.3
Traceback (most recent call last):
File "hscommon/cocoa/inter.pyc", line 140, in setValue_forColumn_row_
File "hsgui/table.pyc", line 333, in set_cell_value
File "core/gui/transaction_table.pyc", line 225, in amount
File "core/app.pyc", line 123, in parse_amount
File "core/model/amount.pyc", line 101, in parse_amount
File "<string>", line 1, in <module>
ZeroDivisionError: int division or modulo by zero
To reproduce, simply enter something like "42/0" in an amount field.
Comments and changes to this ticket
-
Virgil Dupras March 22nd, 2011 @ 09:38 AM
- State changed from accepted to fixed
(from [3ead1b84ba5b]) [#229 state:fixed] Fix crash on zero division expression in amount. https://bitbucket.org/hsoft/moneyguru/changeset/3ead1b84ba5b/
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Tags
Referenced by
- 229 ZeroDivisionError on amount parsing (from [3ead1b84ba5b]) [#229 state:fixed] Fix crash on zer...