[maemo-developers] [maemo-developers] Problem running UI in scratchbox

From: Peter.Hagg at tietoenator.com Peter.Hagg at tietoenator.com
Date: Wed Dec 14 10:17:00 EET 2005
Hi Peter, 

there's a bug in Maemo Bugzilla regarding plugins & Scratchbox [1]. This issue is also mentioned in MaemoWiki [2].

In order to get applications, plugins, and such installed with osso-application-installer to work in Scratchbox properly, make sure you do a 'source /etc/osso-af-init/osso-application-installer.defs' before 'af-sb-init.sh start'. 

Those messages regarding plugin loading are warnings, i.e. nothing fatal. They appear because the Maemo SDK doesn't contain the plugins that are hard-wired into maemo-af-desktop.


Regards, 

- Pete -

[1] https://maemo.org/bugzilla/show_bug.cgi?id=245
[2] http://maemo.org/maemowiki/Known_Issues


-----Original Message-----
From: maemo-developers-bounces at maemo.org on behalf of Peter Heitman
Sent: Tue 12/13/2005 7:39 PM
To: maemo-developers at maemo.org
Subject: [maemo-developers] Problem running UI in scratchbox
 
I built the hello-world-app for both i686 and for arm. It works (!) on 
the 770 itself but doesn't under scratchbox. I seem to be having 
problems running plugins under scratchbox. Note that maemopad runs fine 
in this environment but that when I start up I get the following errors 
about running plugins. Has anyone seen this before? Is there something I 
can do to resolve this?

Thanks in advance, Peter

 > af-sb-init.sh start
Sample files present.
Starting DBUS system bus
Starting D-BUS session bus daemon
Starting Sapwood image server
sapwood-server[7735]: GLIB INFO default - server started
Starting Matchbox window manager
Starting Keyboard
Starting MAEMO AF Desktop
[sbox-SDK_PC: ~/projects/pc/hello-world-app] > maemo_af_desktop[7769]: 
GLIB CRITICAL ** GLib-GObject - g_object_set: assertion `G_IS_OBJECT 
(object)' failed
TRACE LOG: status_bar_main: 1 g_new0
TRACE LOG: status_bar_main: 2 check panel ptr
TRACE LOG: status_bar_main: 3: init dock
TRACE LOG: status_bar_main: 4 add prespecified items
maemo_af_desktop[7769]: HildonStatusBarItem: Unable to open plugin sound
maemo_af_desktop[7769]: Statusbar item add failed for sound
maemo_af_desktop[7769]: HildonStatusBarItem: Unable to open plugin internet
maemo_af_desktop[7769]: Statusbar item add failed for internet
maemo_af_desktop[7769]: HildonStatusBarItem: Unable to open plugin gateway
maemo_af_desktop[7769]: Statusbar item add failed for gateway
maemo_af_desktop[7769]: HildonStatusBarItem: Unable to open plugin battery
maemo_af_desktop[7769]: Statusbar item add failed for battery
maemo_af_desktop[7769]: HildonStatusBarItem: Unable to open plugin display
maemo_af_desktop[7769]: Statusbar item add failed for display
TRACE LOG: status_bar_main: 5 add user items
maemo_af_desktop[7769]: HildonStatusBarItem: Unable to open plugin 
helloworld_sb
maemo_af_desktop[7769]: Statusbar item add failed for helloworld_sb
TRACE LOG: status_bar_main: 6 gtk widget show all
TRACE LOG: status_bar_main: 7 if rpc...
TRACE LOG: status_bar_main: 8, status bar initialized successfully
maemo_af_desktop[7769]: Unable to open Hildon loader Plugin 
/var/lib/install/usr/lib/hildon-home/libhelloworld-home.so
maemo_af_desktop[7769]: Unable to open Hildon loader Plugin 
/var/lib/install/usr/lib/hildon-home/libhelloworld-home.so

_______________________________________________
maemo-developers mailing list
maemo-developers at maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


More information about the maemo-developers mailing list