GNOME Bugzilla – Bug 103075
OFX import crashes gnucash
Last modified: 2018-06-29 20:25:07 UTC
I was extremely happy to see that you had implemented OFX file handling. So, with much enthusiasm, I downloaded OFX files from Vanguard--both the Quicken version (OfxDownload.qfx) and the Money version (OfxDownload.ofx). Both versions caused a segmentation violation when I ran the File->Import->Import OFX/QFX command. Just before Gnucash crashed, a blank "Generic import transaction matcher" dialog appeared. Would you suggest that in general I should prefer one format over the other? I've attached the stderr output. Is there enough information here, or will I have to doctor the OFX file and attach it? Ideally, a developer has a Vanguard account and can perform his own download. I'm using Debian version 1.7.6+cvs.2002.12.31-1. Thanks again for a great program! Debug: gnc_file_ofx_import: gnc_file_ofx_import(): Begin... Debug: gnc_file_ofx_import: Filename found: /tmp/OfxDownload.ofx Debug: gnc_file_ofx_import: Opening selected file LibOFX ERROR: OpenSP parser: otherError (misc parse error) Error msg: /usr/share/libofx/dtd/ofx160.dtd:3058:5:E: content model is ambiguous: when no tokens have been matched, both the 1st and 3rd occurrences of "SIGNONMSGSET" are possible LibOFX ERROR: OpenSP parser: otherError (misc parse error) Error msg: /usr/share/libofx/dtd/ofx160.dtd:3058:5:E: content model is ambiguous: when no tokens have been matched, both the 2nd and 4th occurrences of "PROFMSGSET" are possible LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate OFX LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate SIGNONMSGSRSV1 LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate SONRS LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate FI LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate INVSTMTMSGSRSV1 LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate INVSTMTTRNRS LibOFX ERROR: WRITEME: DTASOF (20030110) is not supported by the STATEMENT container LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate INVTRANLIST LibOFX ERROR: WRITEME: SUBACCTSEC (CASH) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTFUND (OTHER) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: BUYTYPE (BUY) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTSEC (CASH) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTFUND (OTHER) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: BUYTYPE (BUY) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTSEC (CASH) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTFUND (OTHER) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: BUYTYPE (BUY) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: INCOMETYPE (DIV) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTSEC (CASH) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: INCOMETYPE (DIV) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTSEC (CASH) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: INCOMETYPE (DIV) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTSEC (CASH) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTSEC (CASH) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTFUND (OTHER) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SELLTYPE (SELL) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTSEC (CASH) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTFUND (OTHER) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SELLTYPE (SELL) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTSEC (CASH) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTFUND (OTHER) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SELLTYPE (SELL) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTSEC (CASH) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTFUND (OTHER) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SELLTYPE (SELL) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTSEC (CASH) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SUBACCTFUND (OTHER) is not supported by the INVESTMENT container LibOFX ERROR: WRITEME: SELLTYPE (SELL) is not supported by the INVESTMENT container LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate INVPOSLIST LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate POSMF LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate INVPOS LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate INVBAL LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate SECLISTMSGSRSV1 LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate SECLIST LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate MFINFO LibOFX ERROR: WRITEME: FIID (0030) is not supported by the SECURITY container Debug: gnc_import_select_commodit...(): Default fullname received: Vanguard Prime Money Market Fund Debug: gnc_import_select_commodit...(): Default mnemonic received: VMMXX Debug: gnc_import_select_commodit...(): Looking for commodity with exchange_code: 922906201 Debug: gnc_import_select_commodit...(): Looking at namespace EUREX Debug: gnc_import_select_commodit...(): Looking at namespace NYSE Debug: gnc_import_select_commodit...(): Looking at commodity American Europacific I'm using Debian version 1.7.6+cvs.2002.12.31-1.
Still crashes in 2003-01-13 CVS snapshot.
James Treacy has patched Gnucash in the Debian Gnucash 1.8.3 package and I have confirmed that his patch has fixed the problem. He reported that he has applied the patch into CVS. Thanks James!
Now fixed in both HEAD and 1.8 branch by my patch for debian bug #187061
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=103075. Please update any external references or bookmarks.