[kmymoney] [Bug 491963] New: LibOFX fails to find opensp.dcl and ofx160.dtd in snap image

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Aug 21 03:15:30 BST 2024


https://bugs.kde.org/show_bug.cgi?id=491963

            Bug ID: 491963
           Summary: LibOFX fails to find opensp.dcl and ofx160.dtd in snap
                    image
    Classification: Applications
           Product: kmymoney
           Version: 5.1.3
          Platform: Snap
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: importer
          Assignee: kmymoney-devel at kde.org
          Reporter: dburgess.junk at gmail.com
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
The snap is reporting missing DTD files.   I performed a manual check and found
them in /snap/kmymoney/2//usr/share/libofx7/libofx.   It looks like this
problem also occurred for appimages, and was fixed in [Bug ID
416827](https://bugs.kde.org/show_bug.cgi?id=416827).  I'm guessing that the
bug fix needs to be extended to include snaps.

STEPS TO REPRODUCE
1. Start the snap and import an OFX file
2. 
3. 

OBSERVED RESULT
LibOFX INFO: libofx_proc_file(): File format not specified, autodetecting...
LibOFX INFO: libofx_proc_file(): Detected file format: OFX (Open Financial
eXchange (OFX or QFX))
LibOFX INFO: sanitize_proprietary_tags() removed: <INTU.BID>7492</INTU.BID>
LibOFX ERROR: find_dtd():Unable to find the DTD named opensp.dcl
LibOFX ERROR: find_dtd():Unable to find the DTD named ofx160.dtd
LibOFX ERROR: ofx_proc_file(): FATAL: Missing DTD, aborting

EXPECTED RESULT
File is imported without problems

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list