Bug 478753 - No sensors are functional in both the system monitor app and widgets
Summary: No sensors are functional in both the system monitor app and widgets
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-20 08:40 UTC by Prajna Sariputra
Modified: 2023-12-20 10:09 UTC (History)
2 users (show)

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


Attachments
Screenshot of the broken system monitor and the empty list of sensors in a KDE Neon Unstable VM (564.64 KB, image/png)
2023-12-20 08:40 UTC, Prajna Sariputra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Prajna Sariputra 2023-12-20 08:40:23 UTC
Created attachment 164304 [details]
Screenshot of the broken system monitor and the empty list of sensors in a KDE Neon Unstable VM

SUMMARY
After updating to today's git master, the system monitor app only shows blank circles, boxes and graphs, and system monitor widgets just show the configure button. If edit mode is enabled in the app's edit mode, it says "This page is missing some sensors and will not display correctly." at the top, and the list of available sensors is completely empty (so not even things like CPU usage appear).

Resetting the system monitor app's settings by deleting `~/.config/plasma-systemmonitorrc` does not fix the problem.

I am getting this issue on both my Arch Linux + kdesrc-build setup as well as in a KDE Neon Unstable VM (installed with an older ISO but updated today).


STEPS TO REPRODUCE
1. Update to the latest git master
2. Open the System Monitor app

OBSERVED RESULT
The only thing working properly is the application and process list views.

EXPECTED RESULT
All the sensors like CPU, RAM and so on should be working.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.90
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Kernel Version: 6.6.7-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
In the system logs I see ksystemstats reporting warnings like `kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Fan %1" msgid_plural: "" msgctxt: "@title %1 is a number"`, but no other relevant warnings/errors that I can see.

On my Arch system the plasma-ksystemstats service gets killed by systemd after some time due to the start operation timing out, but that doesn't happen in the Neon Unstable VM.
Comment 1 Arjen Hiemstra 2023-12-20 10:09:52 UTC
Yeah, sorry, there were changes to make sure Plasma 6 System Monitor doesn't try to use Plasma 5 ksystemstats but I messed up the merge order. https://invent.kde.org/plasma/ksystemstats/-/merge_requests/68 has been merged now so a clean build should work.