Bug 488907 - Weather Report in System Tray Displays a QML-related error
Summary: Weather Report in System Tray Displays a QML-related error
Status: RESOLVED DUPLICATE of bug 487464
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 6.1.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-21 17:02 UTC by Eamonn Rea
Modified: 2024-07-01 18:08 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eamonn Rea 2024-06-21 17:02:11 UTC
SUMMARY
When configuring the Weather Report option in System Tray to be always visible, and then right-clicking on it to configure it, the configure option is greyed out. When clicking on it, I see "Sorry! There was an error loading Weather Report" and the error logs below.

```
file:///usr/share/plasma/plasmoids/org.kde.plasma.weather/contents/ui/main.qml:438:25: Type FullRepresentation unavailable

file:///usr/share/plasma/plasmoids/org.kde.plasma.weather/contents/ui/FullRepresentation.qml:38:24: Cannot assign object of type "QQC2.Action" to property of type "Action_QMLTYPE_134*" as the former is neither the same as the latter nor a sub-class of it.
```

A restart may fix this, but in case it does not, I am reporting it (it may also be a bug nonetheless that may need resolved, that I just happened to encounter).

I have a Weather Report widget configured from a long time back on my Desktop PC prior to Plasma 6, and it does not have this issue.

STEPS TO REPRODUCE
1. Enable Weather Report from System Tray
2. Click on the icon that appears in the System Tray
3. The error message may be displayed.

OBSERVED RESULT
Weather Report displays an error and prevents configuration.

EXPECTED RESULT
Weather Report should be configurable.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.9.5 Linux Zen
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
Unsure if this affects X11
Comment 1 Nate Graham 2024-06-21 19:03:26 UTC
Can you please make a backup of ~/.cache? After that, you can delete the contents of that folder, which will fix the issue.

Once you've backed up ~/.cache, it would be very useful if we could get the contents of ~/.cache/plasmashell/qmlcache/ for inspection.

*** This bug has been marked as a duplicate of bug 487904 ***
Comment 2 Eamonn Rea 2024-06-21 19:50:14 UTC
I have made a backup of the `.cache` folder and will happlly share it, is it fine to upload it here or could it contain some information that should be provided directly to KDE devs instead somehow?

I also tried removing the `.cache` folder afterwards and the widget is still not working. I have not tried rebooting yet, although I suspect that would fix the issue.
Comment 3 Nate Graham 2024-06-21 20:00:25 UTC
Yeah, you need to reboot or restart just plasmashell to make the cache removal take effect. You can upload the cache stuff publicly, but to avoid over-sharing, go ahead and only upload an archive of the folder path I indicated. And also, can you attach it to Bug 487904, rather than here?
Comment 4 Eamonn Rea 2024-06-21 20:14:52 UTC
No problem, I'll attach only an archive of the specified path `~/.cache/plasmashell/qmlcache/` (where `~/.cache` is the backed up cache folder) to the mentioned Bug Report.

Thanks!
Comment 5 Nate Graham 2024-07-01 18:08:08 UTC

*** This bug has been marked as a duplicate of bug 487464 ***