Hi, I hope this is the right topic :) I am running Ubuntu 7.10 with HTC TyTN WM6 - I have done everything according to the manual
Run odccm as root, connecting device is fine. But I can not run any python tools (for partnership management) from sync-engine, because DBUS will always fail. Device is connected! [EMAIL PROTECTED]:~/$ pls Directory 2007-10-06 18:32:34 Personal/ Directory 2007-06-01 01:00:18 Templates/ Directory 2007-10-06 18:32:34 My Videos/ Directory 2007-10-06 18:32:36 My Ringtones/ Directory 2007-10-06 18:32:40 My Music/ Directory 2007-10-06 18:32:40 My Midlets/ DBUS & ODCCM is running! [EMAIL PROTECTED]:~/synce-gnome-0.10.0/src$ ps aux | grep *dbus* techi 7408 0.0 0.1 2984 756 pts/0 R+ 10:34 0:00 grep *dbus* [EMAIL PROTECTED]:~/synce-gnome-0.10.0/src$ ps aux | grep dbus 103 4700 0.0 0.2 3036 1200 ? Ss 07:15 0:01 /usr/bin/dbus-daemon --system root 4743 0.0 0.2 2772 1256 ? S 07:15 0:00 dbus-daemon --session --print-address --nofork techi 5649 0.0 0.1 4436 544 ? Ss 07:15 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager techi 5652 0.0 0.1 2700 644 ? S 07:15 0:00 /usr/bin/dbus-launch --exit-with-session x-session-manager techi 5653 0.0 0.2 2908 1072 ? Ss 07:15 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 8 --session dhcp 7341 0.0 0.2 2416 1164 ? S 10:33 0:00 /sbin/dhclient -1 -lf /var/lib/dhcp3/dhclient.eth1.leases -pf /var/run/dhclient.eth1.pid -q -e dhc_dbus=31 -d eth1 techi 7410 0.0 0.1 2988 780 pts/0 S+ 10:34 0:00 grep dbus [EMAIL PROTECTED]:~/synce-gnome-0.10.0/src$ ps aux | grep dbus 103 4700 0.0 0.2 3036 1200 ? Ss 07:15 0:01 /usr/bin/dbus-daemon --system root 4743 0.0 0.2 2772 1256 ? S 07:15 0:00 dbus-daemon --session --print-address --nofork techi 5649 0.0 0.1 4436 544 ? Ss 07:15 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager techi 5652 0.0 0.1 2700 644 ? S 07:15 0:00 /usr/bin/dbus-launch --exit-with-session x-session-manager techi 5653 0.0 0.2 2908 1072 ? Ss 07:15 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 8 --session dhcp 7341 0.0 0.2 2416 1164 ? S 10:33 0:00 /sbin/dhclient -1 -lf /var/lib/dhcp3/dhclient.eth1.leases -pf /var/run/dhclient.eth1.pid -q -e dhc_dbus=31 -d eth1 techi 7431 0.0 0.1 2980 756 pts/0 R+ 10:35 0:00 grep dbus [EMAIL PROTECTED]:~/synce-gnome-0.10.0/src$ ps aux | grep odccm root 7221 0.0 0.3 3728 1596 ? Ss 10:32 0:00 odccm techi 7519 0.0 0.1 2984 760 pts/0 R+ 10:36 0:00 grep odccm [EMAIL PROTECTED]:~/synce-gnome-0.10.0/src$ but it can not access DBUS from python, altough all required packages are installed (python2.5, python-dbus, notification-python, libdbus etc.) [EMAIL PROTECTED]:~/synce-gnome-0.10.0/src$ sudo python test.py Traceback (most recent call last): File "test.py", line 120, in <module> TestApp() File "test.py", line 20, in __init__ session_bus = dbus.SessionBus() File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 218, in __new__ mainloop=mainloop) File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 107, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/var/lib/python-support/python2.5/dbus/bus.py", line 121, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. I have no idea what can be possibly wrong. This piece of code - dbus.SessionBus() - just does not work I have read that DBUS API is unstable, but I think with most updated packages from recent ubuntu, everything should be just fine. Thanks for any help ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ SynCE-Devel mailing list SynCE-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel