nucleron / beremiz Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
Hello,
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'
Am I missing something?
I have installed beremiz. I followed all instruction they have provided. When I compile my program it gives an error
"matiec installation is not found
PLC code generation failed"
I have installed matiec and stop by step followed the instruction.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.