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

ZeroDivisionError on amount parsing #229

Closed
hsoft opened this Issue Jun 22, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@hsoft
Owner

hsoft commented Jun 22, 2013

@@@
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 "", line 1, in
ZeroDivisionError: int division or modulo by zero
@@@

To reproduce, simply enter something like "42/0" in an amount field.

@hsoft hsoft closed this Jun 22, 2013

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

(from [3ead1b84ba5b]) [#229 state:fixed] Fix crash on zero division expression in amount.
https://bitbucket.org/hsoft/moneyguru/changeset/3ead1b84ba5b/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment