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

ZeroDivisionError on amount parsing #229

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

ZeroDivisionError on amount parsing #229

hsoft opened this issue Jun 22, 2013 · 1 comment
Labels
bug

Comments

@hsoft
Copy link
Owner

@hsoft 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
Copy link
Owner Author

@hsoft 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant