#263 ✓fixed
Virgil Dupras

Crash on import

Reported by Virgil Dupras | June 1st, 2011 @ 03:00 PM

From GS

I tried to import my latest credit card and rather than seeing the transaction as usual I had an empty screen. Then I decided to swap the description/payee as I have to do it and got the following crash

Application Name: moneyGuru 
Version: 2.3.7 

Traceback (most recent call last):
File "/usr/local/share/moneyguru/qt/controller/import_/window.py", line 59, in swapClicked
self.model.perform_swap(applyToAll)
File "/usr/local/share/moneyguru/core/gui/import_window.py", line 234, in perform_swap
self._swap_description_payee(apply_to_all=apply_to_all)
File "/usr/local/share/moneyguru/core/gui/import_window.py", line 177, in _swap_description_payee
self._swap_fields(panes, switch_func)
File "/usr/local/share/moneyguru/core/gui/import_window.py", line 180, in _swap_fields
entries = flatten(p.account.entries for p in panes)
File "/usr/local/share/moneyguru/hscommon/util.py", line 60, in flatten
for iterable in iterables:
File "/usr/local/share/moneyguru/core/gui/import_window.py", line 180, in 
entries = flatten(p.account.entries for p in panes)
AttributeError: 'NoneType' object has no attribute 'account'

and when I selected the account I got this

Application Name: moneyGuru 
Version: 2.3.7 

Traceback (most recent call last):
File "/usr/local/share/moneyguru/qt/controller/import_/window.py", line 70, in targetAccountChanged
self.model.selected_target_account_index = index
File "/usr/local/share/moneyguru/core/gui/import_window.py", line 286, in selected_target_account_index
self.selected_pane.selected_target = target
AttributeError: 'NoneType' object has no attribute 'selected_target'

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

Tags

Referenced by

Pages