Bzr and DBus
Russel Winder
russel.winder at concertant.com
Fri May 9 07:17:02 BST 2008
On Wed, 2008-05-07 at 09:37 +0800, James Henstridge wrote:
> So the fact that Russel's traceback was saying that it couldn't find
> "dbus.service" rather than "service" seems to indicate that it
> couldn't even import the top level "dbus" module.
It gets weirder. Graham Roberts spotted that he was getting this error
message on his Mac OS X machine (I mainly use Ubuntu). So I gave it a
go and also get the message:
|> bzr push
Using saved location: bzr
+ssh://dimen.russel.org.uk/home/www/www.russel.org.uk/html/Bazaar/SCons_Core/
Unable to load plugin 'dbus' from
'/usr/lib/python2.5/site-packages/bzrlib/plugins'
No new revisions to push.
|>
Why is this totally weird? Well /usr/lib/python2.5 doesn't exist on the
Macports port, which is what Graham and I are using. On my Mac OS X
machine I appear to have a number versions of Python -- I am guessing
that the ones in macports are actually symbolic links not copies..
/Library/Frameworks/Python.framework/Versions/2.4
/Library/Frameworks/Python.framework/Versions/2.5
/System/Library/Frameworks/Python.framework/Versions/2.3
/opt/local/Library/Frameworks/Python.framework/Versions/2.4
/opt/local/lib/python2.4
/opt/local/lib/python2.5
/opt/local/var/macports/software/bzr/1.3.1_0/opt/local/lib/python2.5
/opt/local/var/macports/software/bzr/1.3_0/opt/local/lib/python2.5
/opt/local/var/macports/software/bzr/1.4_0/opt/local/lib/python2.5
The point is that /usr/lib/python2.5 doesn't appear anywhere. So the
path is hardwired in the code somewhere rather than being generated by
the path of the Python in use.
I am beginning to wonder if the message itself is totally spurious? It
is still a bug, it shouldn't appear at all but maybe it is reporting the
wrong thing?
--
Russel.
====================================================
Dr Russel Winder Partner
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084
London SW11 1EN, UK. m: +44 7770 465 077
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080509/fae1599e/attachment.pgp
More information about the bazaar
mailing list