/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py:8196: GtkWarning: gtk_disable_setlocale() must be called before gtk_init()
return _core_.PyApp__BootstrapApp(*args, **kwargs)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 16765, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/usr/share/phatch/phatch/pyWx/gui.py", line 1218, in show_frame
frame = Frame(self.filename, None, -1, ct.TITLE)
File "/usr/share/phatch/phatch/pyWx/gui.py", line 327, in __init__
frame.Frame.__init__(self, *args, **keyw)
File "/usr/share/phatch/phatch/pyWx/wxGlade/frame.py", line 141, in __init__
self.tree = Tree(self, -1, style=wx.TR_HAS_BUTTONS|wx.TR_NO_LINES|wx.TR_FULL_ROW_HIGHLIGHT|wx.TR_HIDE_ROOT|wx.TR_DEFAULT_STYLE|wx.SUNKEN_BORDER)
File "/usr/share/phatch/phatch/pyWx/wxGlade/frame.py", line 26, in __init__
set_dirty = parent.set_dirty,
File "/usr/share/phatch/phatch/lib/pyWx/treeEdit.py", line 96, in __init__
self.CreateImageList(icon_size)
File "/usr/share/phatch/phatch/lib/pyWx/treeEdit.py", line 111, in CreateImageList
self._AddFormToImageList(form, icon_size, icon_disabled)
File "/usr/share/phatch/phatch/lib/pyWx/treeEdit.py", line 120, in _AddFormToImageList
wx_image = pil_wxImage(wxImage_pil(wx_image).resize(icon_size,\
File "/usr/share/phatch/phatch/lib/pyWx/wxPil.py", line 45, in wxImage_pil
image = Image.new('RGB', size)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2051, in new
_check_size(size)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2027, in _check_size
raise ValueError("Size must be a tuple")
ValueError: Size must be a tuple
PS: this is my output when running from terminal:
/usr/lib/ python2. 7/dist- packages/ wx-3.0- gtk2/wx/ _core.py: 8196: GtkWarning: gtk_disable_ setlocale( ) must be called before gtk_init() PyApp__ BootstrapApp( *args, **kwargs) python2. 7/dist- packages/ wx-3.0- gtk2/wx/ _core.py" , line 16765, in <lambda> *event. args, **event.kw) ) phatch/ phatch/ pyWx/gui. py", line 1218, in show_frame filename, None, -1, ct.TITLE) phatch/ phatch/ pyWx/gui. py", line 327, in __init__ Frame._ _init__ (self, *args, **keyw) phatch/ phatch/ pyWx/wxGlade/ frame.py" , line 141, in __init__ TR_HAS_ BUTTONS| wx.TR_NO_ LINES|wx. TR_FULL_ ROW_HIGHLIGHT| wx.TR_HIDE_ ROOT|wx. TR_DEFAULT_ STYLE|wx. SUNKEN_ BORDER) phatch/ phatch/ pyWx/wxGlade/ frame.py" , line 26, in __init__ phatch/ phatch/ lib/pyWx/ treeEdit. py", line 96, in __init__ CreateImageList (icon_size) phatch/ phatch/ lib/pyWx/ treeEdit. py", line 111, in CreateImageList _AddFormToImage List(form, icon_size, icon_disabled) phatch/ phatch/ lib/pyWx/ treeEdit. py", line 120, in _AddFormToImageList wxImage_ pil(wx_ image). resize( icon_size, \ phatch/ phatch/ lib/pyWx/ wxPil.py" , line 45, in wxImage_pil python2. 7/dist- packages/ PIL/Image. py", line 2051, in new size(size) python2. 7/dist- packages/ PIL/Image. py", line 2027, in _check_size
return _core_.
Traceback (most recent call last):
File "/usr/lib/
lambda event: event.callable(
File "/usr/share/
frame = Frame(self.
File "/usr/share/
frame.
File "/usr/share/
self.tree = Tree(self, -1, style=wx.
File "/usr/share/
set_dirty = parent.set_dirty,
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
wx_image = pil_wxImage(
File "/usr/share/
image = Image.new('RGB', size)
File "/usr/lib/
_check_
File "/usr/lib/
raise ValueError("Size must be a tuple")
ValueError: Size must be a tuple