Bzr and DBus

Andrew Bennetts andrew at canonical.com
Wed May 7 01:25:11 BST 2008


Russel Winder wrote:
[...]
> "/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/__init__.py", line
> 67, in <module>
>     from activity import Activity, LanGateway
>   File
> "/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/activity.py", line
> 28, in <module>
>     import dbus.service
> ImportError: No module named dbus.service
> 
> I am guessing that bzr-dbus is the problem.  Does it perhaps amend the
> search path and forget the standard Python library?

I wonder if it's possible that /usr/lib/python2.5/site-packages/bzrlib/plugins
is on PYTHONPATH?  Then "import dbus" could find the bzrlib plugin, rather than
the top-level dbus package.

-Andrew.




More information about the bazaar mailing list