First, I had the following error message.
python Beremiz.py
Traceback (most recent call last):
File "Beremiz.py", line 225, in <module>
beremiz = BeremizIDELauncher()
File "Beremiz.py", line 45, in __init__
self.app_dir = paths.AbsDir(__file__)
File "/home/ezer/Documents/research/beremiz/beremiz/util/paths.py", line 39, in AbsDir
file = AbsFile(file)
File "/home/ezer/Documents/research/beremiz/beremiz/util/paths.py", line 34, in AbsFile
file = text(file, sys.getfilesystemencoding())
TypeError: decoding str is not supported
I bypassed the line which caused the error. Then, I faced the following error:
`Traceback (most recent call last):
File "Beremiz.py", line 226, in <module>
beremiz.Start()
File "Beremiz.py", line 220, in Start
self.InstallExceptionHandler()
File "Beremiz.py", line 183, in InstallExceptionHandler
import version
File "/home/ezer/Documents/research/beremiz/beremiz/version.py", line 224, in <module>
app_version = app_version + "-" + rev.rstrip()
TypeError: must be str, not bytes`
I then converted the rev.rstrip() to the string. Then, there are multiple error messages as follows:
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/ezer/Documents/research/beremiz/beremiz/BeremizIDE.py", line 44, in <module>
from editors.EditorPanel import EditorPanel
File "/home/ezer/Documents/research/beremiz/beremiz/editors/EditorPanel.py", line 29, in <module>
from controls import VariablePanel
File "/home/ezer/Documents/research/beremiz/beremiz/controls/__init__.py", line 29, in <module>
from controls.CustomEditableListBox import CustomEditableListBox
File "/home/ezer/Documents/research/beremiz/beremiz/controls/CustomEditableListBox.py", line 31, in <module>
class CustomEditableListBox(wx.gizmos.EditableListBox):
AttributeError: module 'wx.gizmos' has no attribute 'EditableListBox'
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/ezer/Documents/research/beremiz/beremiz/BeremizIDE.py", line 44, in <module>
from editors.EditorPanel import EditorPanel
File "/home/ezer/Documents/research/beremiz/beremiz/editors/EditorPanel.py", line 29, in <module>
from controls import VariablePanel
File "/home/ezer/Documents/research/beremiz/beremiz/controls/__init__.py", line 29, in <module>
from controls.CustomEditableListBox import CustomEditableListBox
File "/home/ezer/Documents/research/beremiz/beremiz/controls/CustomEditableListBox.py", line 31, in <module>
class CustomEditableListBox(wx.gizmos.EditableListBox):
AttributeError: module 'wx.gizmos' has no attribute 'EditableListBox'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ezer/.local/lib/python3.6/site-packages/wx/core.py", line 3285, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "Beremiz.py", line 211, in AppStart
self.handle_exception(*sys.exc_info(), exit=True)
File "/home/ezer/Documents/research/beremiz/beremiz/util/ExceptionHandler.py", line 140, in handle_exception
save_bug_report(e_type, e_value, e_traceback, bug_report_path, date)
File "/home/ezer/Documents/research/beremiz/beremiz/util/ExceptionHandler.py", line 115, in save_bug_report
info['locals'] = format_namespace(exception_locals)
File "/home/ezer/Documents/research/beremiz/beremiz/util/ExceptionHandler.py", line 90, in format_namespace
return '\n'.join(['%s%s: %s' % (indent, k, repr(v)[:10000]) for k, v in d.iteritems()])
AttributeError: 'dict' object has no attribute 'iteritems'
Error in sys.excepthook:
Traceback (most recent call last):
File "/home/ezer/Documents/research/beremiz/beremiz/util/ExceptionHandler.py", line 140, in handle_exception
save_bug_report(e_type, e_value, e_traceback, bug_report_path, date)
File "/home/ezer/Documents/research/beremiz/beremiz/util/ExceptionHandler.py", line 115, in save_bug_report
info['locals'] = format_namespace(exception_locals)
File "/home/ezer/Documents/research/beremiz/beremiz/util/ExceptionHandler.py", line 90, in format_namespace
return '\n'.join(['%s%s: %s' % (indent, k, repr(v)[:10000]) for k, v in d.iteritems()])
AttributeError: 'dict' object has no attribute 'iteritems'
Original exception was:
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/ezer/Documents/research/beremiz/beremiz/BeremizIDE.py", line 44, in <module>
from editors.EditorPanel import EditorPanel
File "/home/ezer/Documents/research/beremiz/beremiz/editors/EditorPanel.py", line 29, in <module>
from controls import VariablePanel
File "/home/ezer/Documents/research/beremiz/beremiz/controls/__init__.py", line 29, in <module>
from controls.CustomEditableListBox import CustomEditableListBox
File "/home/ezer/Documents/research/beremiz/beremiz/controls/CustomEditableListBox.py", line 31, in <module>
class CustomEditableListBox(wx.gizmos.EditableListBox):
AttributeError: module 'wx.gizmos' has no attribute 'EditableListBox'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ezer/.local/lib/python3.6/site-packages/wx/core.py", line 3285, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "Beremiz.py", line 211, in AppStart
self.handle_exception(*sys.exc_info(), exit=True)
File "/home/ezer/Documents/research/beremiz/beremiz/util/ExceptionHandler.py", line 140, in handle_exception
save_bug_report(e_type, e_value, e_traceback, bug_report_path, date)
File "/home/ezer/Documents/research/beremiz/beremiz/util/ExceptionHandler.py", line 115, in save_bug_report
info['locals'] = format_namespace(exception_locals)
File "/home/ezer/Documents/research/beremiz/beremiz/util/ExceptionHandler.py", line 90, in format_namespace
return '\n'.join(['%s%s: %s' % (indent, k, repr(v)[:10000]) for k, v in d.iteritems()])
AttributeError: 'dict' object has no attribute 'iteritems'