andialbrecht / crunchyfrog

Head over to RunSQLRun, the successor of CrunchyFrog
http://runsqlrun.org
GNU General Public License v3.0
4 stars 2 forks source link

Missing Icon set causes AttributeError #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Fresh install of Ubuntu 10.10
2. sudo apt-get install crunchyfrog crunchyfrog-gnome
3. AttributeError running crunchyfrog.

Running Version 0.4.1.  I'm sure it's just a missing icon-set dependency, but I 
am unsure what icon set this icon exists in.

/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not 
open display
  warnings.warn(str(e), _gtk.Warning)
/home/mjs7231/Sources/crunchyfrog/cf/ui/pane.py:33: GtkWarning: 
gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  it = gtk.icon_theme_get_default()
Traceback (most recent call last):
  File "./crunchyfrog", line 14, in <module>
    cf.cmdline.run()
  File "/home/mjs7231/Sources/crunchyfrog/cf/cmdline.py", line 92, in run
    from cf.app import CFApplication
  File "/home/mjs7231/Sources/crunchyfrog/cf/app.py", line 39, in <module>
    from ui.mainwindow import MainWindow
  File "/home/mjs7231/Sources/crunchyfrog/cf/ui/mainwindow.py", line 34, in <module>
    from cf.ui import pane
  File "/home/mjs7231/Sources/crunchyfrog/cf/ui/pane.py", line 34, in <module>
    info = it.load_icon('stock_book_green', gtk.ICON_SIZE_MENU,
AttributeError: 'NoneType' object has no attribute 'load_icon'

Original issue reported on code.google.com by mjs7...@gmail.com on 13 Jan 2011 at 8:53

GoogleCodeExporter commented 9 years ago
Sorry, I jumped the gun, this is false should be closed. :-/

Original comment by mjs7...@gmail.com on 13 Jan 2011 at 9:01

GoogleCodeExporter commented 9 years ago

Original comment by albrecht.andi on 14 Jan 2011 at 4:34