Error running olive-gtk if bzr-gtk is installed in home with: python setup.py install --home ~
Error message: "Glade file cannot be found." (no traceback). bzr-gtk: 0.90.0 and trunk (r274).
Related bug #69497
Quick fix:
=== modified file 'olive/guifiles.py' --- olive/guifiles.py 2007-04-19 21:30:38 +0000 +++ olive/guifiles.py 2007-09-03 22:12:47 +0000 @@ -22,6 +22,7 @@ "/usr/local/share/olive/olive.glade", "/opt/share/olive/olive.glade", "/opt/local/share/olive/olive.glade", + "~/share/olive/olive.glade", ]
# Get the glade file name @@ -36,6 +37,7 @@ GLADEFILENAME = None
for path in GLADEFILENAMES: + path = os.path.expanduser(path) if os.path.isfile(path): GLADEFILENAME = path break
-- Regards, Mario
Error running olive-gtk if bzr-gtk is installed in home with: python setup.py install --home ~
Error message: "Glade file cannot be found." (no traceback).
bzr-gtk: 0.90.0 and trunk (r274).
Related bug #69497
Quick fix:
=== modified file 'olive/guifiles.py'
"/ usr/local/ share/olive/ olive.glade" ,
"/ opt/share/ olive/olive. glade",
"/ opt/local/ share/olive/ olive.glade" , olive/olive. glade",
--- olive/guifiles.py 2007-04-19 21:30:38 +0000
+++ olive/guifiles.py 2007-09-03 22:12:47 +0000
@@ -22,6 +22,7 @@
+ "~/share/
]
# Get the glade file name
@@ -36,6 +37,7 @@
GLADEFILENAME = None
for path in GLADEFILENAMES: expanduser( path) isfile( path):
GLADEFILENAME = path
+ path = os.path.
if os.path.
break
--
Regards,
Mario