Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to execute install script #17

Open
maeckha opened this issue Oct 15, 2020 · 5 comments
Open

Failed to execute install script #17

maeckha opened this issue Oct 15, 2020 · 5 comments

Comments

@maeckha
Copy link

maeckha commented Oct 15, 2020

DE: KDE 5.74.0 / Plasma 5.19.5
OS: Manjaro 20.1.1 Mikah
Kernel: x86_64 Linux 5.4.67-1-MANJARO

I get the above mentioned error every time I try to install this widget through 'Get widgets' -> 'Download new plasma widgets'.

@MurzNN
Copy link

MurzNN commented Oct 15, 2020

Same problem is on Kubuntu 20.10:
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Kernel Version: 5.8.0-20-generic

@ismailof
Copy link
Owner

I'm looking at the "Get widgets" dialog code, and this shouldn't have an install script, as it is a plain plasmoid, but I'm trying to follow the code to see why this is happening.

In the meantime could you try to download the plasmoid from the store and install it with the following command?
kpackagetool5 --install MediaController+_0.2.8.plasmoid

It might show some extra info about the error, or in the best case the installation succeeds.
Thanks!

@MurzNN
Copy link

MurzNN commented Oct 16, 2020

Seems we need to use --upgrade, because of:

$ kpackagetool5 --install MediaController+_0.2.8.plasmoid
Error: Installation of MediaController+_0.2.8.plasmoid failed: ~/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus already exists

And here is upgrade output:

$ kpackagetool5 --upgrade MediaController+_0.2.8.plasmoid
kf.coreaddons.desktopparser: Unable to find service type for service "Plasma/PopupApplet" listed in "~/.local/share/plasma/plasmoids/minimalclock/metadata.desktop"
kf.package: Generated  "~/.local/share/plasma/plasmoids//kpluginindex.json"  ( 14  plugins)
Upgrading package from file: MediaController+_0.2.8.plasmoid
kf.coreaddons.desktopparser: Unable to find service type for service "Plasma/PopupApplet" listed in "~/.local/share/plasma/plasmoids/minimalclock/metadata.desktop"
kf.package: Generated  "~/.local/share/plasma/plasmoids//kpluginindex.json"  ( 15  plugins)
Successfully upgraded MediaController+_0.2.8.plasmoid

So, excluding wrong service type warnings, it installs successfully. Seems there are something broken in "Get new widgets" side, or maybe it don't like those warnings?

@ismailof
Copy link
Owner

ismailof commented Oct 16, 2020

Thanks! It seems it served both purposes.

I'm suspecting of the dialog not detecting correctly that the plasmoid was already installed, and maybe it's fixed on later releases.
I'll investigate and let you know

@maeckha
Copy link
Author

maeckha commented Oct 19, 2020

Hi @MurzNN , I tried the same thing and got the same output. But I still am not able to see the widget as an option in the 'New Widgets' panel. Did it work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants