gannotate 0.6 release

Jan Hudec bulb at ucw.cz
Mon Oct 31 21:06:36 GMT 2005


On Mon, Oct 31, 2005 at 12:46:51 -0800, Dan Loda wrote:
> On Mon, 2005-10-31 at 19:10 +0100, Jan Hudec wrote:
> > > > 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.
> 
> Thanks everyone. I just fixed this. It's sufficiently annoying that I
> will do a bugfix release. 

One more suggestion -- perhaps you could not bother registering the command
at all if DISPLAY is not set.

-- 
						 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/1d2a2295/attachment.pgp 


More information about the bazaar mailing list