DSL
Hello.

Few couple of days I try to install OpenPLC Editor on fresh installation of Raspberry Pi, with no success.

Earlier I was used OpenPLC Editor 1.0 that was installed together with OpenPLC Runtime (same installer) without problems.

Can anyone put me in right direction?

P.S. I was download and install distribution for Linux (Raspberry Pi is a Debian flavor of Linux isn't it?) as described in video about installation, When I start it by clicking on icon, it start to load and just stop, without any error message at all.
thiagoralves
The Editor was designed to run on your computer, not on the Pi itself. There are significant diferences in the architecture that makes it a little complicated. It is still possible to install and run the editor on the Pi, but will require some digging on the installation process by an experienced Linux user. Most likely the installer failed to install packages and dependencies on Raspbian. If you start the Editor manually from terminal (instead of clicking on the icon) you will probably see what is missing.
Reply 1 0
DSL
The Editor was designed to run on your computer, not on the Pi itself. There are significant diferences in the architecture that makes it a little complicated. It is still possible to install and run the editor on the Pi, but will require some digging on the installation process by an experienced Linux user. Most likely the installer failed to install packages and dependencies on Raspbian. If you start the Editor manually from terminal (instead of clicking on the icon) you will probably see what is missing.


Hello. I think I succeed in my goal to install and run OpenPLC Editor on Raspberry Pi Zero 2W. There is complete procedure in attachment, so, my bee, it will be useful for someone else.  However, in the last stage I get a bunch of messages that I do not understand what they mean. Editor still working, but I am curious, do I have to fix something or not. Messages are also included in attachment.

Have a nice day to all of you.
Reply 0 0
badank
I followed the instruction to install on my Raspberry Pi 3, it worked just to run the OpenPLC editor, opening project ... so on.
problem arisings when I tried to 'transfer program' to PLC.
 
here is the output shown on the CLI (after failed transfer):
 
(Beremiz.py:5470): Gtk-CRITICAL **: 18:52:01.957: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(Beremiz.py:5470): Gtk-CRITICAL **: 18:52:13.976: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
Traceback (most recent call last):
File "/home/pi/OpenPLC_Editor/editor/BeremizIDE.py", line 852, in OnMenu
getattr(self.CTR, method)()
File "/home/pi/OpenPLC_Editor/editor/ProjectController.py", line 2097, in _generateArduino
dialog = ArduinoUploadDialog.ArduinoUploadDialog(self.AppFrame, program)
File "/home/pi/OpenPLC_Editor/editor/dialogs/ArduinoUploadDialog.py", line 42, in __init__
builder.setLangArduino()
File "/home/pi/OpenPLC_Editor/editor/arduino/builder.py", line 144, in setLangArduino
with open(arduino_dir + '/arduino-cli.yaml', 'w') as f:
IOError: [Errno 13] Permission denied: '/arduino-cli.yaml'
 
 
Error messages:
 
WhatsApp Image 2023-10-04 at 19.03.16.jpeg
 
Appreciated for any suggestion on how to fix it.
 
Thank you
Reply 0 0
thiagoralves
As I said before, the Editor was not designed to run on the Pi itself. There are several ways where this can go wrong. You need a new build of the Editor designed to run specifically on the Pi's architecture which is quite different than a regular PC. Such build doesn't exist
Reply 0 0
Reply