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.

parse_amount crash on import

#220
Application Identifier: com.hardcoded_software.moneyguru
Application Version: 2.3.4

Traceback (most recent call last):
 File "core/model/amount.pyc", line 106, in parse_amount
ValueError: could not convert string to float: Carlisle

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/Applications/moneyGuru.app/Contents/Resources/mg_cocoa.plugin/Contents/Resources/mg_cocoa.py", line 1291, in continueImport
 File "core/gui/csv_options.pyc", line 135, in continue_import
 File "core/document.pyc", line 742, in load_parsed_file_for_import
 File "core/loader/base.pyc", line 273, in load
 File "core/loader/base.pyc", line 191, in parse_amount
 File "core/model/amount.pyc", line 111, in parse_amount
ValueError: 'Carlisle' is not an amount

How the heck was this value not detected as a non-amount before continue_import()?

Reported by Virgil Dupras · January 13th, 2011 @ 10:15 AM

State: fixed
Milestone: none
Assigned to: nobody

Activity

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

    Ok, now I'm confused. To reproduce the error, one must simple import a CSV and choose a non-amount column for the "Amount" column. I was sure that the csv options dialog took care of verifying that the Amount column actually contained amounts. Strange...

    February 3rd, 2011 @ 01:00 PM

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

    (from [af735a68f4b4]) [#220 parse_amount crash on import state:fixed] Don't crash when selecting a non-amount column in a CSV. https://bitbucket.org/hsoft/moneyguru/changeset/af735a68f4b4/

    February 5th, 2011 @ 11:43 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.