gtomasini
Hi, I'm new using this editor and I have some issue when I try to launch it, something about wx lib (python). What version the python do I need, 2.7 or 3.x? thanks

guille@aspire-5560:~/OpenPLC_Editor$ ./ openplc_editor.sh
Traceback (most recent call last):
File "Beremiz.py", line 203, in AppStart
self.BackgroundInitialization()
File "Beremiz.py", line 136, in BackgroundInitialization
self.ImportModules()
File "Beremiz.py", line 179, in ImportModules
mod = __import__(modname)
File "/home/guille/OpenPLC_Editor/editor/BeremizIDE.py", line 45, in <module>
from editors.EditorPanel import EditorPanel
File "/home/guille/OpenPLC_Editor/editor/editors/EditorPanel.py", line 29, in <module>
from controls import VariablePanel
File "/home/guille/OpenPLC_Editor/editor/controls/__init__.py", line 29, in <module>
from controls.CustomEditableListBox import CustomEditableListBox
File "/home/guille/OpenPLC_Editor/editor/controls/CustomEditableListBox.py", line 31, in <module>
class CustomEditableListBox(wx.gizmos.EditableListBox):
AttributeError: 'module' object has no attribute 'EditableListBox'
Traceback (most recent call last):
File "/home/guille/.espressif/python_env/idf4.2_py2.7_env/lib/python2.7/site-packages/wx/core.py", line 3383, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/home/guille/OpenPLC_Editor/editor/util/ExceptionHandler.py", line 52, in Display_Exception_Dialog
cap = wx.Window_GetCapture()
AttributeError: 'module' object has no attribute 'Window_GetCapture'
Traceback (most recent call last):
File "/home/guille/.espressif/python_env/idf4.2_py2.7_env/lib/python2.7/site-packages/wx/core.py", line 3383, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/home/guille/OpenPLC_Editor/editor/util/ExceptionHandler.py", line 52, in Display_Exception_Dialog
cap = wx.Window_GetCapture()
AttributeError: 'module' object has no attribute 'Window_GetCapture'
Quote 0 0
gtomasini
it's python 2.7 I saw in the .sh
Quote 0 0
thiagoralves
Try running ./ install.sh first
Quote 0 0