gannotate 0.6 release

Jan Hudec bulb at ucw.cz
Mon Oct 31 18:10:21 GMT 2005


On Mon, Oct 31, 2005 at 11:47:20 -0600, John A Meinel wrote:
> 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).

Well, I looked at http://dan.loda.name/bzr/gannotate/__init__.py and it does
not attempt to do late loading of gtk. And I suppose it's current, since
it's the announced URL.

Unfortunately PyGtk does not provide any means for late intialization, so
late loading of gtk would be required.

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

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051031/734cb8fe/attachment.pgp 


More information about the bazaar mailing list