Bug 378650

Summary: Could not locate service type file kservicetypes5/kpackage-genericqml.desktop
Product: [Plasma] Plasma SDK Reporter: Chris Holland <zrenfire>
Component: plasmathemeexplorerAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: giorgos.tsiapaliokas
Priority: NOR    
Version First Reported In: 5.9.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Chris Holland 2017-04-11 05:30:08 UTC
Note: /usr/share/kservicetypes5/kpackage-generic.desktop exists, but I'm not sure if that's the wrong filename or if another desktop file should be installed.

Logs:

~
$ plasmathemeexplorer
Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json"
QCommandLineParser: option not defined: "default"
Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json"
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kpackage-genericqml.desktop, tried ("/home/chris/.local/share", "/usr/share/usr/share/xsessions/plasma", "/usr/local/share", "/usr/share", "/var/lib/snapd/desktop")
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json"
Segmentation fault (core dumped)

~
$ plasmathemeexplorer --theme UnityAmbiance
Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json"
Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json"
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kpackage-genericqml.desktop, tried ("/home/chris/.local/share", "/usr/share/usr/share/xsessions/plasma", "/usr/local/share", "/usr/share", "/var/lib/snapd/desktop")
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json"
Segmentation fault (core dumped)


OS: KDE Neon User (day of release), installed with `sudo apt install plasma-sdk`. plasmoidviewer works fine, so the package is still installed. I've opened this "app" in the past, so it did work before.
Comment 1 Chris Holland 2017-04-11 14:49:15 UTC
Restarting fixed the bug. Was planning on doing this if no one could confirm, but wanted to submit the logs first in case they were relavant. It doesn't look like it though (it was the segfault).

Looks like in the other logs it segfaults before: "ComboBox.qml:567: TypeError: Cannot read property '__dropDownStyle' of null".
No idea what caused it. Guess we'll wait on someone confirming this.

Here's the logs from a working launch:

$ plasmathemeexplorer 
Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json"
QCommandLineParser: option not defined: "default"
Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json"
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kpackage-genericqml.desktop, tried ("/home/chris/.local/share", "/usr/share/usr/share/xsessions/plasma", "/usr/local/share", "/usr/share", "/var/lib/snapd/desktop")
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ComboBox.qml:567: TypeError: Cannot read property '__dropDownStyle' of null
The image "opaque/dialogs/background" doesn't contain any of the prefixes ("shadow")
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")
Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json"
file:///usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/ui/main.qml:238: TypeError: Cannot read property 'delegate' of null
file:///usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/ui/delegates/framesvg.qml:52: TypeError: Cannot read property 'imagePath' of null
file:///usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/ui/delegates/framesvg.qml:33: TypeError: Cannot read property 'imagePath' of null
file:///usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/ui/main.qml:264: TypeError: Cannot read property 'usesFallback' of null
file:///usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/ui/main.qml:265: TypeError: Cannot read property 'isWritable' of null
file:///usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/ui/main.qml:256: TypeError: Cannot read property 'usesFallback' of null
file:///usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/ui/main.qml:251: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/ui/main.qml:246: TypeError: Cannot read property 'imagePath' of null
file:///usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/ui/main.qml:225: TypeError: Cannot read property 'isWritable' of null
file:///usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/ui/main.qml:90: TypeError: Cannot read property 'isWritable' of null
file:///usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/ui/main.qml:73: TypeError: Cannot read property 'isWritable' of null
The image "opaque/dialogs/background" doesn't contain any of the prefixes ("shadow")
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")
The image "opaque/dialogs/background" doesn't contain any of the prefixes ("shadow")
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")                                                                                                                                                                                     
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")                                                                                                                                                                                     
The image "opaque/widgets/panel-background" doesn't contain any of the prefixes ("shadow")
Comment 2 MichaƂ Dybczak 2017-04-13 17:46:58 UTC
Also had this bug but it went away with a reboot.
Comment 3 Justin Zobel 2022-11-04 03:10:34 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-11-19 05:13:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-12-04 05:15:25 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!