Zren / plasma-applet-githubissues

https://store.kde.org/p/1271237/
25 stars 5 forks source link

Error loading plasmoid #20

Closed ratijas closed 4 years ago

ratijas commented 4 years ago

Summary

Plasmoid no longer works on Arch Linux.

Description

After recent update of my Arch Linux installation, I was greeted by the desktop KDE/Plasma with the following error message on your githubissues plasmoid:

Error loading QML file: file:///usr/share/plasma/plasmoids/com.github.zren.githubissues/contents/ui/Main.qml:65:31: Type FullRepresentation unavailable
file:///usr/share/plasma/plasmoids/com.github.zren.githubissues/contents/ui/FullRepresentation.qml:10:1: Type IssueListView unavailable
file:///usr/share/plasma/plasmoids/com.github.zren.githubissues/contents/ui/IssueListView.qml:93:5: Cannot override FINAL property

Version

OS: Arch Linux
Kernel: x86_64 Linux 5.8.14-arch1-1
DE: KDE 5.75.0 / Plasma 5.19.5
qt5-base: 5.15.1-3
qt5-declarative: 5.15.1-1
plasma-workspace: 5.19.5-3
plasma5-applets-kde-githubissues-git: r137.28c2321-1
Zren commented 4 years ago

You're using git master right?

https://github.com/Zren/plasma-applet-githubissues/blob/master/package/contents/ui/IssueListView.qml#L93

I need to rename the variable from valueRole to _valueRole as Qt added the property in Qt 5.14.

https://develop.kde.org/docs/plasma/widget/plasma-qml-api/#combobox---multiple-choice

ratijas commented 4 years ago

Whoa, that's horrible. Why they even have those half-working version numbering anyway? Good thing they'll get rid of them in Qt 6.

I upgraded to r143.c799c56-1, and the error is still there. It seems to be the tip of the master branch at the moment, though.

Zren commented 4 years ago

Sorry, didn't actually fix it in git master yesterday. Try now.

Edit: Ah someone made plasma5-applets-kde-githubissues-git on AUR, that's why you're using git master.

ratijas commented 4 years ago

As good as new. Thanks!

Had to restart plasma to reset its QML cache though.

ratijas commented 4 years ago

I wonder why that AUR package is named like -kde-...