Bzr and DBus
Russel Winder
russel.winder at concertant.com
Fri May 9 09:31:48 BST 2008
Andrew,
On Fri, 2008-05-09 at 18:01 +1000, Andrew Bennetts wrote:
> Russel Winder wrote:
> > |> 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.
> > |>
>
> I see you are using “bzr+ssh” — so I'm guessing that it's actually an error on
> the server side, and the stderr on the server is just being passed through to
> stderr on the client by openssh. Try these two commands, and compare their
> output:
Good point, I had not cottoned on to the fact that the message was
coming from the server end rather than the client end -- though arguably
I should have done. Perhaps there is a hint here that some way of
"tagging" the messages so that the user knows which bit of Bazaar is
sending which message might be worth it? I suspect Bazaar aficionados
will just know anyway, but it would help people coming to Bazaar.
> - “bzr rocks”, and
> - “ssh dimen.russel.org.uk bzr rocks”
|> bzr rocks
It sure does!
|> ssh dimen.russel.org.uk bzr rocks
Unable to load plugin 'dbus' from
'/usr/lib/python2.5/site-packages/bzrlib/plugins'
It sure does!
|>
OK, there is confirmation, the problem is definitely on the server.
Graham can now stop worrying and just blame me :-)
On the server (dimen):
|> ll /usr/lib/python2.5/site-packages/bzrlib/plugins
total 36
drwxr-xr-x 7 root root 4096 2008-05-03 08:39 ./
drwxr-xr-x 16 root root 8192 2008-04-30 15:33 ../
drwxr-xr-x 3 root root 4096 2008-04-30 15:38 builddeb/
drwxr-xr-x 3 root root 4096 2008-04-30 15:33 bzrtools/
drwxr-xr-x 3 root root 4096 2008-05-03 08:39 dbus/
lrwxrwxrwx 1 root root 46 2008-04-30 15:27 __init__.py
-> /usr/share/pyshared/bzrlib/plugins/__init__.py
-rw-r--r-- 1 root root 192 2008-04-30 15:33 __init__.pyc
drwxr-xr-x 2 root root 4096 2008-04-30 15:33 launchpad/
drwxr-xr-x 3 root root 4096 2008-04-30 15:38 svn/
|>
So it would appear that the dbus module is actually there.
|> python
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus
>>> import dbus.service
>>>
--
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/53975483/attachment.pgp
More information about the bazaar
mailing list