GNOME Bugzilla – Bug 157673
OFX import fails with libofx 0.7.0
Last modified: 2018-06-29 20:48:03 UTC
Upgrade to libofx 0.7.0 and gnucash 1.8.9. On OFX import the following error is reported: LibOFX ERROR: ofx_proc_file():No input file specified (Above message occured on Line 4294967295, Column 4294967295) Downgrading to gcc 3.3, libofx 0.6.6 solves the problem.
The user experience, BTW, is that the import dialog appears, but is entirely empty of transactions.
Err... the support for libofx-0.7.0 has been added to gnucash in October'04, which means that gnucash-1.8.9 doesn't support libofx-0.7 but only libofx-0.6.x. This should change once gnucash-1.8.10 is out, which is expected for this weekend. There is an inofficial pre-release available on http://www.tu-harburg.de/~et2cs/en/gnucash-1.8.10pre1.tar.gz -- could you try whether this version works with libofx-0.7? It should. The gnucash-1.8.9 code unfortunately can't deal with libofx-0.7 because gnucash-1.8.9 was released much earlier than libofx-0.7.
I think the real problem is that libofx-0.7 didn't change the SOname of the library but did change the API in a non backwards-compatible way. Can libofx-0.6.x and libofx-0.7 co-exist?
Well, that's not it, while libofx did indeed change to the libtool convention between libofx 0.6.6 and 0.7.0, libofx 0.6.6 is libofx.so.0.0.6 and libofx 0.7 is libofx.so.1.0.0 The problem is that prior to the upcoming gnucash 1.8.10, there was no detection in gnucash of the libofx version. Unfortunately, and purely by coincidence, while libofx 0.7.0 is neither source nor binary compatible with it's predecessor, because of the way callbacks used to be implemented, gnucash will actually compile (but not run against it) against it. This has all been fixed in 1.8.10 by Christian Stimmings, but unfortunately there is nothing we can do for earlier versions.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=157673. Please update any external references or bookmarks.