Problem with OFX imports with kmymoney-5.0.1-3.fc28.x86_64 and libofx-0.9.10-6.fc28.x86_64

Barry Scott barry at barrys-emacs.org
Mon Jun 18 18:02:44 UTC 2018


I updated Fedora from 27 to 28 and the packaged KMyMoney has a number of 
issues.

1) The XML for <ONLINEBANKING/> changed in a way that stops importing.

This I fixed by editing the XML to change the provider attr to the new name.

Why isn't the provider name from the earlier KMyMoney still supported
at least for backward compatibility?

2) Imports get lots of errors like the following:

Here is an example of the <ONLINEBANKING>

   <ONLINEBANKING kmmofx-acc-ref="111111-111111  11111111111111"
         uniqueId="111111  11111111111111"
         bankid="111111"
         kmmofx-headerVersion="102"
         provider="ofximporter"
         url="http://localhost/bank.wsgi"
         accountid="11111111111111"
         username="u"
         org="Barclays"
         protocol="OFX"
         fid="fid"
         fipid=""
         appId="Money:1600"/>

LibOFX INFO: libofx_proc_file(): File format not specified, autodetecting...
(Above message occured on Line 18446744073709551615, Column 
18446744073709551615)
LibOFX INFO: libofx_proc_file(): Detected file format: OFX (Open Financial 
eXchange (OFX or QFX))
(Above message occured on Line 18446744073709551615, Column 
18446744073709551615)
LibOFX STATUS: find_dtd():DTD found: /usr/share/libofx/dtd/opensp.dcl
(Above message occured on Line 18446744073709551615, Column 
18446744073709551615)
LibOFX STATUS: find_dtd():DTD found: /usr/share/libofx/dtd/ofx160.dtd
(Above message occured on Line 18446744073709551615, Column 
18446744073709551615)
LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate 
SIGNONMSGSRSV1
(Above message occured on Line 2, Column 3)
LibOFX INFO: Created OfxDummyContainer to hold unsupported aggregate SONRS
(Above message occured on Line 3, Column 5)
LibOFX ERROR: OpenSP parser: otherError (misc parse error):
/home/barry/tmpdir/libofxtmpTEVcvG:4:15:E: document type does not allow 
element "LANGUAGE" here

Why is it auto detecting surely its specified by the fact this is an OFX 
import?

Why is it using the OpenSP DTD and not the OFX DTD?

That means autodect did not work at a minimum.

Barry





More information about the KMyMoney mailing list