Error loading theme icon

Zhong Ren renz at uchicago.edu
Mon Oct 2 12:37:02 PDT 2006


I am new to wxPython, but I managed to write some test
programs successfully.  There is one error that I cannot
resolve so far.  Could someone help?  All the png's below are
indeed there.  I am puzzled by "invalid window size".  Is this
an installation problem?  Thanks.

Zhong


Linux x86_64
Python 2.5
wxPython 2.6.3.3

>>> import wx
>>> wx.App()
<wx._core.App; proxy of C++ wxPyApp instance at
_00a3880000000000_p_wxPyApp>
>>> md = wx.MessageDialog(parent=None, message="info",
style=wx.OK)
>>> md.ShowModal()

(python:25430): Gtk-WARNING **: Error loading theme icon for
stock: Failed to load image
'/usr/share/icons/Bluecurve/24x24/stock/gtk-ok.png': Fatal
error in PNG image file: invalid window size

(python:25430): Gtk-WARNING **: Error loading theme icon for
stock: Failed to load image
'/usr/share/icons/Bluecurve/48x48/stock/gtk-dialog-info.png':
Fatal error in PNG image file: invalid window size

(python:25430): Gtk-WARNING **: Error loading theme icon for
stock: Failed to load image
'/usr/share/icons/Bluecurve/24x24/stock/gtk-ok.png': Fatal
error in PNG image file: invalid window size

(python:25430): Gtk-WARNING **: Error loading theme icon for
stock: Failed to load image
'/usr/share/icons/Bluecurve/24x24/stock/gtk-ok.png': Fatal
error in PNG image file: invalid window size




More information about the wxpython-users mailing list