What steps will reproduce the problem?
1. python setup.py install --prefix=/usr/local
What is the expected output? What do you see instead?
crunchyfrog fails to start with the following:
Traceback (most recent call last):
File "/usr/local/bin/crunchyfrog", line 14, in <module>
cf.cmdline.run()
File "/usr/local/lib/python2.6/dist-packages/cf/cmdline.py", line 109, in run
instance = app.new_instance(args)
File "/usr/local/lib/python2.6/dist-packages/cf/app.py", line 201, in new_instance
instance = MainWindow(self, create_editor=create_editor)
File "/usr/local/lib/python2.6/dist-packages/cf/ui/mainwindow.py", line 82, in __init__
self.set_icon_list(*utils.get_logo_icon_list())
File "/usr/local/lib/python2.6/dist-packages/cf/ui/utils.py", line 30, in get_logo_icon_list
return tuple(get_logo_icon(size) for size in [24, 48, 96, 256])
File "/usr/local/lib/python2.6/dist-packages/cf/ui/utils.py", line 30, in <genexpr>
return tuple(get_logo_icon(size) for size in [24, 48, 96, 256])
File "/usr/local/lib/python2.6/dist-packages/cf/ui/utils.py", line 36, in get_logo_icon
return gtk.gdk.pixbuf_new_from_file(os.path.join(icon_dir, fname))
glib.GError: Failed to open file
'/usr/share/crunchyfrog/pixmaps/crunchyfrog_24x24.png': No such file or
directory
This is due to cf/__init__.py:33 containing a wrong prefix:
PREFIX = '/usr/'
This should match --prefix as given during installation.
What version of the product are you using? On what operating system? Python
version?
crunchyfrog taken from HG: changeset: 682:8ae023528370
Please provide any additional information below.
Original issue reported on code.google.com by j...@silawal.com on 21 Aug 2010 at 3:41
Original issue reported on code.google.com by
j...@silawal.com
on 21 Aug 2010 at 3:41