Bug 291148

Summary: KRunner: Error contacting the (PowerDevil) daemon
Product: [Plasma] krunner Reporter: Daniele Cocca <daniele.cocca>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: adaptee, drf, me
Priority: NOR Keywords: reproducible
Version: 4.9.4   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniele Cocca 2012-01-10 10:35:35 UTC
Version:           unspecified (using Devel) 
OS:                Linux

I see KRunner complains about this while starting up:

krunner(3357)/plasma PowerDevilRunner::updateStatus: Error contacting the daemon!

This seems to be the offdending D-Bus call:

https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/master/entry/plasma/generic/runners/powerdevil/PowerDevilRunner.cpp#L134

which points to a missing action in org.kde.Solid.PowerManagement:

https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/master/entry/powerdevil/daemon/org.kde.Solid.PowerManagement.xml

Reproducible: Always

Steps to Reproduce:
kquitapp krunner
(krunner 2>&1 &) | grep 'Error contacting the daemon'

Actual Results:  
krunner(3484)/plasma PowerDevilRunner::updateStatus: Error contacting the daemon!

Expected Results:  
Error should not appear.

Name           : kde-workspace
Version        : 4.7.97-1
Architecture   : x86_64
Build Date     : Wed Jan 4 22:08:50 2012
Comment 1 Jekyll Wu 2012-12-23 10:09:22 UTC
@Dario, could you take a look at this ?

git log shows that you added the availableProfiles dbus method and the call to it in the krunner plugin, then removed that dbus method sometime later but the call to it is still left in the krunner plugin.
Comment 2 Vishesh Handa 2015-02-13 17:52:32 UTC
Doesn't seem to be an issue with Plasma 5.