parse error in some OFX files
Vincent Danjean <[email protected]>
| Newsgroups | gmane.comp.finance.libofx.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, My bank allows me to download OXF files of my accounts. With my main account, the import from gnucash works correctly. However, with another account, the import fails. I provide you these information so that you can see if my bank use a wrong format or if libofx should be improved. I am not subscribed to the list. Will free to send me an email if you need more information. Vincent I use gnucash 1.8.4 and libofx 0.6.4 (current packages from debian/sid) Here is the error message from gnucash: 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 BANKMSGSRSV1 LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate STMTTRNRS WRITEME: ofx_proc_account() Fill in the account type, default name, currency, etc. Error: ofx_proc_transaction_cb: WRITEME: Gnucash ofx_proc_transaction():Add PAYEE and ADRESS here once supported by libofx! Error: ofx_proc_transaction_cb: WRITEME: Gnucash ofx_proc_transaction():Add PAYEE and ADRESS here once supported by libofx! Error: ofx_proc_transaction_cb: WRITEME: Gnucash ofx_proc_transaction():Add PAYEE and ADRESS here once supported by libofx! Here is the OXF file: OFXHEADER:100 DATA:OFXSGML VERSION:102 SECURITY:NONE ENCODING:USASCII CHARSET:1252 COMPRESSION:NONE OLDFILEUID:NONE NEWFILEUID:NONE <OFX> <SIGNONMSGSRSV1> <SONRS> <STATUS> <CODE>0 <SEVERITY>INFO </STATUS> <DTSERVER>20030716195232 <LANGUAGE>FRA </SONRS> </SIGNONMSGSRSV1> <BANKMSGSRSV1> <STMTTRNRS> <TRNUID>66059224300 <STATUS> <CODE>0 <SEVERITY>INFO </STATUS> <STMTRS> <CURDEF>EUR <BANKACCTFROM> <BANKID>17806 <BRANCHID>00970 <ACCTID>66059224300 <ACCTTYPE>CHECKING </BANKACCTFROM> <BANKTRANLIST> <DTSTART>20030401000000 <DTEND>20030717235959 <STMTTRN> <TRNTYPE>OTHER <DTPOSTED>20030630 <TRNAMT>+45.73 <FITID>0000000000000 <NAME>Virement Recu <MEMO>Compte Cheque </STMTTRN> <STMTTRN> <TRNTYPE>OTHER <DTPOSTED>20030528 <TRNAMT>+45.73 <FITID>0000000000000 <NAME>Virement Recu <MEMO>Compte Cheque </STMTTRN> <STMTTRN> <TRNTYPE>OTHER <DTPOSTED>20030429 <TRNAMT>+45.73 <FITID>0000000000000 <NAME>Virement Recu <MEMO>Compte Cheque </STMTTRN> </BANKTRANLIST> <LEDGERBAL> <BALAMT>+10760.53 <DTASOF>20030716 </LEDGERBAL> <AVAILBAL> <BALAMT>+10760.53 <DTASOF>20030716 </AVAILBAL> </STMTRS> </STMTTRNRS> </BANKMSGSRSV1> </OFX> ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0