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 721434 - OFX import broken in release 2.4.14
OFX import broken in release 2.4.14
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Import - OFX
2.4.x
Other Windows
: Normal normal
: ---
Assigned To: gnucash-import-maint
gnucash-import-maint
Depends on:
Blocks:
 
 
Reported: 2014-01-03 21:24 UTC by David Carlson
Modified: 2018-06-29 23:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Trace file after failed OFX import (4.20 KB, text/plain)
2014-01-03 21:24 UTC, David Carlson
Details
Tracce after OFX failure only (4.20 KB, text/plain)
2014-01-05 01:21 UTC, David Carlson
Details
no vestigial reports this time (107 bytes, text/plain)
2014-01-05 01:53 UTC, David Carlson
Details
Debug trace file (120.28 KB, text/plain)
2014-01-05 14:27 UTC, David Carlson
Details

Description David Carlson 2014-01-03 21:24:24 UTC
Created attachment 265259 [details]
Trace file after failed OFX import

OFX import in Windows 7 64 bit.  
The wizard starts and produces the user screen, whee it is possible to manually match incoming transactions to selected accounts.

When I click OK the user screen disappears immediately, leaving the register view with all of the imported transactions, including those previously matched in the register with zero balance amounts in the running balance column.  If I close the program and re-open it, the partially imported transactions disappear.


I will attach the trace file, but it will also include the errors that arise from attempts to run a register report which I will present in a separate bug report.
Comment 1 Jonathan Struebel 2014-01-04 19:01:58 UTC
I am also seeing this bug on Windows 7 64 bit.
The symptoms are the same, however when I view the trace file there are no messages.

I remember seeing a similar bug in previous versions, however the imported transactions with zero balance amounts would disappear by selecting a transaction or opening a different register and returning to the one which had the imported transactions. Now, neither of those methods work to clear the transactions from the register.
Comment 2 David Carlson 2014-01-05 01:21:56 UTC
Created attachment 265349 [details]
Tracce after OFX failure only

This is a new trace file after re-installing 2.4.14 svn r23658 built on 2013-12-31, starting GnuCash with a copy of an old backup file, then cancelling out of the since last run assistant, then importing an ofx file that contained 10 or 12 transactions, of which only 2 were 'new'.  
The OFX window again closed almost instantly, leaving a view of the register showing the roughly a dozen transactions that had 0.00 in the balance column.  The duplicates were each adjacent respectively to the previously accepted transactions.

After that I saved the file upon closing the program.  Then I copied the trace file for your perusal.

When I re-opened the program, the 2 'new' transactions did not appear, and the other duplicates also did not appear. 
To be very clear, this time I did not run any reports or knowingly trigger any other errors.
Comment 3 David Carlson 2014-01-05 01:46:21 UTC
OOPS!  There were two report (error) windows saved in that file from the previous use.  I will close them and try again.
Comment 4 David Carlson 2014-01-05 01:53:01 UTC
Created attachment 265350 [details]
no vestigial reports this time

Newer Tracefile.  this one is a lot shorter.  The same procedure as before but without any vestigial report tabs.
Comment 5 Frank H. Ellenberger 2014-01-05 11:36:17 UTC
(In reply to comment #4)
> Created an attachment (id=265350) [details]
> no vestigial reports this time
> 
> Newer Tracefile.  this one is a lot shorter.  The same procedure as before but
> without any vestigial report tabs.

David, it is too short. Can you play with the log settings? See:
http://wiki.gnucash.org/wiki/Tracefile#Trace_File_Adjustments
http://wiki.gnucash.org/wiki/Logging
http://wiki.gnucash.org/wiki/Setting_up_OFXDirectConnect_in_GnuCash_2#Enabling_the_OFX_Log
http://wiki.gnucash.org/wiki/Aqbanking#Debugging
Comment 6 David Carlson 2014-01-05 14:27:26 UTC
Created attachment 265371 [details]
Debug trace file

To create this tracefile I installed the same build of release 2.4.14 into Windows 7.
Approximate sequence:

Then I closed Gnucash and appended --debug after the program name in the windows shortcut to start GnuCash.
Then I opened Gnucash.  I created a new test file. 

I imported a small OFX file into the credit card account.  I saw the entries with the 0.00 amounts in the balance column.
I closed the program saving the file.

Then I re-opened the program and found no entries in the credit card agccount.  I re-imported the same OFX file.  This time the import window again showed the dozen transactions with the Add box checked and set to default to Imbalance.  I clicked OK but no entries appeared in the credit card ledger.

I closed the program and selected this trace file.
Comment 7 John Ralls 2014-01-08 05:29:25 UTC
r23672. One backport short.
Comment 8 John Ralls 2017-09-24 22:41:16 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 9 John Ralls 2018-06-29 23:23:25 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=721434. Please update any external references or bookmarks.