After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572107 - OFX import crashes (Windows)
OFX import crashes (Windows)
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Import - OFX
2.2.x
Other Windows
: Normal critical
: ---
Assigned To: Andreas Köhler
Benoit Grégoire
Depends on:
Blocks: backport
 
 
Reported: 2009-02-17 04:17 UTC by Patrick
Modified: 2018-06-29 22:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
OFX file which is crashing (760 bytes, text/plain)
2009-02-17 04:19 UTC, Patrick
Details

Description Patrick 2009-02-17 04:17:40 UTC
Steps to reproduce:
Steps to reproduce:
1. On Windows Gnucash 2.2.8, create a new empty account system
2. Do File>Import>OFX of an OFX file containing the below:

You get an immediate crash.

Thanks,
Patrick


Stack trace:


Other information:
OFXHEADER:100
DATA: OFXSGML
VERSION:102
SECURITY: NONE
ENCODING: ISO-8859-1
CHARSET:1252
COMPRESSION: NONE
OLDFILEUID: NONE
NEWFILEUID: NONE

<OFX>
<SIGNONMSGSRSV2>
<SONRS>
<STATUS><CODE>0<SEVERITY>INFO</STATUS>
<DTSERVER>20030421
<LANGUAGE>GER
<COUNTRY>GER
</SONRS>
</SIGNONMSGSRSV2>
<BANKMSGSRSV2>
<STMTTRNRS>
<TRNUID>20090215211215811
<STATUS><CODE>0<SEVERITY>INFO</STATUS>
<STMTRS>
<CURDEF>EUR
<BANKACCTFROM>
<BANKID>50050201
<ACCTID>1252000000
<ACCTTYPE2>checking
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>19700101
<DTEND>20030421
<STMTTRN>
<TRNTYPE>CREDIT
<DTPOSTED>20081230
<DTUSER>20081230
<TRNAMT>0.23
<FITID>2008-12-30 23:57:49.108476
<NAME>(0000000000/50050201): **Endsaldo**  
</STMTTRN>
</BANKTRANLIST>
</STMTRS>
</STMTTRNRS>
</BANKMSGSRSV2>
</OFX>
Comment 1 Patrick 2009-02-17 04:19:21 UTC
Created attachment 128885 [details]
OFX file which is crashing
Comment 2 Andreas Köhler 2009-02-25 21:08:23 UTC
Seems to happen with GnuCash 2.2.9 as well.
Comment 3 Andreas Köhler 2009-02-26 22:17:22 UTC
Ok, the crash is fixed by r17965 on trunk. Requesting for a backport.

Patrick, thanks a lot for your report! I have always thought that OFX would be real XML data, so you might have better luck if you manually close the elements your forgot.  I actually have not tried that.  As written above, the crash should (probably) be fixed when GnuCash 2.2.10 or 2.3.x comes out.
Comment 4 Andreas Köhler 2009-02-26 22:18:14 UTC
(In reply to comment #3)
> your forgot
     ^^^ bank
Comment 5 Patrick 2009-03-02 00:08:35 UTC
Hi Andreas, until 2.2.10 comes out is there a way for me to manually fix the file from my bank?

Thanks,
Patrick
Comment 6 Phil Longstaff 2009-05-01 12:19:53 UTC
Since there will be no 2.2.10, I'm going to resolve this with target milestone 2.3.0.
Comment 7 John Ralls 2018-06-29 22:18:20 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=572107. Please update any external references or bookmarks.