Bug 461442

Summary: Error loading desktop containment: Namespace 'org.kde.plasma.plasmoid' has already been used for type registration
Product: [Plasma] plasmashell Reporter: Natalie Clarius <natalie_clarius>
Component: ContainmentAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, nicolas.fella, notmart, qydwhotmail
Priority: NOR Keywords: regression
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: error message on the desktop background

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.