This is a multi-part message in MIME format. --===============0825451862734103449== Content-Type: multipart/alternative; boundary="------------060700050802010105000307" This is a multi-part message in MIME format. --------------060700050802010105000307 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Hi, I narrowed the problem down to that `kioexec` cannot be started. I can reproduce that by starting the latest KF5 ksnapshot and invoke any entry in the SendTo menu. This call in ksnapshot.cpp fails: (1) `KRun::run(*service, list, this, isTempfile);` It shows the KToolInvocation but no application appears. When I change the call to (2) `KRun::run(*service, QList(), this, isTempfile);` (pass no arguments) the call succeeds. In case (2) the service executable is started directly. In case (1) kioexec is used which fails to start. On the console it says ``` Couldn't start kded5 from org.kde.kded5.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5 was not provided by any .service files") , falling back to running kbuildsycoca5 ``` Might this be the reason that kioexec does not work? I am glad for any hint. Gregor On 30/11/14 21:19, Gregor Mi wrote: > Hello, > > what is the current state of the KService in frameworks branch? > > I ask because ksnapshot's SendTo menu invokes a KService method to start the chosen > application. When I click a menu item the launch indicator appears next to the mouse for a > short time. But no program gets started. > > I use kdesrcbuild to build everything and work on KDE 4 with KF5 environment variables > set. The behaviour can be reproduced on at least one other independently setuped computer. > > Gregor > > --------------060700050802010105000307 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit Hi,

I narrowed the problem down to that `kioexec` cannot be started.

I can reproduce that by starting the latest KF5 ksnapshot and invoke any entry in the SendTo menu.

This call in ksnapshot.cpp fails: (1) `KRun::run(*service, list, this, isTempfile);` It shows the KToolInvocation but no application appears.

When I change the call to (2) `KRun::run(*service, QList<QUrl>(), this, isTempfile);` (pass no arguments) the call succeeds.

In case (2) the service executable is started directly. In case (1) kioexec is used which fails to start.

On the console it says
```
Couldn't start kded5 from org.kde.kded5.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5 was not provided by any .service files") , falling back to running kbuildsycoca5
```

Might this be the reason that kioexec does not work? I am glad for any hint.

Gregor

On 30/11/14 21:19, Gregor Mi wrote:
Hello,

what is the current state of the KService in frameworks branch?

I ask because ksnapshot's SendTo menu invokes a KService method to start the chosen
application. When I click a menu item the launch indicator appears next to the mouse for a
short time. But no program gets started.

I use kdesrcbuild to build everything and work on KDE 4 with KF5 environment variables
set. The behaviour can be reproduced on at least one other independently setuped computer.

Gregor



--------------060700050802010105000307-- --===============0825451862734103449== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0825451862734103449==--