Problems with olive-gtk on Ubuntu Hardy

David Ingamells david.ingamells at mapscape.eu
Tue Dec 2 11:34:36 GMT 2008


Running olive on Ubuntu Gutsy Gibbon  worked OK, but with Hardy Heron I 
am getting the following error:

/data/users/david.ingamells/bazaar/bzr-gtk-0.95.0$ olive-gtk
Traceback (most recent call last):
  File "/data/id/release/bzr/current/bin/olive-gtk", line 94, in <module>
    app = OliveGtk()
  File 
"/data/id/release/bzr/bzr-1.9/lib/python/bzrlib/plugins/gtk/olive/__init__.py", 
line 91, in __init__
    self.window = OliveGui(calling_app = self)
  File 
"/data/id/release/bzr/bzr-1.9/lib/python/bzrlib/plugins/gtk/olive/window.py", 
line 37, in __init__
    
self.set_icon_list(gtk.gdk.pixbuf_new_from_file(icon_path("oliveicon2.png")),
TypeError: pixbuf_new_from_file() argument 1 must be string, not None

It looks like oliveicon2.png is not being found.

When I look in the bzr-gtk code of __init__.py (as installed) I see:

def data_basedirs():
    return [os.path.dirname(__file__),
             "/usr/share/bzr-gtk",
             "/usr/local/share/bzr-gtk"]

This is wrong as I installed from the source package with:

python setup.py install --home xxxxx

where xxx is not /usr/...

It looks like the install of bzr-gtk is not correctly using the --home 
option.
thanks,
David.





More information about the bazaar mailing list