| Summary: | Message "Unable to create io-slave. klauncher said: Unknown protocol 'tags'." appears on every Dolphin launch | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | Christoph Feck <cfeck> |
| Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | a.samirh78, asturm, baloo-bugs-null, dolphin-bugs-null, nate, voron1 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=437176 | ||
| Latest Commit: | https://invent.kde.org/system/dolphin/commit/29636baff0f0cf8d769aa75b1c458b96cf83b828 | Version Fixed/Implemented In: | 21.04.1 |
| Sentry Crash Report: | |||
*Not* a baloo bug. Dolphin should check if an implementation for the protocol is defined, e.g. /usr/share/kservices5/tags.protocol OK, that makes sense. I just got this with KIO-5.82.0 and dolphin-20.12.3, so the question is what has changed... Yup, no error when just downgrading to KIO-5.81.0. Sorry, what's actually happening is the error is still visible in the terminal, but not manifesting as an error dialog box. It looks like KCoreDirLister is created on tags:/ even if baloo isn't found at build time:
void DolphinFacetsWidget::updateTagsMenu()
{
updateTagsMenuItems({}, {});
m_tagsLister.openUrl(QUrl(QStringLiteral("tags:/")), KCoreDirLister::OpenUrlFlag::Reload);
}
(In reply to Ahmad Samir from comment #6) > void DolphinFacetsWidget::updateTagsMenu() > { > updateTagsMenuItems({}, {}); > m_tagsLister.openUrl(QUrl(QStringLiteral("tags:/")), > KCoreDirLister::OpenUrlFlag::Reload); > } dolphin startup error is gone after ifdef'ing the KCoreDirLister line behind HAVE_BALOO, but I can still trigger it by right clicking into the dolphinview, effectively cancelling context menu. (In reply to Andreas Sturmlechner from comment #7) > but I can still trigger it by right clicking into the > dolphinview, effectively cancelling context menu. Nevermind - that was just baloo-widgets still being installed. A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/208 Git commit 29636baff0f0cf8d769aa75b1c458b96cf83b828 by Ismael Asensio. Committed on 10/05/2021 at 12:05. Pushed by sandsmark into branch 'release/21.04'. search/facetswidget: Check for protocol before trying to fetch tags This was causing an error when trying to list items from the non-existent `tags:` protocol. FIXED-IN: 21.04.1 M +4 -1 src/search/dolphinfacetswidget.cpp https://invent.kde.org/system/dolphin/commit/29636baff0f0cf8d769aa75b1c458b96cf83b828 |
SUMMARY I use Dolphin (and the rest of the system) built without baloo dependencies. Since a recent frameworks change, I get this error message on every new Dolphin window: Unable to create io-slave. klauncher said: Unknown protocol 'tags'. I didn't update Dolphin, so I suspect the issue is in the frameworks code.