[Bug 384536] [NEW] Olive fails to start when installed with macports

Francis Hart francis.hart at gmail.com
Sun Jun 7 16:45:56 BST 2009


Public bug reported:

When installed via macports, olive-gtk fails to start.

The following error message is output:
Traceback (most recent call last):
  File "/opt/local/bin/olive-gtk", line 94, in <module>
    app = OliveGtk()
  File "/opt/local/lib/python2.5/site-packages/bzrlib/plugins/gtk/olive/__init__.py", line 91, in __init__
    self.window = OliveGui(calling_app = self)
  File "/opt/local/lib/python2.5/site-packages/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

I believe this is because maports installs it under /opt/local, and
hence it fails to find an certain file during startup.

I fixed it locally by editing __init__.py, and adding the /opt/local/share/bzr-gtk to the search directories (line ~108):
    def data_basedirs():
        return [os.path.dirname(__file__),
                 "/usr/share/bzr-gtk",
                 "/usr/local/share/bzr-gtk",
                 "/opt/local/share/bzr-gtk"]

** Affects: bzr-gtk
     Importance: Undecided
         Status: New

-- 
Olive fails to start when installed with macports
https://bugs.launchpad.net/bugs/384536
You received this bug notification because you are a member of Bazaar
GTK maintainers, which is subscribed to Bazaar GTK+ Frontends.



More information about the bzr-gtk mailing list