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

Installation through KDE Store no longer works. #24

Open
koenhendriks opened this issue May 28, 2024 · 7 comments
Open

Installation through KDE Store no longer works. #24

koenhendriks opened this issue May 28, 2024 · 7 comments

Comments

@koenhendriks
Copy link

I've just updated to Plasma 6 and am trying to reinstall Mudeer.

When I try to download the Mudeer KWin script it shows me to option to pick either mudeer-KDE5.kwinscript or mudeer-KDE6.kwinscript

image

But when I click the install button nothing happens. The pop window just disappears and Mudeer doesn't seem to have been installed.

@koenhendriks
Copy link
Author

I tried manually building / installing and receive an error about the metadata:

make install                                                                                                                                    ✔ 
(cd package && zip -r mudeer.kwinscript ./*)
  adding: contents/ (stored 0%)
  adding: contents/config/ (stored 0%)
  adding: contents/config/main.xml (deflated 60%)
  adding: contents/code/ (stored 0%)
  adding: contents/code/main.js (deflated 72%)
  adding: contents/ui/ (stored 0%)
  adding: contents/ui/config.ui (deflated 78%)
  adding: metadata.json (deflated 50%)
(cd package && mv mudeer.kwinscript ../)
kpackagetool6 -t KWin/Script -s mudeer \
        && kpackagetool6 -u mudeer.kwinscript \
        || kpackagetool6 -i mudeer.kwinscript
Error: Can't find plugin metadata: mudeer
Successfully installed /home/koen/.local/share/kpackage/generic/mudeer/

@darkstego
Copy link
Owner

I am trying to debug this. Did you have a previous version of the plugin installed?

@koenhendriks
Copy link
Author

I did yes, I used to have Plasma 5 but updated this week. After the update it said I didn't have it installed anymore and I tried to install the Plasma 6 variant.

When checking manually I found it was still in ~/.local/share/kpackage/generic/mudeer/ and in ~/.local/share/kwin/. I've manually removed both those directories.

@voznik
Copy link

voznik commented Jun 2, 2024

store / manual installation doesn't work for me either. I have same messages as for @koenhendriks , so I will skip inserting mine.

@darkstego
Copy link
Owner

So, I was able to get a machine with a similar issue and did the following to fix it

kpackagetool6 -t KWin/Script -r mudeer
rm -r ~/.local/share/kpackage/generic/mudeer
rm -r ~/.local/share/kwin/scripts/mudeer 

After that, you logout of KDE and log back in, and then try to install the script. Please tell me if this works.

@darkstego
Copy link
Owner

One more thing to try in case manual install is broken. In the makefile can you change the install section to be the following:

install: build
		kpackagetool6 -u $(PKGFILE) \
		|| kpackagetool6 -i $(PKGFILE)

bbreslauer added a commit to bbreslauer/Mudeer that referenced this issue Jan 7, 2025
make install was not installing the files in the correct place, which meant that the script no longer worked. The reason is because the type was not being passed to the install and update commands, and so the default type was being used.
@bbreslauer
Copy link
Contributor

I ran into this same issue. I figured out that the reason is that the package type flag was not being passed to the upgrade/install command, and so it was being put into the wrong directory. I've sent PR #26 to fix this.

darkstego pushed a commit that referenced this issue Jan 10, 2025
make install was not installing the files in the correct place, which meant that the script no longer worked. The reason is because the type was not being passed to the install and update commands, and so the default type was being used.
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

4 participants