nix-community / kde2nix

Provisional, experimental Plasma 6 (and friends) pre-release packaging [maintainer=@K900]
MIT License
66 stars 6 forks source link

Tokodon does not launch #8

Closed jansol closed 10 months ago

jansol commented 10 months ago

Looks relevant, and tokodon seems to be under the KDE umbrella. Not sure if it's considered part of Gear tho.

$ tokodon
QQmlApplicationEngine failed to load component
qrc:/content/ui/main.qml:17:1: Type Kirigami.ApplicationWindow unavailable
file:///nix/store/7sngcwdgl0xf02v58wzy4kxgkp7xskfh-kirigami2-5.112.0/lib/qt-5.15.11/qml/org/kde/kirigami.2/ApplicationWindow.qml:88:1: Type Kirigami.AbstractApplicationWindow unavailable
file:///nix/store/7sngcwdgl0xf02v58wzy4kxgkp7xskfh-kirigami2-5.112.0/lib/qt-5.15.11/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:77:1: Type QQC2.ApplicationWindow unavailable
file:///nix/store/9mz6dfc6j5983g4vlrcsa29yhzn22kh0-qtquickcontrols2-5.15.11-bin/lib/qt-5.15.11/qml/QtQuick/Controls.2/ApplicationWindow.qml:40:1: invalid version plugin, expected <major>.<minor>
file:///nix/store/8y2by0yrqxfmfva4dbaddv31js60i6v6-qtdeclarative-6.6.0/lib/qt-6/qml/QtQuick/Controls/impl/qmldir:6: invalid version auto, expected <major>.<minor>
file:///nix/store/8y2by0yrqxfmfva4dbaddv31js60i6v6-qtdeclarative-6.6.0/lib/qt-6/qml/QtQuick/Controls/impl/qmldir:7: invalid version auto, expected <major>.<minor>
K900 commented 10 months ago

It's picking up Qt5 stuff for some reason? Not really sure what the deal with that is.

jansol commented 10 months ago

I don't have any idea either but Filelight seems to be affected by the same issue:

$ filelight
QQmlApplicationEngine failed to load component
qrc:/ui/main.qml:11:1: Type Kirigami.ApplicationWindow unavailable
file:///nix/store/7sngcwdgl0xf02v58wzy4kxgkp7xskfh-kirigami2-5.112.0/lib/qt-5.15.11/qml/org/kde/kirigami.2/ApplicationWindow.qml:88:1: Type Kirigami.AbstractApplicationWindow unavailable
file:///nix/store/7sngcwdgl0xf02v58wzy4kxgkp7xskfh-kirigami2-5.112.0/lib/qt-5.15.11/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:77:1: Type QQC2.ApplicationWindow unavailable
file:///nix/store/9mz6dfc6j5983g4vlrcsa29yhzn22kh0-qtquickcontrols2-5.15.11-bin/lib/qt-5.15.11/qml/QtQuick/Controls.2/ApplicationWindow.qml:40:1: invalid version plugin, expected <major>.<minor>
file:///nix/store/8y2by0yrqxfmfva4dbaddv31js60i6v6-qtdeclarative-6.6.0/lib/qt-6/qml/QtQuick/Controls/impl/qmldir:6: invalid version auto, expected <major>.<minor>
file:///nix/store/8y2by0yrqxfmfva4dbaddv31js60i6v6-qtdeclarative-6.6.0/lib/qt-6/qml/QtQuick/Controls/impl/qmldir:7: invalid version auto, expected <major>.<minor>
Failed to load QML dialog.
89 -- exe=/nix/store/d01k2pipl48j3cnymljan01zaa3zmjg5-filelight-23.08.3/bin/.filelight-wrapped
17 -- platform=wayland
27 -- appname=.filelight-wrapped
74 -- apppath=/nix/store/d01k2pipl48j3cnymljan01zaa3zmjg5-filelight-23.08.3/bin
9 -- signal=6
9 -- pid=5308
19 -- appversion=23.08.3
22 -- programname=Filelight
31 -- bugaddress=submit@bugs.kde.org
KCrash: Application '.filelight-wrapped' crashing...
KCrash: Attempting to start /nix/store/79xnig980fgvzjfimpxffzypf70vw0g1-drkonqi-5.27.80/libexec/drkonqi
kf5idletime_wayland: This plugin does not support polling idle time

OTOH KeepassXC which also uses Qt 5.15.11 is completely fine.

K900 commented 10 months ago

Is this Nixpkgs tokodon or kde2nix tokodon?

jansol commented 10 months ago

Ooh, good point! Seems they are from Nixpkgs, as nix run github:nix-community/kde2nix#tokodon works fine, as does filelight when run this way.