Dowster
Hi,
I've been sending these reports to the beremiz-devel email that pops up.  However, I note that you have this forum space too.  I will attach the reports here.  Most occurred when editing the variable area or navigating the project tree.  I have had few crashes that just close the program, I've had it start very tiny (a couple of cm wide) and I've had it give me a blue screen after hanging the pc.  I'm running Windows 11.  Today I have updated to the latest version.  All reports are from prior versions.  I'll post individual reports in future.
Note these are observations, not criticisms.  I completely support the concept of OpenPLC and hope that these reports may help the developers.
I will continue to use it and will be promoting it in my presentations - I just remember to save my workspace more than I have had to do since working on Fortran77 at uni many years ago :-)
Thanks
Reply 0 0
Write a reply...
thiagoralves
Thank you for the reports Dowster. Yes, the forum is the right place to drop these bug reports, as Beremiz has a different code-base and this is pretty much useless for them. I will take a look at them. If you find more issues on the latest version, please post them here as a follow up.


Thanks!
Reply 0 0
Alejandro Patino
Hello guys.
 
This happening after de update to the release 2023-04-11, before was working fine
 
Start build in C:\...ARDUINOPLC PROJECTS\ESTE\build
Generating SoftPLC IEC-61131 ST/IL/SFC code...
Collecting data types
Collecting POUs
Generate POU PLC_PRG
Generate Config(s)
Compiling IEC Program into C code...
"C:\...\OpenPLC_Editor\matiec\iec2c.exe" -f -l -p -I "C:\...\OpenPLC_Editor\matiec\lib" -T "C:\...\ARDUINOPLC PROJECTS\ESTE\build" "C:\...\ARDUINOPLC PROJECTS\ESTE\build\plc.st"
exited with status 1 (pid 9668)
Error opening included file standard_functions.txt
Error : IEC to C compiler returned 1
PLC code generation failed !
 
thanks
Reply 0 0
thiagoralves
Something might have broken during the update process. This missing file “standard_functions.txt” is present on the last update. I just updated on a test Windows VM and it worked just fine
Reply 0 0
Axl
Compiling an empty project with modbus TCP server enabled for ESP32 does not compile. Compiler error:
C:\Users\<user>\OpenPLC_Editor\editor\arduino\examples\Baremetal\ModbusSlave.h:91:27: error: cannot declare variable 'mb_server' to be of abstract type 'EthernetServer'
extern EthernetServer mb_server;
 
Editor: Win 2.01 release 2023-04-13
Reply 0 0
thiagoralves
ESP32 only works with WiFi as that's a WiFi chip.
Reply 0 0
Axl
Correct. WiFi must be selected.
Reply 0 0
Alejandro Patino
After the incident in the previous post, 
I was forced to uninstall and do a clean install of the editor...
Now the IO configuration works (I'm still learning how to use it)My Canadian PLC 500 and PLC 300 love it
(by the way, with the new version the way to map inputs
and outputs
doesn't work the same way and gives many errors)

Thanks
Reply 0 0
thiagoralves
@Alejandro Patino what errors are you facing?
Reply 0 0
Axl
Modifying ST code and starting Simulation, the code is reverted back to the previous version. Even when saved before clicking the Simulation button. If switching the editor screen to another block (or Res0) and coming back to the previous block, the latest changes are there.
Also, the Library panel keeps on showing invalid choices. Switching between Debugger and Library restores the right set of choices again.
Also, variable buttons (+ and - and so) are sometimes grayed out and also variables cannot be edited. Again, switching back and forth to another screen restores the behaviour.
Windows 10 editor. Version 2.01 (release: 2023-04-11).
Reply 0 0
Alejandro Patino
@TIAGO@tiagoralves :
 
Generating SoftPLC IEC-61131 ST/IL/SFC code...
Collecting data types
Collecting POUs
Generate POU TEST_IN_OUT
Generate Config(s)
matiec installation is not found
PLC code generation failed !
 
But everything work again after reinstall
Reply 0 0
Darkstallion12
I get this bug everytime I try to upload something. Haven't been able to updoad anything whatsoever since the last update.
 
Capture d’écran 2023-04-24 175147.png
Reply 0 0
RosiBro
Hey,

today I twanted to install and test the openPLC editor. I tried to use the AS-language and got some error inserting any steps:
 
app-title:
beremiz
app-version:
3.0 beta
Release: 2023-03-15 dev-python3
cwd:
/home/RosiBro/programs/OpenPLC_Editor
date:
Mon Jun 26 14:38:44 2023
e-type:
<class 'TypeError'>
e-value:
Point(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: argument 1 has unexpected type 'float'
overload 3: argument 1 has unexpected type 'float'
overload 4: argument 1 has unexpected type 'float'
locals:
self: <graphics.SFC_Objects.SFC_Step object at 0x7fea607b5b10>
scaling: (10.0, 10.0)
horizontal_pos: 30.0
vertical_pos: 20.0
platform:
Linux-6.1.0-9-amd64-x86_64-with-glibc2.36
python-version:
3.11.2
self:
Parent: <editors.SFCViewer.SFC_Viewer object at 0x7fea605df880>
ToolTip: None
ToolTipPos: None
ToolTipTimer: <wx._core.Timer object at 0x7fea605def80>
Id: 1
oldPos: None
StartPos: None
CurrentDrag: None
Handle: (None, None)
Dragging: False
Selected: False
Highlighted: False
Pos: wx.Point(0, 0)
Size: wx.Size(60, 30)
BoundingBox: wx.Rect(0, 0, 41, 31)
Visible: False
Value: None
Forced: False
LastValue: None
LastForced: False
DataType: None
Inhibited: False
Name: 'Step0'
NameSize: wx.Size(40, 14)
Initial: True
Highlights: []
Input: None
Output: <graphics.GraphicCommons.Connector object at 0x7fea607f6550>
Action: None
PreviousValue: None
PreviousSpreading: False
traceback:
File "/usr/lib/python3/dist-packages/wx/core.py", line 3427, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/RosiBro/programs/OpenPLC_Editor/editor/editors/Viewer.py", line 2728, in AddNewStep
self.AddNewElement(step, bbox, wire)
File "/home/RosiBro/programs/OpenPLC_Editor/editor/editors/Viewer.py", line 2559, in AddNewElement
element.SetSize(*self.GetScaledSize(
File "/home/RosiBro/programs/OpenPLC_Editor/editor/graphics/GraphicCommons.py", line 345, in SetSize
self.RefreshConnectors()
File "/home/RosiBro/programs/OpenPLC_Editor/editor/graphics/SFC_Objects.py", line 245, in RefreshConnectors
self.Output.SetPosition(wx.Point(horizontal_pos, self.Size[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<class 'TypeError'>: Point(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: argument 1 has unexpected type 'float'
overload 3: argument 1 has unexpected type 'float'
overload 4: argument 1 has unexpected type 'float'
wx-platform:
__WXGTK__
wx-version:
4.2.0
 
Reply 0 0
thiagoralves
Use the master branch instead of the dev-python3 development branch
Reply 0 0
Beginner
Dear OpenPLC, today I updated OpenPLC program and after restat of program i couldt start it again. This the Bug report appeard.
 
 www.python.org for more information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__', 'ord': <built-in function ord>, 'super': <type 'super'>, '_': <function GetTranslation at 0x02DD45B0>, 'TypeError': <type 'exceptions.TypeError'>, 'license': Type license() to see the full license text, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in function filter>, 'range': <built-in function range>, 'staticmethod': <type 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>, 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float': <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-Z plus Return to exit, 'basestring': <type 'basestring'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next': <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>, 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type 'type'>, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type 'tuple'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError': <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>, 'delattr': <built-in function delattr>, 'setattr': <built-in function setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>, 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce': <built-in function coerce>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr': <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type 'exceptions.OSError'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'min': <built-in function min>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in function execfile>, 'any': <built-in function any>, 'complex': <type 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map': <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in function max>, 'object': <type 'object'>, 'TabError': <type 'exceptions.TabError'>, 'callable': <built-in function callable>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval': <built-in function eval>, '__debug__': True, 'IndentationError': <type 'exceptions.IndentationError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError': <type 'exceptions.OverflowError'>, 'WindowsError': <type 'exceptions.WindowsError'>} reduce: None __file__: None traceback: None datetime: None absolute_import: None __package__: None re: None time: None __name__: None os_platform: None os: None __doc__: None codecs: None localtime: Noneplatform:Windows-10-10.0.19041python-version:2.7.15traceback: File ".\editor\Beremiz.py", line 203, in AppStart self.BackgroundInitialization() File ".\editor\Beremiz.py", line 136, in BackgroundInitialization self.ImportModules() File ".\editor\Beremiz.py", line 179, in ImportModules mod = __import__(modname) File "C:\Users\pacne\OpenPLC_Editor\editor\BeremizIDE.py", line 71, in <module> from ProjectController import ProjectController, GetAddMenuItems, MATIEC_ERROR_MODEL File "C:\Users\pacne\OpenPLC_Editor\editor\ProjectController.py", line 45, in <module> from jinja2 import PackageLoader, Environment, FileSystemLoader<type 'exceptions.ImportError'>: No module named jinja2wx-platform:__WXMSW__wx-version:3.0.2.0
Reply 0 0
Write a reply...
Reply