Ben
I have not been able to compile since updating the version of OpenPLC.
Using the Blink example, when I compile I get a list of errors. The first few are:
 
C:\Users\Ben\OpenPLC_Editor\editor\arduino\src\debug.c:34:23: error: 'BLINK {aka struct <anonymous>}' has no member named 'BUTTON'
{&(RES0__INSTANCE0.BUTTON), BOOL_P_ENUM},
 
C:\Users\Ben\OpenPLC_Editor\editor\arduino\src\debug.c:35:23: error: 'BLINK {aka struct <anonymous>}' has no member named 'COUNTER_MAX'
{&(RES0__INSTANCE0.COUNTER_MAX), BOOL_O_ENUM},
^
C:\Users\Ben\OpenPLC_Editor\editor\arduino\src\debug.c:36:23: error: 'BLINK {aka struct <anonymous>}' has no member named 'COUNTER_VALUE'
{&(RES0__INSTANCE0.COUNTER_VALUE), INT_ENUM},
^
C:\Users\Ben\OpenPLC_Editor\editor\arduino\src\debug.c:57:23: error: 'BLINK {aka struct <anonymous>}' has no member named 'CTU0'
{&(RES0__INSTANCE0.CTU0.EN), BOOL_ENUM},
Reply 0 0
thiagoralves
What release are you on? Share a screenshot of your about window please
Reply 0 0
Ben
OepnPLC Ver 2.01
Arduino IDE 2.2.1
OpenPLC2-01.png
Reply 0 0
thiagoralves
This looks VERY odd... you're on an ancient version of the editor (release 2022-11-15 was almost a year ago), although your errors refer to files that weren't added until recently. How did you manage to update your editor? It looks like this update didn't go all the way through. This is what your about screen should look like on the latest release:
Screenshot 2023-10-25 at 3.08.17 PM.png
Reply 0 0
Ben
I have upgraded to the latest version of OpenPLC now. The application will not start. I have attached the bug report.
This looks like the problem: <type 'exceptions.ImportError'>: No module named jinja2
 
I guess I need to know how to import the module into the OpenPLC environment.
20231026.OpenPLC startup error.png
Reply 0 0
thiagoralves
You need to download the new installer from autonomylogic.com
Reply 0 0
thiagoralves
Uninstall your current editor, download the new one from autonomylogic.com and then reinstall
Reply 1 0
Ben
Many thanks. It is working now. I appreciate your assistance.
Reply 0 0
Write a reply...
Reply