View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#134
Originally Posted by noobmonkey View Post
Ok, tried again with the exec python part - doesnt make a difference
With X-Osso-Service present in your desktop file, changing the Exec field there won't make a difference. Edit /usr/share/dbus-1/services/HealthCheck.service instead.

If the problem is that it crashes after some seconds when starting it from the menu (starting it from the terminal shouldn't cause it to crash) you need to initialize an osso.Context since you're using X-Osso-Service.

Try something like:
Code:
import osso
osso_c = osso.Context("healthcheck", "666", True)
If that fails, too, then you can try replacing the previous X-Osso-Type line with X-Osso-Type=application/x-python

If that also fails, comment out the X-Osso-Service line in your desktop file. Of course, only try all this if your program doesn't crash when started from the terminal.
 

The Following 3 Users Say Thank You to qwerty12 For This Useful Post: