FS#43735 - [gwenview] cannot open folders (klauncher said: Unknown protocol 'file'.)
Attached to Project:
Arch Linux
Opened by Michal Svoboda (pht) - Sunday, 08 February 2015, 08:35 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 21 February 2015, 15:25 GMT
Opened by Michal Svoboda (pht) - Sunday, 08 February 2015, 08:35 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 21 February 2015, 15:25 GMT
|
Details
After latest system upgrade, i cannot use gwenview to open
folders (opening individual images works).
I get a pop up message that says: Could not start process Unable to create io-slave: klauncher said: Unknown protocol 'file'. . I tried reinstalling, I tried new empty user, error still persists. I googled around some more and one article mentions it seems to be weird error that may be caused by broken kdelibs. $ gwenview . Could not find drkonqi at /usr/lib/drkonqi Invalid pixmap specified. QTimeLine::setDuration: cannot set duration <= 0 Invalid pixmap specified. QTimeLine::setDuration: cannot set duration <= 0 Invalid pixmap specified. QTimeLine::setDuration: cannot set duration <= 0 kf5.kservice.sycoca: Trying to open ksycoca from "/home/user/.cache/ksycoca5" Invalid pixmap specified. QTimeLine::setDuration: cannot set duration <= 0 Shortcut for action "rate_0" "Zero" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. Shortcut for action "rate_1" "?" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. Shortcut for action "rate_2" "??" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. Shortcut for action "rate_3" "???" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. Shortcut for action "rate_4" "????" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. Shortcut for action "rate_5" "?????" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead. couldn't create slave: "Unable to create io-slave: klauncher said: Unknown protocol 'trash'. " "Could not start process Unable to create io-slave: klauncher said: Unknown protocol 'trash'. ." "Could not start process Unable to create io-slave: klauncher said: Unknown protocol 'trash'. ." couldn't create slave: "Unable to create io-slave: klauncher said: Unknown protocol 'file'. $ pacman -Qi gwenview Name : gwenview Version : 14.12.2-1 Description : A fast and easy to use image viewer for KDE Architecture : x86_64 URL : http://kde.org/applications/graphics/gwenview/ Licenses : GPL LGPL FDL Groups : kde kdegraphics Provides : None Depends On : kded kactivities-frameworks baloo-frameworks Optional Deps : None Required By : None Optional For : None Conflicts With : kdegraphics-gwenview Replaces : kdegraphics-gwenview Installed Size : 4.60 MiB Packager : Felix Yan <felixonmars@archlinux.org> Build Date : Wed Feb 4 08:36:03 2015 Install Date : Sun Feb 8 09:20:50 2015 Install Reason : Explicitly installed Install Script : Yes Validated By : Signature |
This task depends upon
Closed by Felix Yan (felixonmars)
Saturday, 21 February 2015, 15:25 GMT
Reason for closing: Not a bug
Additional comments about closing: kde3 remainings
Saturday, 21 February 2015, 15:25 GMT
Reason for closing: Not a bug
Additional comments about closing: kde3 remainings
FS#43485which I was able to cure using the procedure in the bug.Rebuild database:
kbuildsycoca5 --noincremental
and install drkonqi:
sudo pacman -S drkonqi
the sycoca rebuild unfortunately does not help
$ rm -f .cache/ksycoca5
$ kbuildsycoca5 --noincremental
kbuildsycoca5 running...
Recreating ksycoca file ("/home/user/.cache/ksycoca5", version 300)
"Directory" and "ggz.directory" requires combining!
The desktop entry file "/opt/kde/share/applications/kde/kresources.desktop" has Type= "Application" but also has a X-KDE-Library key. This works for now, but makes user-preference handling difficult, so support for this might be removed at some point. Consider splitting it into two desktop files.
Saving
Emitting notifyDatabaseChanged ("services", "servicetypes", "xdgdata-mime", "apps")
$ gwenview .
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
kf5.kservice.sycoca: Trying to open ksycoca from "/home/user/.cache/ksycoca5"
KServiceTypeTrader: serviceType "QImageIOPlugins" not found
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Shortcut for action "rate_0" "Zero" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action "rate_1" "?" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action "rate_2" "??" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action "rate_3" "???" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action "rate_4" "????" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action "rate_5" "?????" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'trash'.
"
"Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'trash'.
."
"Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'trash'.
."
couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'file'.
I also tried creating fresh new user, but that user also has the issue. So it must be global system problem. How can I diagnose it?
http://comments.gmane.org/gmane.comp.kde.devel.frameworks/18414
- reinstall kf5
- uninstall / install kio
- install kio-extras
Did not help :-/
I'd say it's not about what's not installed but maybe about what's extra (dangling files, ...)
I would appreciate some steps to diagnose this issue ...
The desktop entry file "/opt/kde/share/applications/kde/kresources.desktop" has Type= "Application" but also has a X-KDE-Library key. This works for now, but makes user-preference handling difficult, so support for this might be removed at some point.
looks suspicious to me. Do you have something installed in /opt/kde?
Removing that, and executing the post_install procedure from kdebase-runtime fixed the problem.
I suppose these files were some remains of kde3 that has been incorrectly upgraded to kde4 in some distant past.