gannotate 0.6 release

John A Meinel john at arbash-meinel.com
Mon Oct 31 17:47:20 GMT 2005


Jan Hudec wrote:
> On Mon, Oct 31, 2005 at 10:41:22 -0600, John A Meinel wrote:
>> Mark Rosenstand wrote:
>>> Hi Dan,
>>>
>>> Dan Loda <danloda at gmail.com> wrote:
>>>> gannotate is a GTK+ annotation plugin. Now with with emacs vc-annotate
>>>> like highlighting.
>>> gannotate seems to cause trouble when using bzr over ssh. No matter what I
>>> do, I get this warning:
>>>
>>> bzr: WARNING: Unable to load plugin 'gannotate' from
>>> '/usr/lib/python2.4/site-packages/bzrlib/plugins'
>>>
>> Does it always do that, or just when you use an ssh target?
>>
>> Can you do:
>>
>> BZR_DEBUG=1 bzr <whatever>
>>
>> The debug request will put the traceback of why it couldn't load the
>> plugin into ~/.bzr.log
>>
>> Martin- Shouldn't it always print the traceback?
> 
> I strongly suspect the problem to be, that gannotate/__init__.py imports gtk
> and gtk attemtps to connect to X and fails.

I thought with the latest gannotate that it somewhere tried to do a late
loading of gtk, so that it wouldn't try to bind against X right away. (I
vaguely remember a post about that).
I would certainly hope that it would. Because while I might always
forward my X session because sometimes I need it. I don't want bzr to
slow down for all commands because it needs to connect to my local X
over a tunnel.

But certainly that is a possibility.

John
=:->

> 
> bulb at efreet:~$ python
> Python 2.3.5 (#2, Aug 31 2005, 03:10:40)
> [GCC 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import pygtk
>>>> import gtk
>>>>
> bulb at efreet:~$ DISPLAY= python
> Python 2.3.5 (#2, Aug 31 2005, 03:10:40)
> [GCC 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import pygtk
>>>> import gtk
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 37, in ?
>     from _gtk import *
> RuntimeError: could not open display
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051031/3dd30521/attachment.pgp 


More information about the bazaar mailing list