GNOME Bugzilla – Bug 418041
Epilicious confguration doesn't work
Last modified: 2007-03-14 08:23:11 UTC
Select Tools > Epilicious Configuration. Nothing happens. Console output: (epiphany:15758): libglade-WARNING **: could not find glade file '/opt/gnome-2.18/share/epiphany-extensions/glade/epilicious-config.glade' Traceback (most recent call last):
+ Trace 118412
config = ConfigWindow()
'epilicious-config.glade'), domain='epilicious')
Part of the problem is that the /opt/gnome-2.18 ... path is hard coded into config.py.
(In reply to comment #1) > Part of the problem is that the /opt/gnome-2.18 ... path is hard coded into > config.py. > Are the glade files installed at all? I was under the impression that the following lines in extensions/epilicious/Makefile.am would install the glade files (they did the last time I tested it): gladedir = $(pkgdatadir)/glade glade_DATA = \ epilicious-config.glade \ epilicious-progress.glade $(gladedir) is used to provide the "hard coding" of the location in config.py (or rather in epilicious.py).
Yes, the files are installed under /usr/share/epiphany-extensions/glade/. As you say, I found that these paths are dynamically generated with the autogen/make/make install process. However something clearly went wrong when generating the RPM containing this glade path.
The problem is that the epilicious.py file gets distributed. It's generated from the .in on build, and ends up in the tarball (so contains the paths from MY build); but it's not being regenerated when YOU build it.
Should be fixed in svn trunk and gnome-2-18. Until 2.18.1, as a workaround, just delete epilicious.py and it'll be regenerated on build.
Created attachment 84559 [details] [review] Attempt at fix Untested, but based on automake's documentation I'm fairly confident it'll work.