Bug 415517

Summary: AppImage - KIO slaves not included
Product: [Applications] kmymoney Reporter: jochen <schimpf.jochen>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal CC: stephane_1802
Priority: NOR    
Version: 5.0.7   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jochen 2019-12-24 09:28:35 UTC
SUMMARY
Price/rate update not working

STEPS TO REPRODUCE
1. Menu: Tools > Update Stock and Currency Prices...
2. From/To: current date/both same date
3. Click button: Update All

OBSERVED RESULT
Error:
created tmpfile
kf5.kdbusaddons: Can not find 'kdeinit5' executable at  "/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/jochen/bin/:/home/jochen/tmp/dockerhomedev/bin/node-current/bin:/home/jochen/tmp/dockerhomedev/bin/VSCode-linux-x64" "/tmp/.mount_KMyMonkiTige/usr/bin, /tmp/.mount_KMyMonkiTige/usr/bin"
kf5.kio.core: couldn't create slave: "Can not find 'kioslave' executable at '/tmp/.mount_KMyMonkiTige/usr/bin, /tmp/.mount_KMyMonkiTige/usr/libexec, /home/appimage/appimage-workspace/deps/usr/lib/x86_64-linux-gnu/libexec/kf5'"
kmymoney_webpricequote: quotedata ""


EXPECTED RESULT
Prices updated

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: non-Plasma / Linux (x86_64) release 5.4.2-arch1-1
(available in About System)
KDE Plasma Version: n/a
KDE Frameworks Version: n/a 
Qt Version: qt5

ADDITIONAL INFORMATION
kMyMoney version (appimage): 5.0.7-05ff395
Comment 1 Thomas Baumgart 2020-01-10 22:37:28 UTC
Can you try to duplicate this with the latest AppImage version? I am unable to do so with KMyMoney-5.0.7-c881fd8-x86_64.AppImage
Comment 2 jochen 2020-01-12 15:13:43 UTC
No luck, sorry. I did:

# download today's stable appimage build: KMyMoney-5.0.7-286c3ae-x86_64.AppImage	
# deleted .config/kmymoney
# deleted .aqbanking 
# started KMyMoney-5.0.7-286c3ae-x86_64.AppImage
# loaded my kmy file (using for years) 
# configured aqbanking 
## hbci 
## pin/tan account 
## skipping "special settings" 
### cert downloaded: accepted 
### tan mode: 902 phototan version 6 
### message: successfully setup 
# closing aqbanking setup 
# account > map account > kbanking 
# account > update account
## no import; immediate getting message as originally described; no prompt for pin or start date 

Still strange...
Comment 3 jochen 2020-01-12 15:20:28 UTC
Apologies. I confused the ticket. Pls ignore my earlier comment (#2). Re-testing...
Comment 4 jochen 2020-01-12 15:27:11 UTC
Still no luck when testing this ticket:

# downloaded today's stable appimage build: KMyMoney-5.0.7-286c3ae-x86_64.AppImage	
# started KMyMoney-5.0.7-286c3ae-x86_64.AppImage

Same error message on console than before. Only this path has changed, but I presume that's appimage specific:

kf5.kio.core: couldn't create slave: "Can not find 'kioslave' executable at '/tmp/.mount_KMyMonfqzl0M/usr/bin, /tmp/.mount_KMyMonfqzl0M/usr/libexec, /home/appimage/appimage-workspace/deps/usr/lib/x86_64-linux-gnu/libexec/kf5'"
Comment 5 stephanesp 2020-01-19 08:15:11 UTC
Same issue (Prices not updated with same error messages, appimage-version dependent) on today's versions:
5.0.7-f9bc63c
5.0.80-bb6cf99

Error msg:
Unable to create io-slave. Can not find 'kioslave' executable at '/tmp/.mount_KMyMonMfg1f8/usr/bin, /tmp/.mount_KMyMonMfg1f8/usr/libexec, /home/appimage/appimage-workspace/deps/usr/lib/x86_64-linux-gnu/libexec/kf5'
Comment 6 Thomas Baumgart 2020-01-19 08:35:46 UTC
It seems that the KIO slaves and maybe more KDE parts are not copied into the AppImage and thus not found if you run the AppImage when KDE is not installed on the base system.

Can this be confirmed by those who have this problem? Can you describe your environment a bit? It would at least explain why I don't encounter this problem.
Comment 7 jochen 2020-01-19 09:59:55 UTC
Confirming that I do not have kio or kioslaves installed locally. My high level config: Arch Linux; LXQT; just the following KDE components are installed locally:

kguiaddons 5.65.0-2 (kf5)
kidletime 5.65.0-2 (kf5)
kwayland 5.65.0-2 (kf5)
kwindowsystem 5.65.0-2 (kf5)
oxygen-icons 1:5.65.0-2 (kf5)
solid 5.65.0-2 (kf5)
libkscreen 5.17.5-1 (plasma)
Comment 8 stephanesp 2020-01-19 13:07:30 UTC
I confirm that I haven't got kioslaves installed locally (just kio)

I'm on Ubuntu 19.10