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.7k stars 72 forks source link

Plugin Lib #133

Closed TechSupport893 closed 2 years ago

TechSupport893 commented 2 years ago

I'm on a completely updated EndeavorOS (arch).

I have updated all of the apps and tried to install all of the dependencies multiple times and made sure everything was up to date. Despite all of this, it still says plugin lib is not installed.

Jelgnum commented 2 years ago

Hi, from my knowledge EndeavorOS uses xfce by default, are you running KDE instead? If so then make sure you have all of the files needed for kde and please include the info requested in the issue form so we can better help you

System Information

(posted from old account first, sorry for spam)

TechSupport893 commented 2 years ago

Info Center System Info Operating System: EndeavourOS KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Kernel Version: 5.16.14-arch1-1 (64-bit) Graphics Platform: X11

catsout commented 2 years ago

how to get plasmashell log

  1. Check if your wallpaper is at the same steam library as you selected in plugin.
    1. Run plasmashell --replace to get log Please choose the log after you open the wallpaper plugin setting.

You need to re-login to run plasmashell normally after test.

Depends on your system, if you can get log from journalctl /usr/bin/plasmashell -f, you don't need the step 2 and re-login.

cmake log

Also need the log when do cmake .. and sudo make install

matrikslee commented 2 years ago

@catsout hello, thanks very much for your work, and I also encountered the same problem as this thread

this is the log below when I run the plasmashell --replace in a terminal shell

>>> plasmashell --replace  
kf.plasma.quick: Applet preload policy set to 1
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:43:5: QML MouseArea: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:41: TypeError: Cannot read property 'length' of undefined
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:43:5: QML MouseArea: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:41: TypeError: Cannot read property 'length' of undefined
kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:43:5: QML MouseArea: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:41: TypeError: Cannot read property 'length' of undefined
qml: ---check lib 'com.github.catsout.wallpaperEngineKde 1.1' failed---
qml: Error: Qt.createQmlObject(): failed to create object: 
    file:///home/matrikslee/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/inline:1:1: module "com.github.catsout.wallpaperEngineKde" is not installed
qml: load backend: backend/QtMultimedia.qml
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/FullRepresentation.qml:22:1: QML FullRepresentation: Binding loop detected for property "implicitHeight"
qt.core.qabstractitemmodel.checkindex: Index QModelIndex(-1,-1,0x0,QObject(0x0)) is not valid (expected valid)
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/FullRepresentation.qml:23:1: QML FullRepresentation: Binding loop detected for property "implicitHeight"
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/BarChart.qml:54:9: Unable to assign [undefined] to int
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/LineChart.qml:57:9: Unable to assign [undefined] to int
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/LineChart.qml:57:9: Unable to assign [undefined] to int
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/BarChart.qml:54:9: Unable to assign [undefined] to int
Plasma Shell startup completed
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/BarChart.qml:54:9: Unable to assign [undefined] to int
qt.core.qabstractitemmodel.checkindex: Index QModelIndex(-1,-1,0x0,QObject(0x0)) is not valid (expected valid)
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/LineChart.qml:57:9: Unable to assign [undefined] to int
qml: ---check lib 'com.github.catsout.wallpaperEngineKde 1.1' failed---
qml: Error: Qt.createQmlObject(): failed to create object: 
    file:///home/matrikslee/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/inline:1:1: module "com.github.catsout.wallpaperEngineKde" is not installed
Both point size and pixel size set. Using pixel size.
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/Tooltip.qml:54:9: QML GridLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Error: cannot change the containment to AppletsLayout
QProcess: Destroyed while process ("/bin/sh") is still running.
qml: ----python helper connected----
qml: filtered, filter: 01011111111111111111111111111111111, from 55 to 25
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

I have test the action include re-login kde and restart my computer, however it doesn't work at all I can confirm that I really installed the dynamic library so file into my local lib path, as the log below descripted

566 ~/wallpaper-engine-kde-plugin/build (main)
>>> file $(cat install_manifest.txt )
/usr/local/lib/qml/com/github/catsout/wallpaperEngineKde/libWallpaperEngineKde.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=55df3909c5daf6fdfac3d83f115c20bd40208796, not stripped
/usr/local/lib/qml/com/github/catsout/wallpaperEngineKde/qmldir:                   ASCII text

I have no idea how to handle this problem and It would be greatly appreciated if I could get your help from here

catsout commented 2 years ago

@matrikslee Try to run cmake with cmake .. -DCMAKE_INSTALL_PREFIX=/usr, and install again.
Or you can manually move the lib to /usr from /usr/local

catsout commented 2 years ago

@matrikslee
Run

install -D -t /usr/lib/qml/com/github/catsout/wallpaperEngineKde /usr/local/lib/qml/com/github/catsout/wallpaperEngineKde/* 
matrikslee commented 2 years ago

@catsout thanks for the quick response,after I use cmake .. -DCMAKE_INSTALL_PREFIX=/usr with make and then install again, something changed but problem still exists, this is the journalctl /usr/bin/plasmashell -f output from the new situation, it seems lib not found still

>>> journalctl /usr/bin/plasmashell -f 
4月 23 17:59:10 matriks-arch plasmashell[1161]: QProcess: Destroyed while process ("/bin/sh") is still running.
4月 23 17:59:10 matriks-arch plasmashell[1161]: file:///home/matrikslee/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/page/WallpaperPage.qml:334:22: QML Flickable: Binding loop detected for property "contentWidth"
4月 23 17:59:10 matriks-arch plasmashell[1161]: qml: ----python helper connected----
4月 23 17:59:10 matriks-arch plasmashell[1161]: qml: filtered, filter: 01111111111111111111111111111111111, from 55 to 51
4月 23 17:59:10 matriks-arch plasmashell[1161]: file:///home/matrikslee/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/page/WallpaperPage.qml:334:22: QML Flickable: Binding loop detected for property "contentHeight"
4月 23 17:59:12 matriks-arch plasmashell[1161]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
4月 23 17:59:17 matriks-arch plasmashell[1161]: qml: load backend: backend/QtMultimedia.qml
4月 23 17:59:17 matriks-arch plasmashell[1161]: gst_gl_context_new_wrapped: assertion 'available_apis != GST_GL_API_ANY' failed
4月 23 17:59:17 matriks-arch plasmashell[1161]: Could not create wrappped context for platform: 1
4月 23 17:59:17 matriks-arch plasmashell[1161]: qml: filtered, filter: 01111111111111111111111111111111111, from 55 to 51
....
4月 23 18:04:45 matriks-arch plasmashell[1161]: Error: cannot change the containment to AppletsLayout
4月 23 18:04:45 matriks-arch plasmashell[1161]: file:///home/matrikslee/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/page/AboutPage.qml:126:21: Unable to assign [undefined] to bool
4月 23 18:04:45 matriks-arch plasmashell[1161]: qml: ---check lib 'com.github.catsout.wallpaperEngineKde 1.1' failed---
4月 23 18:04:45 matriks-arch plasmashell[1161]: qml: Error: Qt.createQmlObject(): failed to create object: 
                                                     file:///home/matrikslee/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/inline:1:1: module "com.github.catsout.wallpaperEngineKde" is not installed
4月 23 18:04:45 matriks-arch plasmashell[1161]: QProcess: Destroyed while process ("/bin/sh") is still running.
4月 23 18:04:45 matriks-arch plasmashell[1161]: file:///home/matrikslee/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/page/WallpaperPage.qml:334:22: QML Flickable: Binding loop detected for property "contentWidth"
4月 23 18:04:45 matriks-arch plasmashell[1161]: qml: ----python helper connected----
4月 23 18:04:45 matriks-arch plasmashell[1161]: qml: filtered, filter: 01111111111111111111111111111111111, from 55 to 51
4月 23 18:04:45 matriks-arch plasmashell[1161]: file:///home/matrikslee/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/page/WallpaperPage.qml:334:22: QML Flickable: Binding loop detected for property "contentHeight"
4月 23 18:04:46 matriks-arch plasmashell[1161]: file:///home/matrikslee/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/config.qml:130:9: QML SettingPage: Binding loop detected for property "contentWidth"
catsout commented 2 years ago

Try:

ls /usr/lib/qml
ls /usr/lib/qt5/qml
ls /usr/lib/qml/com/github/catsout/wallpaperEngineKde/

Need the output.

matrikslee commented 2 years ago

there is no /usr/lib/qt5 folder in my system, something wrong?

>>> ls /usr/lib/qt5/qml
ls: 无法访问 '/usr/lib/qt5/qml': 没有那个文件或目录
>>> ls /usr/lib/qt5
ls: 无法访问 '/usr/lib/qt5': 没有那个文件或目录
>>> ls /usr/lib/qml
com  VTK.9.1
>>> ls /usr/lib/qml/com/github/catsout/wallpaperEngineKde/
libWallpaperEngineKde.so  qmldir
catsout commented 2 years ago

@matrikslee The /usr/lib/qt5/qml is not important, it's different on every linux distribution.
You need to find the folder which has the fellow contents.

> ls /usr/lib64/qt5/qml
builtins.qmltypes  QtFeedback          QtQml      QtWayland     SddmComponents
com                QtGraphicalEffects  QtQuick    QtWebChannel 
org                QtLocation          QtQuick.2  QtWebEngine
Qt                 QtMultimedia        QtSensors  QtWebKit
QtAudioEngine      QtPositioning       QtTest     QtWebSockets

The install script should find this, but something went wrong on you system.
You can find some useful information via qmake -query

matrikslee commented 2 years ago

there is the output of qmake -query below

>>> qmake -query 
QT_SYSROOT:
QT_INSTALL_PREFIX:/usr
QT_INSTALL_ARCHDATA:/usr/lib/qt
QT_INSTALL_DATA:/usr/share/qt
QT_INSTALL_DOCS:/usr/share/doc/qt
QT_INSTALL_HEADERS:/usr/include/qt
QT_INSTALL_LIBS:/usr/lib
QT_INSTALL_LIBEXECS:/usr/lib/qt/libexec
QT_INSTALL_BINS:/usr/bin
QT_INSTALL_TESTS:/usr/tests
QT_INSTALL_PLUGINS:/usr/lib/qt/plugins
QT_INSTALL_IMPORTS:/usr/lib/qt/imports
QT_INSTALL_QML:/usr/lib/qt/qml
QT_INSTALL_TRANSLATIONS:/usr/share/qt/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/usr/share/doc/qt/examples
QT_INSTALL_DEMOS:/usr/share/doc/qt/examples
QT_HOST_PREFIX:/usr
QT_HOST_DATA:/usr/lib/qt
QT_HOST_BINS:/usr/bin
QT_HOST_LIBS:/usr/lib
QMAKE_SPEC:linux-g++
QMAKE_XSPEC:linux-g++
QMAKE_VERSION:3.1
QT_VERSION:5.15.3

and I find the folder that has such contents is the /usr/lib/qt6/qml and /usr/lib/qt/qml, here is the situations of them below

>>> ls /usr/lib/qt*/qml
/usr/lib/qt6/qml:
builtins.qmltypes  jsroot.qmltypes  Qt  Qt5Compat  QtCore  QtQml  QtQuick  QtTest  QtWayland  QtWebSockets

/usr/lib/qt/qml:
builtins.qmltypes  Qt             QtGraphicalEffects  QtLocation    QtPositioning  QtQuick    QtSensors  QtWayland     QtWebEngine  QtWebSockets    Ubuntu
org                QtAudioEngine  QtGStreamer         QtMultimedia  QtQml          QtQuick.2  QtTest     QtWebChannel  QtWebKit     SddmComponents
catsout commented 2 years ago

So mv usr/lib/qml/com /usr/lib/qt/qml/, should solve this problem.
BTW, what's your linux distribution?

matrikslee commented 2 years ago

my distribution is the latest archlinux and I move my /usr/lib/qml/com to /usr/lib/qt/qml, my desktop environment seems crash, and I found these logs in my journalctl seems that plasmashell crashed by backend/Scene.qml

4月 23 20:11:38 matriks-arch plasmashell[1977]: qml: load backend: backend/Scene.qml
4月 23 20:11:38 matriks-arch plasmashell[1977]: INFO INFO main looper started
4月 23 20:11:38 matriks-arch plasmashell[1977]: render looper started
4月 23 20:11:38 matriks-arch plasmashell[1977]: INFO source: /media/DATA/SteamLibrary/steamapps/workshop/content/431960/1519714143/scene.json
4月 23 20:11:38 matriks-arch plasmashell[1977]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/FullRepresentation.qml:22:1: QML FullRepr
esentation: Binding loop detected for property "implicitHeight"
4月 23 20:11:38 matriks-arch plasmashell[1977]: qt.core.qabstractitemmodel.checkindex: Index QModelIndex(-1,-1,0x0,QObject(0x0)) is not valid (expected valid)
4月 23 20:11:38 matriks-arch plasmashell[1977]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/FullRepresentation.qml:23:1: QML FullRepre
sentation: Binding loop detected for property "implicitHeight"
4月 23 20:11:38 matriks-arch plasmashell[1977]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/BarChart.qml:54:9: Unable to assign [undef
ined] to int
4月 23 20:11:38 matriks-arch plasmashell[1977]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/LineChart.qml:57:9: Unable to assign [und
efined] to int
4月 23 20:11:38 matriks-arch plasmashell[1977]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
4月 23 20:11:38 matriks-arch kded5[1142]: Registering ":1.130/StatusNotifierItem" to system tray
4月 23 20:11:38 matriks-arch plasmashell[1977]: Plasma Shell startup completed
4月 23 20:11:38 matriks-arch plasmashell[1977]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/LineChart.qml:57:9: Unable to assign [undefined] to int
4月 23 20:11:38 matriks-arch plasmashell[1977]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/BarChart.qml:54:9: Unable to assign [undefined] to int
4月 23 20:11:38 matriks-arch plasmashell[1977]: QProcess: Destroyed while process ("/bin/sh") is still running.
4月 23 20:11:38 matriks-arch plasmashell[1977]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/BarChart.qml:54:9: Unable to assign [undefined] to int
4月 23 20:11:38 matriks-arch plasmashell[1977]: qt.core.qabstractitemmodel.checkindex: Index QModelIndex(-1,-1,0x0,QObject(0x0)) is not valid (expected valid)
4月 23 20:11:38 matriks-arch plasmashell[1977]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/LineChart.qml:57:9: Unable to assign [undefined] to int
4月 23 20:11:38 matriks-arch plasmashell[1977]: Both point size and pixel size set. Using pixel size.
4月 23 20:11:38 matriks-arch plasmashell[1977]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/Tooltip.qml:54:9: QML GridLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
4月 23 20:11:38 matriks-arch plasmashell[1977]: Error: cannot change the containment to AppletsLayout
4月 23 20:11:38 matriks-arch plasmashell[1977]: 25 -- exe=/usr/bin/plasmashell
4月 23 20:11:38 matriks-arch plasmashell[1977]: 17 -- platform=wayland
4月 23 20:11:38 matriks-arch plasmashell[1977]: 20 -- appname=plasmashell
4月 23 20:11:38 matriks-arch plasmashell[1977]: 17 -- apppath=/usr/bin
4月 23 20:11:38 matriks-arch plasmashell[1977]: 10 -- signal=11
4月 23 20:11:38 matriks-arch plasmashell[1977]: 9 -- pid=1977
4月 23 20:11:38 matriks-arch plasmashell[1977]: 18 -- appversion=5.24.4
4月 23 20:11:38 matriks-arch plasmashell[1977]: 19 -- programname=Plasma
4月 23 20:11:38 matriks-arch plasmashell[1977]: 31 -- bugaddress=submit@bugs.kde.org
4月 23 20:11:38 matriks-arch plasmashell[1977]: 12 -- startupid=0
4月 23 20:11:38 matriks-arch plasmashell[1977]: KCrash: crashing... crashRecursionCounter = 2
4月 23 20:11:38 matriks-arch plasmashell[1977]: KCrash: Application Name = plasmashell path = /usr/bin pid = 1977
4月 23 20:11:38 matriks-arch plasmashell[1977]: KCrash: Arguments: /usr/bin/plasmashell --no-respawn
4月 23 20:11:38 matriks-arch kded5[1142]: Service  ":1.130" unregistered
4月 23 20:11:38 matriks-arch systemd[707]: plasma-plasmashell.service: Main process exited, code=exited, status=1/FAILURE
4月 23 20:11:38 matriks-arch systemd[707]: plasma-plasmashell.service: Failed with result 'exit-code'.
4月 23 20:11:38 matriks-arch systemd[707]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 5.
4月 23 20:11:38 matriks-arch systemd[707]: Stopped KDE Plasma Workspace.
4月 23 20:11:38 matriks-arch systemd[707]: plasma-plasmashell.service: Start request repeated too quickly.
4月 23 20:11:38 matriks-arch systemd[707]: plasma-plasmashell.service: Failed with result 'exit-code'.
4月 23 20:11:38 matriks-arch systemd[707]: Failed to start KDE Plasma Workspace.
catsout commented 2 years ago

Try to restart plasmashell.
if it still crashes, see https://github.com/catsout/wallpaper-engine-kde-plugin/blob/main/DEBUG.md.

catsout commented 2 years ago

BTW, I can't get https://steamcommunity.com/sharedfiles/filedetails/?id=1519714143.

matrikslee commented 2 years ago

reboot system also crashed, and at the command plasmashell --replace I get the logs below which always repeats on my shell

kf.plasma.quick: Applet preload policy set to 1
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:43:5: QML MouseArea: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:41: TypeError: Cannot read property 'length' of undefined
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:43:5: QML MouseArea: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:41: TypeError: Cannot read property 'length' of undefined
kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:43:5: QML MouseArea: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:41: TypeError: Cannot read property 'length' of undefined
qml: load backend: backend/Scene.qml
INFO main looper started
INFO render looper started
INFO source: /media/DATA/SteamLibrary/steamapps/workshop/content/431960/1519714143/scene.json
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/FullRepresentation.qml:22:1: QML FullRepresentation: Binding loop detected for property "implicitHeight"
qt.core.qabstractitemmodel.checkindex: Index QModelIndex(-1,-1,0x0,QObject(0x0)) is not valid (expected valid)
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/FullRepresentation.qml:23:1: QML FullRepresentation: Binding loop detected for property "implicitHeight"
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/BarChart.qml:54:9: Unable to assign [undefined] to int
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/LineChart.qml:57:9: Unable to assign [undefined] to int
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Plasma Shell startup completed
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/LineChart.qml:57:9: Unable to assign [undefined] to int
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/BarChart.qml:54:9: Unable to assign [undefined] to int
QProcess: Destroyed while process ("/bin/sh") is still running.
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.barchart/contents/ui/BarChart.qml:54:9: Unable to assign [undefined] to int
qt.core.qabstractitemmodel.checkindex: Index QModelIndex(-1,-1,0x0,QObject(0x0)) is not valid (expected valid)
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/LineChart.qml:57:9: Unable to assign [undefined] to int
Both point size and pixel size set. Using pixel size.
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/Tooltip.qml:54:9: QML GridLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Error: cannot change the containment to AppletsLayout
KCrash: Attempting to start /usr/bin/plasmashell
25 -- exe=/usr/bin/plasmashell
17 -- platform=wayland
20 -- appname=plasmashell
17 -- apppath=/usr/bin
10 -- signal=11
9 -- pid=8307
18 -- appversion=5.24.4
19 -- programname=Plasma
31 -- bugaddress=submit@bugs.kde.org
12 -- startupid=0
15 -- restarted=true
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasmashell path = /usr/bin pid = 8307
KCrash: Arguments: /usr/bin/plasmashell --replace 
The Wayland connection experienced a fatal error: 错误的文件描述符

and at the same time the command journalctl /usr/bin/plasmashell -f on another shell gets the logs below

4月 23 20:41:30 matriks-arch plasmashell[1161]: QObject::disconnect: Unexpected nullptr parameter
4月 23 20:41:30 matriks-arch plasmashell[1161]: QObject::disconnect: Unexpected nullptr parameter
4月 23 20:41:30 matriks-arch plasmashell[1161]: QObject::disconnect: Unexpected nullptr parameter
4月 23 20:41:30 matriks-arch plasmashell[1161]: QObject::disconnect: Unexpected nullptr parameter
4月 23 20:41:30 matriks-arch plasmashell[1161]: QObject::disconnect: Unexpected nullptr parameter
4月 23 20:41:30 matriks-arch plasmashell[1161]: QObject::disconnect: Unexpected nullptr parameter
4月 23 20:41:41 matriks-arch audit[5388]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=5388 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:41:43 matriks-arch audit[5442]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=5442 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:41:46 matriks-arch audit[5579]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=5579 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:41:47 matriks-arch audit[5625]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=5625 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:41:49 matriks-arch audit[5682]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=5682 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:41:51 matriks-arch audit[5796]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=5796 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:41:53 matriks-arch audit[5868]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=5868 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:41:56 matriks-arch audit[6173]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=6173 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:41:57 matriks-arch audit[6222]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=6222 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:42:23 matriks-arch audit[7010]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=7010 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:42:24 matriks-arch audit[5329]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=5329 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:42:24 matriks-arch audit[7061]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=7061 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:42:26 matriks-arch audit[7120]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=7120 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:42:37 matriks-arch audit[7567]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=7567 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:42:49 matriks-arch audit[7961]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=7961 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:42:59 matriks-arch audit[8307]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=8307 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1
4月 23 20:43:07 matriks-arch audit[8604]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=8604 comm="plasmashell" exe="/usr/bin/plasmashell" sig=11 res=1

it seems that using ./sceneviewer --valid-layer ... command is ok, I can get the standalone window that playbacks the media normally... the log is too long so I past it here: sceneviewer logs

catsout commented 2 years ago

You can always remove WallpaperSource line in ~/.config/plasma-org.kde.plasma.desktop-appletsrc and restart KDE to restore from crash.

Sadly these logs not show the key error, the left thing is testing the qml.
cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_QML=ON
make and try ./sceneviewer-qml --valid-layer ...

matrikslee commented 2 years ago

I remove the plugin and lib from my system because of the crash issue yesterday, the good message is that today I pull the repo and re-build local and install again, it works fine! thanks for your great work!