Reply
Thread Tools
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#1
How do I debug the application launch process via the dbus service?

I have X-Osso-Service in app.desktop file defined.
I have the app.service file.
I have osso_initialize(PACKAGE_DBUS_NAME, PACKAGE_VERSION, TRUE, NULL); in app start.
But the application launcher does not start my app. It shows blank screen with app name and spinner but the app is not launched.

I tried replacing the app binary with simple script with "touch /tmp/app" and the file is not created when I select the app in app menu - so the app is not even launched.

I'm puzzled.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
You may laugh or cry, but...:

In /usr/share/dbus-1/services/pcsx.service, you put "[D-Bus Service]" at the top. I replaced it with "[D-BUS Service]" and all's good.

Last edited by qwerty12; 2010-03-14 at 10:51.
 

The Following 4 Users Say Thank You to qwerty12 For This Useful Post:
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#3
Holy s...
Thanks
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#4
The error is in the guide: http://wiki.forum.nokia.com/index.ph...application_UI
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 

The Following User Says Thank You to smoku For This Useful Post:
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#5
Originally Posted by smoku View Post
The error is in the guide: http://wiki.forum.nokia.com/index.ph...application_UI
Bug report in bugs.maemo.org, please! Thanks in advance!
__________________
maemo.org Bugmaster
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#6
Sure: https://bugs.maemo.org/show_bug.cgi?id=9543
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
javispedro's Avatar
Posts: 2,351 | Thanked: 5,243 times | Joined on Jan 2009 @ Barcelona
#7
for this stuff, I suggest the SDK x86 target. You can kill dbus and launch it with debug flags, recompile it with your own trace statements, etc. Did wonders in the initial phases of the DrNokSnes GUI (which you might have seen uses a two process approach), when everything I had were headaches.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#8
Good tip. Thanks.

I tried dbus-monitor, but it didn't give me any good.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#9
Originally Posted by smoku View Post
Sure: https://bugs.maemo.org/show_bug.cgi?id=9543
Bug has been fixed. Now you find the right service file there.

Daniel
 

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


 
Forum Jump


All times are GMT. The time now is 22:25.