Не работает Phatch

Ответить
Аватара пользователя
Fossa
Сообщения: 31
Зарегистрирован: 01 фев 2013, 18:05
Operating system: ROSA Desktop.fresh R8 Plasma (4)

Не работает Phatch

Сообщение Fossa » 29 апр 2017, 11:48

При включении только значок на экране. На R8 то же самое.
~ $ phatch
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14656, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/usr/lib/python2.7/site-packages/phatch/pyWx/gui.py", line 1221, in show_frame
frame = Frame(self.filename, None, -1, ct.TITLE)
File "/usr/lib/python2.7/site-packages/phatch/pyWx/gui.py", line 327, in __init__
frame.Frame.__init__(self, *args, **keyw)
File "/usr/lib/python2.7/site-packages/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/lib/python2.7/site-packages/phatch/pyWx/wxGlade/frame.py", line 26, in __init__
set_dirty = parent.set_dirty,
File "/usr/lib/python2.7/site-packages/phatch/lib/pyWx/treeEdit.py", line 96, in __init__
self.CreateImageList(icon_size)
File "/usr/lib/python2.7/site-packages/phatch/lib/pyWx/treeEdit.py", line 111, in CreateImageList
self._AddFormToImageList(form, icon_size, icon_disabled)
File "/usr/lib/python2.7/site-packages/phatch/lib/pyWx/treeEdit.py", line 120, in _AddFormToImageList
wx_image = pil_wxImage(wxImage_pil(wx_image).resize(icon_size,\
File "/usr/lib/python2.7/site-packages/phatch/lib/pyWx/wxPil.py", line 45, in wxImage_pil
image = Image.new('RGB', size)
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 2021, in new
_check_size(size)
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1997, in _check_size
raise ValueError("Size must be a tuple")
ValueError: Size must be a tuple
Core i7 /GTX660M 2GB/ 8 Gb RAM /Rosa R8 x86_64

Ответить