Bug 406258

Summary: Cannot save file in MacOS
Product: [Applications] kmymoney Reporter: Andrew Ho <andrewho>
Component: fileAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrew Ho 2019-04-05 16:06:35 UTC
SUMMARY

The application is kmymoney-master-398-macos-64-clang.dmg

STEPS TO REPRODUCE
When I launch kmymoney from the terminal, I find the libraries dependency problem.

After I setup the account, and save as "XXX.kmy" or "XXX.xml" file, close the account. I cannot open it again, It happens with or without the gpg encryption. 

Pleas find the error messages as follows:

  QFSFileEngine::open: No file name specified
  objc[30925]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff86e26cd0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x1164efcd8). One of the two will be used. Which one is undefined.
  Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
  kf5.kio.core: couldn't create slave: "Can not find 'kioslave' executable at '/Applications/kmymoney.app/Contents/MacOS, /Applications/kmymoney.app/Contents/libexec, /Users/packaging/Craft/BinaryCache/macos-64-clang/lib/libexec/kf5'"

If I save it to a sqlcipher file, and I can reopen it gracefully. 

Thanks,
 
OBSERVED RESULT
The dependency library path needs to be fix.

EXPECTED RESULT
It will work smoothly on MacOSX and IOS.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 10.13.6
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

The following is the startup log from terminal.

/Applications/kmymoney.app/Contents/MacOS/kmymoney

QPainter::begin: Paint device returned engine == 0, type: 2
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Running in server mode
Custom icons were not found in any of the following QStandardPaths::AppDataLocation:
"/Users/andrew/Library/Application Support/kmymoney"
"/Users/packaging/Craft/BinaryCache/macos-64-clang/share/kmymoney"
"/Library/Application Support/kmymoney"
"/Applications/kmymoney.app/Contents/Resources"
dbus[30925]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QFSFileEngine::open: No file name specified
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/budgetview.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/checkprinting.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/csvexporter.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/csvimporter.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/forecastview.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/gncimporter.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/icalendarexporter.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/kbanking.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/kcm_checkprinting.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/kcm_csvimporter.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/kcm_forecastview.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/kcm_icalendarexporter.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/kcm_qif.so" Validity false
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/kcm_reportsview.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/kcm_xmlstorage.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/konlinetasks_sepa.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/ofximporter.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/onlinejoboutboxview.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/qifexporter.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/qifimporter.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/reconciliationreport.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/reportsview.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/sqlstorage.so" Validity true
Located plugin "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/xmlstorage.so" Validity true
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/budgetview.so"
Plugins: budgetview loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/checkprinting.so"
Plugins: checkprinting loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/csvexporter.so"
Plugins: csvexporter loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/csvimporter.so"
Plugins: csvimporter loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/forecastview.so"
Plugins: forecastview loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/gncimporter.so"
Plugins: gncimporter loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/icalendarexporter.so"
Plugins: icalendarexporter loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/kbanking.so"
Plugins: kbanking loaded
3:2019/04/05 08-59-24:gwen(30925):/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/libs/gwenhywfar/work/gwenhywfar-4.20.0/src/base/plugin.c:  379: Plugin "dir" not found.
3:2019/04/05 08-59-24:(null)(30925):/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/libs/aqbanking/work/aqbanking-5.7.8/src/libs/aqbanking/banking_cfg.c:   77: Could not create ConfigMgr[dir:///Users/andrew/.aqbanking/settings]. Maybe the gwenhywfar plugins are not installed?
3:2019/04/05 08-59-24:(null)(30925):/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/libs/aqbanking/work/aqbanking-5.7.8/src/libs/aqbanking/banking_cfg.c:  100: No config manager. Maybe the gwenhywfar plugins are not installed correctly?
KBankingPlugin: No AqB4 config found.
KBankingPlugin: No AqB3 config found.
3:2019/04/05 08-59-24:aqbanking(30925):/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/libs/aqbanking/work/aqbanking-5.7.8/src/libs/aqbanking/banking_cfg.c:  712: No config manager. Maybe the gwenhywfar plugins are not installed correctly?
Error on online init (-1).
Could not initialize KBanking online banking interface
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/ofximporter.so"
Plugins: ofximporter loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/onlinejoboutboxview.so"
Plugins: onlinejoboutboxview loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/qifexporter.so"
Plugins: qifexporter loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/qifimporter.so"
Plugins: qifimporter loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/reconciliationreport.so"
Plugins: reconciliation report loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/reportsview.so"
Plugins: reportsview loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/sqlstorage.so"
Plugins: sqlstorage loaded
Loading "/Applications/kmymoney.app/Contents/PlugIns/kmymoney/xmlstorage.so"
Plugins: xmlstorage loaded
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
GPG search "/Users/andrew/.gnupg/secring.gpg"
Found
GPG Home directory /Users/andrew/.gnupg
GPG filename /usr/local/bin/gpg
GPG search "/Users/andrew/.gnupg/secring.gpg"
Found
GPG Home directory /Users/andrew/.gnupg
GPG filename /usr/local/bin/gpg
QFSFileEngine::open: No file name specified
objc[30925]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff86e26cd0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x1164efcd8). One of the two will be used. Which one is undefined.
Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
kf5.kio.core: couldn't create slave: "Can not find 'kioslave' executable at '/Applications/kmymoney.app/Contents/MacOS, /Applications/kmymoney.app/Contents/libexec, /Users/packaging/Craft/BinaryCache/macos-64-clang/lib/libexec/kf5'"
kf5.kio.core: couldn't create slave: "Can not find 'kioslave' executable at '/Applications/kmymoney.app/Contents/MacOS, /Applications/kmymoney.app/Contents/libexec, /Users/packaging/Craft/BinaryCache/macos-64-clang/lib/libexec/kf5'"

<0.0> find /Applications/kmymoney.app -name kioslave
<0.0> /Applications/kmymoney.app/Contents/Frameworks/libexec/kf5/kioslave

QFSFileEngine::open: No file name specified
testing fileFixVersion 0 < 5
testing fileFixVersion 1 < 5
testing fileFixVersion 2 < 5
0 transactions fixed in fixFile_2
testing fileFixVersion 3 < 5
testing fileFixVersion 4 < 5

<0.0> “QIF export” is not working.
Comment 1 Thomas Baumgart 2019-04-05 17:55:53 UTC
It should be fixed the next time the packages will be build. In the meantime you could use the stable version where this has been fixed a while ago.

*** This bug has been marked as a duplicate of bug 400761 ***
Comment 2 Ralf Habacker 2024-08-17 17:33:41 UTC
Moved to 'file' component