I'm using the latest sources of KIO and Dolphin. Upon launching Dolphin from a terminal one can observer the following: kf5.kio.core: "Could not enter folder tags:/." inotify_add_watch("/home/khalak/.dropbox/aggregation.dbx") failed: "No such file or directory" How can I trace down the origin of the first of those two messages, and debug it? I have multiline tags and comments working just ok in 'Properties', so, why does not tags:/ namespace work for me (there is no detailed trace in the log)? On the contrary, namespace timeline:/ and friends is accessible. I have also opened the corresponding bug about dolphin.
$ env QT_MESSAGE_PATTERN="%{appname} - %{message}" kdeinit5 $ env QT_MESSAGE_PATTERN="%{appname} - %{message}" dolphin kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/tags.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/tags.so' kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/trash.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/trash.so' kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' kio_tags - tag fetch failed: "Failed to open the database" kio_tags - "tags:/" list() invalid url kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' dolphin - "Could not enter folder tags:/." kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' dolphin - inotify_add_watch("/home/khalak/.dropbox/aggregation.dbx") failed: "No such file or directory"
What happens if you manually navigate to tags:/ in Dolphin? Does it work, or does it show you that error message?
Also if you've compiled everything from source, please make sure that you also have baloo-widgets compiled too, as well as the latest KIO.
> What happens if you manually navigate to tags:/ in Dolphin? It shows an empty window (that is, no existing tags; I'd created few tags attached to a random file prior to it). Besides, no tags (or log events) show up upon Assign Tags/Create new… (i.e. a random one). > make sure that you also have baloo-widgets compiled too, as well as the latest KIO #baloo-widgets with cherry-picked commit 43845cd3ab7af5966fb3f313727c2b4db28d217c: $ dpkg -l libkf5baloowidgets-bin libkf5baloowidgets-data libkf5baloowidgets-dev libkf5baloowidgets5 # backport Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-============================-===========================-============-========================================================== ii libkf5baloowidgets-bin 4:19.07.80-0ubuntu1~18.04.2 amd64 Wigets for use with Baloo - binaries ii libkf5baloowidgets-data 4:19.07.80-0ubuntu1~18.04.2 all Wigets for use with Baloo - data files ii libkf5baloowidgets-dev:amd64 4:19.07.80-0ubuntu1~18.04.2 amd64 Development headers for developing applications with Baloo ii libkf5baloowidgets5:amd64 4:19.07.80-0ubuntu1~18.04.2 amd64 Wigets for use with Baloo #KIO: With reverted commits (unrelated to the issue), for Qt 5.9.5 compatibility: a7d59e121b15fcbaeb60f8a3496843fec2981e51 23e5b099b0e9a2af0fd7d2a13ac661507bb874c9 65010677ff357bbbd48863a3359ca9f990570267 $ dpkg -l kio libkf5kio-dev libkf5kio-doc libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiogui5 libkf5kiontlm5 libkf5kiowidgets5 dpkg -l kio libkf5kio-dev libkf5kio-doc libkf5kiocore5 libkf5kiofilewidgets5 libkf5kiogui5 libkf5kiontlm5 libkf5kiowidgets5 # backport Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===========================-========================================-============-================================================================== ii kio 5.61.0~git20190728.1133-0ubuntu1~18.04.2 amd64 resource and network access abstraction ii libkf5kio-dev 5.61.0~git20190728.1133-0ubuntu1~18.04.2 amd64 resource and network access abstraction (development files) ii libkf5kio-doc 5.61.0~git20190728.1133-0ubuntu1~18.04.2 all resource and network access abstraction (documentation) ii libkf5kiocore5:amd64 5.61.0~git20190728.1133-0ubuntu1~18.04.2 amd64 resource and network access abstraction (KIO core library) ii libkf5kiofilewidgets5:amd64 5.61.0~git20190728.1133-0ubuntu1~18.04.2 amd64 resource and network access abstraction (KIO file widgets library) ii libkf5kiogui5:amd64 5.61.0~git20190728.1133-0ubuntu1~18.04.2 amd64 resource and network access abstraction (KIO gui library) ii libkf5kiontlm5:amd64 5.61.0~git20190728.1133-0ubuntu1~18.04.2 amd64 resource and network access abstraction (KIO NTLM library) ii libkf5kiowidgets5:amd64 5.61.0~git20190728.1133-0ubuntu1~18.04.2 amd64 resource and network access abstraction (KIO widgets library) Tried also in the past with simple (not multilined) tag(s) with the same result; also with kio-5.59.0~git20190523, kio-5.60.0~git20190707, kio-5.61.0~git20190728.1133.
This bug is no longer present on my system, I see all my tags, and able to navigate the tags:/ tree. Apparently, a side effect of toggling balooctl as was suggested in Bug 410355 was the required and hidden automagic, this shall be documented somewhere.