Crash in csv_options.selected_target_index
Reported by Virgil Dupras | January 5th, 2010 @ 11:04 AM | in v1.7.0 (closed)
Application Identifier: com.hardcoded_software.moneyguru
Application Version: 1.6.10
Traceback (most recent call last):
File "/Applications/moneyGuru.app/Contents/Resources/mg_cocoa.plugin/Contents/Resources/mg_cocoa.py", line 1328, in selectedTargetIndex
File "moneyguru/gui/csv_options.pyc", line 219, in selected_target_index
TypeError: 'NoneType' object is not iterable
The line is index, _ = first((i, t) for i, t in
enumerate(self._target_accounts) if t.name == target_name)
.
I have yet to reproduce this, but the only way this can happen I
think is to have a target account set in a layout, delete that
account (or rename it maybe?) and then select that layout
again.
Comments and changes to this ticket
-
Virgil Dupras January 6th, 2010 @ 12:50 PM
- State changed from new to accepted
I could reproduce the bug:
- Have a CSV layout that targets some account.
- Rename the account targeted by the csv layout
- Import a csv.
- Select that layout that targets the renamed account... crash.
-
Virgil Dupras January 6th, 2010 @ 01:13 PM
- Assigned user set to Virgil Dupras
-
Virgil Dupras January 6th, 2010 @ 01:30 PM
- State changed from accepted to fixed
(from [f989303ab456]) [#107 state:fixed] Fixed crash during csv imports when an account targeted by a csv layout had been renamed or removed. http://bitbucket.org/hsoft/moneyguru/changeset/f989303ab456/
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
- 107 Crash in csv_options.selected_target_index (from [f989303ab456]) [#107 state:fixed] Fixed crash duri...