nasuf
app-title:
beremiz

app-version:
1.0
Release: 2019-09-20

cwd:
/home/nasuf/OpenPLC_Editor/editor

date:
Thu Dec 31 04:24:52 2020

e-type:
<type 'exceptions.ValueError'>

e-value:
invalid null reference in method 'ImageList_Add', expected argument 2 of type 'wxBitmap const &'

locals:
args: (<wx._gdi.ImageList; proxy of <Swig Object of type 'wxImageList *' at 0x55c1d467bd30> >, None)
kwargs: {}

platform:
Linux-5.4.0-58-generic-x86_64-with-Ubuntu-20.04-focal

python-version:
2.7.18

traceback:
File "Beremiz.py", line 204, in AppStart
self.CreateUI()
File "Beremiz.py", line 188, in CreateUI
self.frame = self.BeremizIDE.Beremiz(None, self.projectOpen, self.buildpath)
File "/home/nasuf/OpenPLC_Editor/editor/BeremizIDE.py", line 410, in __init__
IDEFrame.__init__(self, parent, debug)
File "/home/nasuf/OpenPLC_Editor/editor/IDEFrame.py", line 699, in __init__
self._init_ctrls(parent)
File "/home/nasuf/OpenPLC_Editor/editor/BeremizIDE.py", line 316, in _init_ctrls
IDEFrame._init_ctrls(self, prnt)
File "/home/nasuf/OpenPLC_Editor/editor/IDEFrame.py", line 595, in _init_ctrls
wx.TR_EDIT_LABELS))
File "/home/nasuf/OpenPLC_Editor/editor/controls/CustomTree.py", line 59, in __init__
CT.CustomTreeCtrl.__init__(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/lib/agw/customtreectrl.py", line 2821, in __init__
self.SetImageListCheck(16, 16)
File "/home/nasuf/OpenPLC_Editor/editor/controls/CustomTree.py", line 79, in SetImageListCheck
self.ExtraImages[image] = self._imageListCheck.Add(GetBitmap(image.upper()))
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_gdi.py", line 6735, in Add
return _gdi_.ImageList_Add(*args, **kwargs)
<type 'exceptions.ValueError'>: invalid null reference in method 'ImageList_Add', expected argument 2 of type 'wxBitmap const &'

wx-platform:
__WXGTK__

wx-version:
3.0.2.0
Reply 0 0
Reply