#326 ✓fixed
Virgil Dupras

Crash in currency rates plugin

Reported by Virgil Dupras | April 10th, 2012 @ 04:46 PM

If you have a transaction with a zero amount in a document and try to open the Currency rates plugin tab, you get a crash:

Application Identifier: com.hardcoded-software.moneyguru
Application Version: 2.5.2
Mac OS X Version: 10.7.3

Traceback (most recent call last):
  File "/Applications/moneyGuru.app/Contents/Resources/mg_cocoa.py", line 979, in openSelectedPlugin
  File "core/gui/empty_view.pyc", line 31, in open_selected_plugin
  File "core/gui/main_window.pyc", line 446, in set_current_pane_with_plugin
  File "core/gui/main_window.pyc", line 266, in _set_current_pane
  File "core/gui/main_window.pyc", line 129, in _change_current_pane
  File "core/gui/base.pyc", line 251, in show
  File "core/gui/base.pyc", line 131, in show
  File "core/plugin.pyc", line 48, in _revalidate
  File "core/gui/table.pyc", line 42, in refresh_and_show_selection
  File "hscommon/gui/table.pyc", line 216, in refresh
  File "core/plugin.pyc", line 35, in _fill
  File "/Users/hsoft/Library/Application Support/moneyGuru/moneyguru_plugins/currency_rates.py", line 34, in fill_table
  File "/Users/hsoft/Library/Application Support/moneyGuru/moneyguru_plugins/currency_rates.py", line 34, in <setcomp>
AttributeError: 'int' object has no attribute 'currency'

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket