catsout / wallpaper-engine-kde-plugin

A kde wallpaper plugin integrating wallpaper engine
https://store.kde.org/p/1475528/
GNU General Public License v2.0
1.73k stars 73 forks source link

Will not install on fedora linux with kde installed #404

Open REOspeedweed opened 3 months ago

REOspeedweed commented 3 months ago

Describe the bug
cannot install due to missing file

System Information

[125/144] Building CXX object src/backend_scene/src/CMakeFiles/wescene-renderer.dir/WPSceneParser.cpp.o ninja: build stopped: subcommand failed. -- Install configuration: "RelWithDebInfo" CMake Error at build/src/cmake_install.cmake:62 (file): file INSTALL cannot find "/home//wallpaperengine/wallpaper-engine-kde-plugin/build/src/libWallpaperEngineKde.so": No such file or directory. Call Stack (most recent call first): build/cmake_install.cmake:47 (include)

[1/1] cd /home//wallpaperengine/wallpaper-en...lugin 2>/dev/null || /usr/bin/plasmapkg2 -u ./plugin" FAILED: CMakeFiles/install_pkg /home//wallpaperengine/wallpaper-engine-kde-plugin/build/CMakeFiles/install_pkg cd /home//wallpaperengine/wallpaper-engine-kde-plugin && /bin/sh -c "/usr/bin/plasmapkg2 -i ./plugin 2>/dev/null || /usr/bin/plasmapkg2 -u ./plugin" kf.package: Invalid metadata for package structure "Plasma/Wallpaper" Package type "Plasma/Wallpaper" not found kf.package: Invalid metadata for package structure "Plasma/Wallpaper" kf.package: Cannot set a path in a package without structure "/home//wallpaperengine/wallpaper-engine-kde-plugin/plugin" kf.package: Invalid metadata for package structure "Plasma/Wallpaper" Error: Plugin com.github.casout.wallpaperEngineKde is not installed. ninja: build stopped: subcommand failed.

AngelSherry commented 3 months ago

You may try my COPR of wallpaper-engine-kde-plugin and follow its installation instructions.

Dollique commented 3 months ago

I tried this and it installed, but when I select Wallpaper Engine for Kde I get a warning: Please make sure qtwebsockets (qml module) installed and open this again.

AngelSherry commented 3 months ago

I tried this and it installed, but when I select Wallpaper Engine for Kde I get a warning: Please make sure qtwebsockets (qml module) installed and open this again.

Can you try to install qt6-qtwebsockets with dnf??

REOspeedweed commented 3 months ago

I had the same issue. Tried to install qt6-websockets and terminal said it was already there. It also won't load my library

On Sun, Jun 23, 2024, 2:47 PM AngelSherry @.***> wrote:

I tried this and it installed, but when I select Wallpaper Engine for Kde I get a warning: Please make sure qtwebsockets (qml module) installed and open this again.

Can you try to install qt6-qtwebsockets with dnf??

— Reply to this email directly, view it on GitHub https://github.com/catsout/wallpaper-engine-kde-plugin/issues/404#issuecomment-2185286154, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCRA7KVV7F3XL5XDZ3Z3S73ZI4Q4XAVCNFSM6AAAAABJTGI5Z6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGI4DMMJVGQ . You are receiving this because you authored the thread.Message ID: @.***>

Dollique commented 3 months ago

I tried this and it installed, but when I select Wallpaper Engine for Kde I get a warning: Please make sure qtwebsockets (qml module) installed and open this again.

Can you try to install qt6-qtwebsockets with dnf??

I run

sudo dnf install qt6-qtwebsockets

I got

Last metadata expiration check: 2:04:22 ago on Sun 23 Jun 2024 08:28:49 PM CEST.
Package qt6-qtwebsockets-6.7.1-1.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Doesn't seem to work

AngelSherry commented 3 months ago

I had the same issue. Tried to install qt6-websockets and terminal said it was already there. It also won't load my library On Sun, Jun 23, 2024, 2:47 PM AngelSherry @.> wrote: I tried this and it installed, but when I select Wallpaper Engine for Kde I get a warning: Please make sure qtwebsockets (qml module) installed and open this again. Can you try to install qt6-qtwebsockets with dnf?? — Reply to this email directly, view it on GitHub <#404 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCRA7KVV7F3XL5XDZ3Z3S73ZI4Q4XAVCNFSM6AAAAABJTGI5Z6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGI4DMMJVGQ . You are receiving this because you authored the thread.Message ID: @.>

I know what's happen. Though it's on QT6 branch, wallpaper-engine-kde-plugin seems still using qt5-qtwebsockets instead of qt6-qtwebsockets to detect whether qtwebsockets exists or not. Running sudo dnf install qt5-qtwebsockets python3-websocketsshould fix the issue.

@catsout @fxzjshm

The package on my COPR will update requires soon.

AngelSherry commented 3 months ago

I tried this and it installed, but when I select Wallpaper Engine for Kde I get a warning: Please make sure qtwebsockets (qml module) installed and open this again.

Can you try to install qt6-qtwebsockets with dnf??

I run

sudo dnf install qt6-qtwebsockets

I got

Last metadata expiration check: 2:04:22 ago on Sun 23 Jun 2024 08:28:49 PM CEST.
Package qt6-qtwebsockets-6.7.1-1.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Doesn't seem to work

Try running sudo dnf install qt5-qtwebsockets python3-websockets to see if it can work for you. See more details above.

Dollique commented 3 months ago

I tried this and it installed, but when I select Wallpaper Engine for Kde I get a warning: Please make sure qtwebsockets (qml module) installed and open this again.

Can you try to install qt6-qtwebsockets with dnf??

I run

sudo dnf install qt6-qtwebsockets

I got

Last metadata expiration check: 2:04:22 ago on Sun 23 Jun 2024 08:28:49 PM CEST.
Package qt6-qtwebsockets-6.7.1-1.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Doesn't seem to work

Try running sudo dnf install qt5-qtwebsockets python3-websockets to see if it can work for you. See more details above.

I had both packages already installed and there is no change. This is a bit strange, as I do not remember reinstalling qt5-qtwebsockets.

AngelSherry commented 3 months ago

I tried this and it installed, but when I select Wallpaper Engine for Kde I get a warning: Please make sure qtwebsockets (qml module) installed and open this again.

Can you try to install qt6-qtwebsockets with dnf??

I run

sudo dnf install qt6-qtwebsockets

I got

Last metadata expiration check: 2:04:22 ago on Sun 23 Jun 2024 08:28:49 PM CEST.
Package qt6-qtwebsockets-6.7.1-1.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Doesn't seem to work

Try running sudo dnf install qt5-qtwebsockets python3-websockets to see if it can work for you. See more details above.

I had both packages already installed and there is no change. This is a bit strange, as I do not remember reinstalling qt5-qtwebsockets.

Strangely, I haven't met this issues on my system and everything works well. It seems your system lacks something. 🤔 螢幕截圖_20240627_023648

Kagaminator commented 3 months ago

I tried this and it installed, but when I select Wallpaper Engine for Kde I get a warning: Please make sure qtwebsockets (qml module) installed and open this again.

Can you try to install qt6-qtwebsockets with dnf??

I run

sudo dnf install qt6-qtwebsockets

I got

Last metadata expiration check: 2:04:22 ago on Sun 23 Jun 2024 08:28:49 PM CEST.
Package qt6-qtwebsockets-6.7.1-1.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Doesn't seem to work

Try running sudo dnf install qt5-qtwebsockets python3-websockets to see if it can work for you. See more details above.

I had both packages already installed and there is no change. This is a bit strange, as I do not remember reinstalling qt5-qtwebsockets.

I was having this exact same issue with the COPR, solved it by installing qt5-qtwebsockets-devel and qt6-qtwebsockets-devel, don't know which one actually solved it, I installed both just in case

Dollique commented 3 months ago

I tried this and it installed, but when I select Wallpaper Engine for Kde I get a warning: Please make sure qtwebsockets (qml module) installed and open this again.

Can you try to install qt6-qtwebsockets with dnf??

I run

sudo dnf install qt6-qtwebsockets

I got

Last metadata expiration check: 2:04:22 ago on Sun 23 Jun 2024 08:28:49 PM CEST.
Package qt6-qtwebsockets-6.7.1-1.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Doesn't seem to work

Try running sudo dnf install qt5-qtwebsockets python3-websockets to see if it can work for you. See more details above.

I had both packages already installed and there is no change. This is a bit strange, as I do not remember reinstalling qt5-qtwebsockets.

I was having this exact same issue with the COPR, solved it by installing qt5-qtwebsockets-devel and qt6-qtwebsockets-devel, don't know which one actually solved it, I installed both just in case

Okay that indeed seemed to install the correct module. Sadly now it says that python3-websockets is not found ModuleNotFoundError: No module named 'websockets'

I tried to install it with dnf and also directly with pip but the error persists.

Screenshot_20240702_231850

I also just noticed an error on the About Tab: warning: The lib version is inconsistent with the plugin version

Screenshot_20240702_232100

AngelSherry commented 3 months ago

I tried this and it installed, but when I select Wallpaper Engine for Kde I get a warning: Please make sure qtwebsockets (qml module) installed and open this again.

Can you try to install qt6-qtwebsockets with dnf??

I run

sudo dnf install qt6-qtwebsockets

I got

Last metadata expiration check: 2:04:22 ago on Sun 23 Jun 2024 08:28:49 PM CEST.
Package qt6-qtwebsockets-6.7.1-1.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Doesn't seem to work

Try running sudo dnf install qt5-qtwebsockets python3-websockets to see if it can work for you. See more details above.

I had both packages already installed and there is no change. This is a bit strange, as I do not remember reinstalling qt5-qtwebsockets.

I was having this exact same issue with the COPR, solved it by installing qt5-qtwebsockets-devel and qt6-qtwebsockets-devel, don't know which one actually solved it, I installed both just in case

Strangely, I don't know why does it need devel packages. I should only be used while building RPM file.