| Summary: | System Load plasmoid can't display load for each separate CPU | ||
|---|---|---|---|
| Product: | [Unmaintained] kdeplasma-addons | Reporter: | t.schmittlauch |
| Component: | systemloadviewer | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | jghodd, t.schmittlauch |
| Priority: | NOR | ||
| Version First Reported In: | 5.8.2 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
t.schmittlauch
2016-11-01 14:00:43 UTC
I can confirm that this is still an issue in kdeplasma-addons-5.8.3. There appear to be a couple of separate errors now, one for an undefined variable - memApplication - in SystemLoadViewer.qml, and another that appears to be a failure to retrieve the correct data from systemmonitor. Here are the relevant log file entries: plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:246: TypeError: Cannot read property 'value' of undefined plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:246: TypeError: Cannot read property 'value' of undefined plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:246: TypeError: Cannot read property 'value' of undefined plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:253: TypeError: Cannot read property 'value' of undefined plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/CompactBarMonitor.qml:45:20: Unable to assign [undefined] to QColor The "Cannot read property 'value' of undefined" errors are related to dataSource.memFree and dataSource.swapFree. The workaround described by spiollinux@googlemail.com does seem to alleviate the "all CPUs" issue in the compact bar display itself (although unsatisfactorily), although the mouseover-tooltip now, in v5.8.3, shows nothing but "System load" without any data. It's my guess that the last error message: plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/CompactBarMonitor.qml:45:20: Unable to assign [undefined] to QColor is at the root of the missing cpu display columns. *** This bug has been marked as a duplicate of bug 366324 *** |