On 12/14/07, Michal Vrchota <[EMAIL PROTECTED]> wrote:
> Hello, when i run this not as a root, the error is pretty much same.
>
> [EMAIL PROTECTED]:~/PocketPC/sync-engine/tools$ python
> list_partnerships.py
> Traceback (most recent call last):
>   File "list_partnerships.py", line 9, in <module>
>     engine =
> dbus.Interface(dbus.SessionBus().get_object(DBUS_SYNCENGINE_BUSNAME,
> DBUS_SYNCENGINE_OBJPATH), DBUS_SYNCENGINE_BUSNAME)
>   File "/var/lib/python-support/python2.5/dbus/bus.py", line 240, in
> get_object
>     follow_name_owner_changes=follow_name_owner_changes)
>   File "/var/lib/python-support/python2.5/dbus/proxies.py", line 236, in
> __init__
>     self._named_service = conn.activate_name_owner(bus_name)
>   File "/var/lib/python-support/python2.5/dbus/bus.py", line 179, in
> activate_name_owner
>     self.start_service_by_name(bus_name)
>   File "/var/lib/python-support/python2.5/dbus/bus.py", line 277, in
> start_service_by_name
>     'su', (bus_name, flags)))
>   File "/var/lib/python-support/python2.5/dbus/connection.py", line 603,
> in call_blocking
>     message, timeout)
> dbus.exceptions.DBusException:
> org.freedesktop.DBus.Error.ServiceUnknown: The name org.synce.SyncEngine
> was not provided by any .service files
> [EMAIL PROTECTED]:~/PocketPC/sync-engine/tools$
>
>
> So what do You think could be possible wrong?

Heh, only seem the same to an untrained eye :-)

For the list_partnerships.py script to work sync-engine needs to be
running (and not as root), otherwise the script won't be able to find
it on dbus and will crash like this.

John

-------------------------------------------------------------------------
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

Reply via email to