2006/6/27, Luca Donaggio &lt;<a href="mailto:donaggio@gmail.com">donaggio@gmail.com</a>&gt;:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>I created a .deb for i386 and installed it in Scratchbox with dpkg -i. Result is that DBUS was looking for &quot;com.nokia.grsync&quot; service, while in grsync.service service's name is defined as &quot;it.opbyte.grsync
&quot;; I changed my .desktop accordingly:
<br><br>X-Osso-Service=it.opbyte.grsync<br><br>and it worked!<br>Now I still have to understand why it doesn't come up hildonized!</div></blockquote><div><br>Definitely today is not my day! I solved the &quot;not hildonized&quot; issue, I missed a CFLAGS=&quot;-DMAEMO2&quot; in debian/rules!
<br><br>However, when launching the application from the menu in Scratchbox this is what I see on the terminal:<br><br>hn-wm.c:264,hn_wm_top_service()&nbsp; Called with 'it.opbyte.grsync'<br>hn-wm.c:302,hn_wm_top_service() ### Failed to read memory limits, using scratchbox ??
<br>hn-wm.c:335,hn_wm_top_service() unable to find service name 'it.opbyte.grsync' in running wins<br>hn-wm.c:336,hn_wm_top_service() Thus launcing via osso_manager_launch()<br>hn-wm.c:1210,hn_wm_dbus_method_call_handler() Checking if service: '
it.opbyte.grsync' is watchable<br>&nbsp;</div>and the application is usable for some seconds (&lt; 1 min.) then it suddenly dies without any error (it doesn't segfaoult, though).<br>I remember something similar used to happen with IT2005 too, and it was related to DBUS not being able to properly register the service.
<br>This is what I do in main.c:<br><br>&nbsp; gtk_init (&amp;argc, &amp;argv);<br><br>&nbsp; [...]<br><br>&nbsp; program = HILDON_PROGRAM(hildon_program_get_instance());<br>&nbsp; osso_context = osso_initialize(PACKAGE, VERSION, FALSE, NULL);
<br>&nbsp; g_assert(osso_context);<br>&nbsp; main_window = HILDON_WINDOW(create_main ());<br>&nbsp; hildon_program_add_window(program, main_window);<br>&nbsp; g_set_application_name(_(&quot;Grsync&quot;));<br>&nbsp; gtk_widget_show_all (GTK_WIDGET(main_window));
<br>&nbsp; g_signal_connect(G_OBJECT(main_window), &quot;delete_event&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; G_CALLBACK(gtk_main_quit), NULL);<br>&nbsp; gtk_main();<br><br>Any clue?<br></div><br>