[Bug 285314] New: knotify and other dbus services could not be started

Ralf Habacker ralf.habacker at freenet.de
Sun Oct 30 13:25:39 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=285314

           Summary: knotify and other dbus services could not be started
           Product: kde-windows
           Version: 4.7.0
          Platform: MS Windows
        OS/Version: MS Windows
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: buildsystem
        AssignedTo: kde-windows at kde.org
        ReportedBy: ralf.habacker at freenet.de


Version:           4.7.0 (using KDE 4.7.0) 
OS:                MS Windows

With recent kde buildsystems there are problems with installed pathes of dbus
services installed in <install-root>/share/dbus-1/services

The kde-runtime dbus service org.kde.knotify.service contains the build time
install path, which is normally not the runtime install path. 



Reproducible: Always

Steps to Reproduce:
Install at least kde-runtime using kdewin installer, open a command shell and
run: 

dbus-send --session --print-reply --dest=org.freedesktop.DBus
/org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName
string:org.kde.knotify uint32:0

Actual Results:  
The service is not started and the following error message will be printed 

Error org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program
c:/kde/build/bin/knotify4: Das System kann die angegebene Datei nicht finden.

Expected Results:  
The service should be started indicated by the following printed message 

method return sender=org.freedesktop.DBus -> dest=:1.1 reply_serial=2
   uint32 1

The solution is to use a relative path for the dbus service executable path. 

This require a fix of the related service cmake buildsystem. 

This error may affect all KDE dbus services installed on windows and it not
bound to kde-runtime only.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-windows mailing list