Bug 461442 - Error loading desktop containment: Namespace 'org.kde.plasma.plasmoid' has already been used for type registration
Summary: Error loading desktop containment: Namespace 'org.kde.plasma.plasmoid' has al...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-11-05 00:25 UTC by Natalie Clarius
Modified: 2022-11-08 07:14 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
error message on the desktop background (218.46 KB, image/png)
2022-11-05 00:25 UTC, Natalie Clarius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Natalie Clarius 2022-11-05 00:25:58 UTC
Created attachment 153482 [details]
error message on the desktop background

Not sure if this is just me having screwed up with the build somehow, but I haven't been able to find out what's wrong.  

In the Plasma development session, the following error message appears on the wallpaper (see attached screenshot):  
 >file:///home/natalie/kde/usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:12:1: plugin cannot be loaded for module "org.kde.plasma.plasmoid": Namespace 'org.kde.plasma.plasmoid' has already been used for type registration

The error message goes away and shows the normal wallpaper when I switch between desktop and folder view, but the next time I login in appears again.

The error occurs both with my ordinary user and my completely uncustomized test account, but only on git master, not in the stable session. 

I didn't mess around with any code related to the desktop containment. The only thing I can recall that may be related is that I experimented with plasma-apply-colorscheme, which will also affect the wallpaper. 

It's been like this for maybe two or three weeks. Refresh-building plasma-desktop and plasma-workspace and deleting ~/kde/usr/share/plasma didn't resolve it.
Comment 1 Nicolas Fella 2022-11-08 00:53:23 UTC
Sounds like the issue some of us had a while ago. That was caused by a no longer existing file not being cleaned up

rm -r kde/usr/qml/org/kde/plasma/plasmoid or something like that should fix it
Comment 2 Natalie Clarius 2022-11-08 07:14:08 UTC
Yup, that fixed it.