Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Crash in csv_options.selected_target_index

#107
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.

Reported by Virgil Dupras · January 5th, 2010 @ 11:04 AM

State: fixed
Milestone: v1.7.0
Assigned to: Virgil Dupras Virgil Dupras

Activity

  1. Virgil Dupras
    Virgil Dupras
    • State changed from new to accepted

    I could reproduce the bug:

    1. Have a CSV layout that targets some account.
    2. Rename the account targeted by the csv layout
    3. Import a csv.
    4. Select that layout that targets the renamed account... crash.

    January 6th, 2010 @ 12:50 PM

  2. Virgil Dupras
    Virgil Dupras
    • Assigned user set to Virgil Dupras

    January 6th, 2010 @ 01:13 PM

  3. Virgil Dupras
    Virgil Dupras
    • State changed from accepted to fixed

    (from [f989303ab456]) [#107 Crash in csv_options.selected_target_index 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/

    January 6th, 2010 @ 01:30 PM

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.