View Single Post
vebulous's Avatar
Posts: 12 | Thanked: 6 times | Joined on Nov 2010 @ Florida
#65
I too am having problems with Advanced Interface Switcher (and Advanced Power Monitor, program made by same author) not showing up on the applet menu (or statusbar, or whatever that thing is called).

As per OP's suggestion for debugging, i ran
Code:
python /usr/lib/hildon-desktop/advanced-interface-switcher.py 1
But it said
Code:
 [Errno 2] No such file or directory
did a quick "ls" to see what files were in /usr/lib/hildon-desktop; the problem was and it turns out you have to use underscores "_" instad of dashes "-".

So the correct code to run is
Code:
python /usr/lib/hildon-desktop/advanced_interface_switcher.py 1
Anyway, after running the python script i get this as an output
Code:
process 4681: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-bus library.
process 4681: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-bus library.
Aborted
Now, I dont know what to do from here. I know enough about linux just to break it, but not how to fix it

Thanks to anyone who tries to pick at this, its greatly appreciated.

BACKSTORY: I had this same problem but i cant remember if it was before or after PR1.3. The programs failed to show up, but after some time, they both started working...it might have to do with D-Bus itself, but im not sure. And yes, i did the whole "reflash" then "reboot" then "reboot again". No dice. Also tried POWATOOLS and see if enabling then disabling would fix. No go.

But when the program does work (along with Advanced Power Monitor) they are awesome. I don't know why this isn't enabled by default in Maemo?

EDIT: Ran the same command for Advanced Power
Code:
python /usr/lib/hildon-desktop/advanced_power.py 1
Got nearly the same output
Code:
process 4682: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-bus library.
process 4682: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-bus library.
Aborted
Only the process number changed. Just thought I'd throw it out there.

Last edited by vebulous; 2010-11-19 at 05:22. Reason: Update info