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'