gannotate 0.6 release

Jan Hudec bulb at ucw.cz
Mon Oct 31 17:41:30 GMT 2005


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.

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

-- 
						 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/515a68f5/attachment.pgp 


More information about the bazaar mailing list