crash on QFX import
J. David Beutel
jdb at getsu.com
Sat Dec 9 21:10:34 EST 2006
More debugging info: the OFX download (MS Money instead of Quicken) for
the same period *doesn't* crash. (maybe a good workaround for me) The
diff of the reformatted XML is below (left is crash-inducing QFX, right
is non-crashing OFX).
The MVNT.PAYEE of the crash output comes between the first and second
20061201. It's the DTEND of the BANKTRANLIST of the 3 accounts. The
DTSTART of the OFX is in the same format, as is the DTEND of last
month's QFX. A QFX downloaded again after the OFX for the same period
crashes the same way. I have no idea what the problem could be.
11c11
< 20061209231941.043
---
> 20061210012742.006
18c18
< Metavante CIB
---
> 140
20c20
< 2450
---
> 121301028
22,25d21
< <INTU.BID>
< 2450
< <INTU.USERID>
< xxxx
53c49
< 20061201
---
> 20061201060000.000
323c319
< 20061201
---
> 20061201060000.000
375c371
< 20061201
---
> 20061201060000.000
Cheers,
11011011
"J. David Beutel" <jdb at getsu.com> wrote on 12/09/2006 03:18:42 PM:
> I compiled GnuCash 2.0.1 and libofx-0.8.2 on Fedora Core 3 and started
> using it a few months ago. I was able to import about 12 QFX files that
> I downloaded from my bank at that time, and one each month since. But,
> whenever I try to import this month's QFX, GnuCash quits unexpectedly
> after popping up the Generic import transaction matcher window (before
> drawing anything inside it).
>
> That window can still draw when I start importing last month's (altho I
> cancel that to avoid importing twice). It may be coincidental, but my
> bank just upgraded its web site. However, I've looked at both QFX files
> and can't find any significant difference.
>
> How can I fix or debug this? The 2.0.2 major changes listed on
> gnucash.org don't sound relevant. Are there more detailed release notes
> somewhere? I don't want to update unnecessarily and mess up something,
> because it was difficult for me to compile on FC3. (That could be
> related to my problem, of course.) I found the following fix from the
> mail archive, but the QIF source (Scheme) doesn't look related to QFX (C).
>
> http://bugzilla.gnome.org/show_bug.cgi?id=377519
>
> Cheers,
> 11011011
>
> Output with crash:
> [jdb at samue ~]$ gnucash
> looking for type: got text/plain
> LibOFX INFO: libofx_proc_file(): File format not specified, autodecting...
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: libofx_proc_file(): Detected file format: OFX (Open
> Financial eXchange (OFX or QFX))
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end of line) removed:
> <INTU.BID>2450
>
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end of line) removed:
> <INTU.USERID>xxxx
>
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed:
> <MVNT.PAYEE>STATE OF HAWAII
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed:
> <MVNT.PAYEE>CAPITAL ONE
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed:
> <MVNT.PAYEE>STATE OF HAWAII
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed:
> <MVNT.PAYEE>GEICO AII
> (Above message occured on Line 4294967295, Column 4294967295)
> terminate called after throwing an instance of 'std::out_of_range'
> what(): basic_string::copy
> [jdb at samue ~]$
>
>
> Output without crash:
> [jdb at samue ~]$ gnucash
> looking for type: got text/plain
> LibOFX INFO: libofx_proc_file(): File format not specified, autodecting...
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: libofx_proc_file(): Detected file format: OFX (Open
> Financial eXchange (OFX or QFX))
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end of line) removed:
> <INTU.BID>2450
>
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end of line) removed:
> <INTU.USERID>xxxx
>
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed:
> <MVNT.PAYEE>STATE OF HAWAII
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed:
> <MVNT.PAYEE>CAPITAL1 FUNDING
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed:
> <MVNT.PAYEE>STATE OF HAWAII
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed:
> <MVNT.PAYEE>CAPITAL ONE
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed:
> <MVNT.PAYEE>CAPITAL1 VERIFY
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: sanitize_proprietary_tags() (end tag or new tag) removed:
> <MVNT.PAYEE>CAPITAL1 VERIFY
> (Above message occured on Line 4294967295, Column 4294967295)
> LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate
> SIGNONMSGSRSV1
> (Above message occured on Line 1, Column 11)
> LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate SONRS
> (Above message occured on Line 1, Column 34)
> LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate FI
> (Above message occured on Line 2, Column 1)
> LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate
> BANKMSGSRSV1
> (Above message occured on Line 6, Column 36)
> LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate
> STMTTRNRS
> (Above message occured on Line 6, Column 57)
> LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate
> STMTTRNRS
> (Above message occured on Line 6, Column 6368)
> LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate
> STMTTRNRS
> (Above message occured on Line 6, Column 7284)
> LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate
> CREDITCARDMSGSRSV1
> (Above message occured on Line 6, Column 8806)
> LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate
> CCSTMTTRNRS(Above message occured on Line 6, Column 8833)
> WRITEME: ofx_proc_account() Fill in the account type, default name,
> currency, etc.
> WRITEME: ofx_proc_account() Fill in the account type, default name,
> currency, etc.
> WRITEME: ofx_proc_account() Fill in the account type, default name,
> currency, etc.
> [jdb at samue ~]$
>
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
More information about the gnucash-user
mailing list