Thread: rtcom_el_new
View Single Post
morusaka's Avatar
Posts: 15 | Thanked: 11 times | Joined on Jan 2010 @ Italy
#4
Thank you Daniel for your reply, I'll check the link.

I can give you more details about how I performed my test:

1) I start scratchbox

Code:
# scratchbox
Welcome to Scratchbox, the cross-compilation toolkit!
Use 'sb-menu' to change your compilation target.
See /scratchbox/doc/ for documentation.
[sbox-FREMANTLE_X86: ~] >
2) I start xephyr (otherwise my program complains that D-Bus is not running)
Code:
(I do this from another bash)
# /usr/local/bin/start_xephyr.sh
3) I run the test

Ok, I noticed that the message I receive actually isn't an error: it seems to be only a warning.
My test runs, but it complains a lot:
Code:
process 4016: arguments to dbus_connection_add_filter() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5257.
This is normally a bug in some application using the D-Bus library.
python2.5[4016]: GLIB WARNING ** default - Could not add dbus filter: (null)
process 4016: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2657.
This is normally a bug in some application using the D-Bus library.
python2.5[4016]: GLIB MESSAGE default - Plugin registered: CALL.
python2.5[4016]: GLIB MESSAGE default - Plugin registered: CHAT.
python2.5[4016]: GLIB MESSAGE default - Plugin registered: SMS.
process 4016: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3099.
This is normally a bug in some application using the D-Bus library.
python2.5[4016]: GLIB WARNING ** default - Could not send signal!
process 4016: arguments to dbus_connection_flush() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3390.
This is normally a bug in some application using the D-Bus library.
process 4016: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2657.
This is normally a bug in some application using the D-Bus library.
python2.5[4016]: GLIB WARNING ** default - rtcom_el_plugin_get_value: here: gint, gboolean
python2.5[4016]: GLIB WARNING ** default - rtcom_el_plugin_get_value: here ends
The program runs, ok, but it is annoying to see all these warnings.

I've also tried your suggestion:

Code:
(i tried this *AFTER* starting xephyr AND scratchbox)
[sbox-FREMANTLE_X86: ~/MyDocs/maemo/rtcom-eventlogger] > af-sb-init.sh start
but my program's output remains the same.

Thank you,

Luca-