Tokodon silently fails to open but

In Xfce, trying to launch tokodon from menu silently fails. When I try running from command line:

$ tokodon
QQmlApplicationEngine failed to load component
qrc:/qt/qml/org/kde/tokodon/content/ui/Main.qml:357:30: Type SearchField unavailable
qrc:/qt/qml/org/kde/tokodon/content/ui/SearchField.qml:31:23: Type SearchView unavailable
qrc:/qt/qml/org/kde/tokodon/content/ui/SearchView.qml:124:13: Type PostDelegate unavailable
qrc:/qt/qml/org/kde/tokodon/content/ui/PostDelegate/PostDelegate.qml:263:30: Type PostMenu unavailable
qrc:/qt/qml/org/kde/tokodon/content/ui/PostDelegate/PostMenu.qml:9:1: module "org.kde.kquickcontrolsaddons" is not installed

It used to work, so this may be a regression.

I’d say try reinstalling this, it might fix the other errors as well.

1 Like

I did a quick search in the package manager but nothing of the name kquickcontrolsaddons seemed to exist.

That is odd. I can not find it in the AUR either, so it’s not been moved there. I did find similar package names though:

PAMAC search results
pamac search -a kquick
kquickimageeditor-git  0.2.0.r9.gbe39cdb-1                                                                 AUR
    Image editing components
kquickimageeditor5  0.3.0-2                                                                              extra
    QML image editing components
kquickimageeditor  0.3.0-2                                                                               extra
    QML image editing components
kquickchatcomponents-git  r15.f184bbc-1                                                                    AUR
    Set of chat components for QtQuick chat apps wishing to fit in with KDE's collection of chat apps
kquickcharts-git  6.0.0_r617.g3e2b4d1-1                                                                    AUR
    A QtQuick plugin providing high-performance charts
kquickcharts5  5.115.0-1 [Installed]
    A QtQuick plugin providing high-performance charts
kquickcharts  6.3.0-1 [Installed]                                                                        extra
    A QtQuick plugin providing high-performance charts

Note it would help to know what “tokodon” is. Search results weren’t all that helpful in my case. Maybe try reinstalling that package and log everything that happens during the process, then post the results here?

Cheers :slight_smile:

Interesting method…

Yes reinstalling will be worth a try.

Tokodon is a client for a decentralized social network.

1 Like

Is this from aur? Have you tried rebuilding it?

Not in the AUR as far as I could find. (I mean the missing dependency), but tokodon is in extra:

$ pamac search tokodon
tokodon  24.05.1-1                                           extra
    A Mastodon client for Plasma

You are running xfce,tokodon is for plasma, qt6 dependent and pulls a lot of plasma dependencies.
I have tuba installed for test, and from my view (xfce here) it might be a better alternative, because it is gtk based.

$ pacman -Ss tuba
extra/tuba 0.7.2-2
Browse the Fediverse


This one lauches flawless.

…btw, running xfce means “staying away from plasma”.

1 Like

Well, i am back on PC and i just tested (i am on xfce, stable). Tokodon runs and opens and does not throw these errors (gives other warnings) in terminal by me. So it is something local in your install but i have no idea what. Besides, Tokodon does not seem to follow my dark theme.
I also tested installed Tuba - pulls less deps and follows dark theme (ok, not really, it follows adwaita and not my theme but at least is dark), so the choice would be it if i ever decide to use the fediverse.
Alternatively - tokodon has a flatpak, you can try this.

❯ sudo pacman -Fyx kquickcontrolsaddons
extra/kdeclarative 6.3.0-1 (kf6)
    usr/lib/qt6/qml/org/kde/kquickcontrolsaddons/kquickcontrolsaddonsplugin.qmltypes
    usr/lib/qt6/qml/org/kde/kquickcontrolsaddons/libkquickcontrolsaddonsplugin.so
extra/kdeclarative5 5.116.0-1 (kf5)
    usr/lib/qt/qml/org/kde/kquickcontrolsaddons/libkquickcontrolsaddonsplugin.so

tokodon already depends on kdeclarative. :man_shrugging:

Okay, I update every 3 months or so, but I don’t understand why that might affect this but I think it probably did. Somehow I have kdeclarative5 but not kdeclarative i have had only two plasma (?) apps installed tokodon and gwenview that I never use but I keep around so I can show apple users how to move things off their phone without iTunes or whatever proprietary garbage. If there is another piece of software that is not plasma that can do this I would be very happy to learn about it.

Will that mean no more k-this-and-that. That would be nice even though I have an appreciation for modularity (I don’t when it wastes my time.)

Thanks everyone for ideas above!!!

This is very likely to be an issue; even if not necessarily for this one. I try to avoid going for more than a month. It also suggests you might not have attended to the .pacnew files.

Try running

pacdiff -o

and see what shows up? Some of the updates IIRC have involved e.g. /etc/pacman-mirrors.conf and other possibly important changes.

1 Like

Yes, I’m always having to merge minor things from one or two pacnew files per update. Generally trivial things that I always merge in. Thanks for the pacdiff tipoff! I’ll try that asap.

EDIT: As I’ve written elsewhere, I’m trying to emulate a privacy-conscious 70-yo who might only be able to update things every 3 months, with the help of a family member.

Thanks

EDIT 2: (5 days later) Hi @BG405, I don’t seem to have pacdiff

1 Like