Bug 422673 - Plasma monitor doesn't show anything.
Summary: Plasma monitor doesn't show anything.
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor widgets (show other bugs)
Version: 5.19.0
Platform: Neon Linux
: VHI grave
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
: 422708 422710 422728 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-09 13:27 UTC by antailyaqwer
Modified: 2020-06-18 02:47 UTC (History)
10 users (show)

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


Attachments
Widget on desktop. (31.66 KB, image/png)
2020-06-09 14:15 UTC, antailyaqwer
Details
Sensor details (56.72 KB, image/png)
2020-06-09 14:16 UTC, antailyaqwer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antailyaqwer 2020-06-09 13:27:16 UTC
SUMMARY
Plasma monitor doesn't work correctly. It shows nothing. I suppose the reason is it can't see any sensors - in options I can't choose any sensor (on any preset: net speed, hard disk activity, etc...).

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2020-06-09 13:33:02 UTC
Can I have a screenshot?

Also can you include the output of:

qdbus org.kde.ksystemstats /  
qdbus org.kde.kstats /
Comment 2 antailyaqwer 2020-06-09 14:15:53 UTC
Created attachment 129159 [details]
Widget on desktop.
Comment 3 antailyaqwer 2020-06-09 14:16:23 UTC
Created attachment 129160 [details]
Sensor details
Comment 4 antailyaqwer 2020-06-09 14:20:24 UTC
(In reply to David Edmundson from comment #1)
> Can I have a screenshot?
> 
> Also can you include the output of:
> 
> qdbus org.kde.ksystemstats /  
> qdbus org.kde.kstats /

No problem. sorry, it's my first report.
First command doesn't work at all.
Second command (don't know how to hide smth to spoiler):

method QDBusRawType::a{s(sssuuddi)} org.kde.KSysGuardDaemon.allSensors()
signal void org.kde.KSysGuardDaemon.newSensorData(QDBusRawType::a(sv sensorData)
signal void org.kde.KSysGuardDaemon.sensorAdded(QString sensorId)
method QDBusRawType::a(sv) org.kde.KSysGuardDaemon.sensorData(QStringList sensorIds)
signal void org.kde.KSysGuardDaemon.sensorMetaDataChanged(QDBusRawType::a{s(sssuuddi metaData)
signal void org.kde.KSysGuardDaemon.sensorRemoved(QString sensorId)
method QDBusRawType::a{s(sssuuddi)} org.kde.KSysGuardDaemon.sensors(QStringList sensorsIds)
method void org.kde.KSysGuardDaemon.subscribe(QStringList sensorIds)
method void org.kde.KSysGuardDaemon.unsubscribe(QStringList sensorIds)
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method QVariantMap org.freedesktop.DBus.Properties.GetAll(QString interface_name)
signal void org.freedesktop.DBus.Properties.PropertiesChanged(QString interface_name, QVariantMap changed_properties, QStringList invalidated_properties)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()
method QString org.freedesktop.DBus.Peer.GetMachineId()
method void org.freedesktop.DBus.Peer.Ping()
Comment 5 S. Christian Collins 2020-06-09 16:02:28 UTC
A bunch of us on the KDE neon users Telegram chat are experiencing this as well after upgrading to Plasma 5.19. I was also able to reproduce the issue in VirtualBox after running KDE neon User Edition with the Plasma 5.19 update. This likely affects all KDE neon User Edition users.

Monitoring through System Monitor (KSysGuard) works fine.

Here is my kstats output (ksystemstats receives no reply):
signal void org.kde.KSysGuardDaemon.newSensorData({D-Bus type "a(sv)"} sensorData)
signal void org.kde.KSysGuardDaemon.sensorAdded(QString sensorId)
signal void org.kde.KSysGuardDaemon.sensorMetaDataChanged({D-Bus type "a{s(sssuuddi)}"} metaData)
signal void org.kde.KSysGuardDaemon.sensorRemoved(QString sensorId)
method {D-Bus type "a{s(sssuuddi)}"} org.kde.KSysGuardDaemon.allSensors()
method {D-Bus type "a(sv)"} org.kde.KSysGuardDaemon.sensorData(QStringList sensorIds)
method {D-Bus type "a{s(sssuuddi)}"} org.kde.KSysGuardDaemon.sensors(QStringList sensorsIds)
method void org.kde.KSysGuardDaemon.subscribe(QStringList sensorIds)
method void org.kde.KSysGuardDaemon.unsubscribe(QStringList sensorIds)
signal void org.freedesktop.DBus.Properties.PropertiesChanged(QString interface_name, QVariantMap changed_properties, QStringList invalidated_properties)
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method QVariantMap org.freedesktop.DBus.Properties.GetAll(QString interface_name)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()
method QString org.freedesktop.DBus.Peer.GetMachineId()
method void org.freedesktop.DBus.Peer.Ping()
Comment 6 Marcelo Bossoni 2020-06-09 20:16:11 UTC
qdbus org.kde.ksystemstats times out for me
Error: org.freedesktop.DBus.Error.NoReply
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.


qdbus org.kde.kstats only works if ksysguard is openend
Comment 7 David Edmundson 2020-06-09 20:32:36 UTC
I appreciate this is a somewhat unhelpful comment, but I just did an install of a clean Neon Testing  ISO and that is working correctly.

(as is my local laptop)

Will check User Edition.
Comment 8 David Edmundson 2020-06-09 20:47:16 UTC
Got it :( I'm such a clumsy idiot.

There was a very last minute file rename.
 
I checked everything worked, but it left the frickin' bus name in the DBus activation file is wrong. I'm sure I checked it, but I probably still had the old files lying about so it still worked.
Comment 9 David Edmundson 2020-06-09 20:53:46 UTC
At this point, I may as well just backport the patches that use matching dbus service name instead of trying to minimise the patch delta.

Fix will be out in 5.19.1.
Comment 10 natherul0 2020-06-10 06:57:57 UTC
*** Bug 422708 has been marked as a duplicate of this bug. ***
Comment 11 natherul0 2020-06-10 06:58:46 UTC
*** Bug 422710 has been marked as a duplicate of this bug. ***
Comment 12 Antonio Rojas 2020-06-10 09:29:56 UTC
*** Bug 422728 has been marked as a duplicate of this bug. ***
Comment 13 Matheus 2020-06-18 02:47:25 UTC
Working on 5.19.1 after reinstalling the widgets.