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.

There was a problem

You must be a member of this account.

Crash during CSV import

#128
Application Identifier: com.hardcoded_software.moneyguru
Application Version: 1.7.4

Traceback (most recent call last):
 File "/Applications/moneyGuru.app/Contents/Resources/mg_cocoa.plugin/Contents/Resources/mg_cocoa.py", line 1365, in continueImport
 File "core/gui/csv_options.pyc", line 136, in continue_import
 File "core/document.pyc", line 988, in load_parsed_file_for_import
 File "core/loader/base.pyc", line 205, in load
 File "core/loader/csv.pyc", line 87, in _load
 File "core/loader/base.pyc", line 84, in clean_date
TypeError: expected string or buffer

The user sent me the file that caused the error and I could reproduce the bug. Pressing Continue Import once pops up a message telling that the date column doesn't contain dates, but after that, all values in the column would become empty. Pressing Continue Import again would trigger this error.

Reported by Virgil Dupras · February 1st, 2010 @ 11:00 AM

State: fixed
Milestone: none
Assigned to: Virgil Dupras Virgil Dupras

Activity

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

    February 1st, 2010 @ 11:02 AM

  2. Virgil Dupras
    Virgil Dupras

    This bug is two-fold. The first problem is that moneyGuru can't recognize the date. But the underlying problem is that moneyGuru changes the vales of the CSV lines when it parses the dates. Cells with invalid dates are set to None, which makes the whole file un-importable after having tried to continue import with a wrong date column.

    February 1st, 2010 @ 11:06 AM

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

    (from [156ea7f35ab9]) [#128 Crash during CSV import state:fixed] CSV imports now support dates with very short formats. http://bitbucket.org/hsoft/moneyguru/changeset/156ea7f35ab9/

    February 1st, 2010 @ 11:41 AM

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.