BMoney
I just downloaded the program and tried compiling my first program. Im getting this error log instantly:
 
app-title:
beremiz
app-version:
3.0
Release: 2024-02-05
cwd:
C:\Users\René\OpenPLC_Editor
date:
Fri May 17 11:44:41 2024
e-type:
<class 'UnicodeDecodeError'>
e-value:
'utf-8' codec can't decode byte 0xe9 in position 22: invalid continuation byte
locals:
self: <encodings.utf_8.IncrementalDecoder object at 0x000001C18362A760>
input: b'\r\nsyntax: C:\\Users\\Ren\xe9\\OpenPLC_Editor\\matiec\\iec2c.exe [<options>] [-O <output_options>] [-I <include_directory>] [-T <target_directory>] <input_file>\r\n -h : show this help message\r\n -v : print version number\r\n -f : display full token location on error messages\r\n -p : allow use of forward references (a non-standard extension?)\r\n -l : use a relaxed datatype equivalence model (a non-standard extension?)\r\n -s : allow use of safe datatypes (SAFEBOOL, etc.) (defined in PLCOpen Safety)\r\n -n : allow use of nested comments (an IEC 61131-3 v3 feature)\r\n -r : allow use of references (REF_TO, REF, ^, NULL) (an IEC 61131-3 v3 feature)\r\n -R : allow use of REF_TO ANY datatypes (a non-standard extension!)\r\n as well as REF_TO in ARRAYs and STRUCTs (a non-standard extension!)\r\n -a : allow use of non-literals in array size limits (a non-standard extension!)\r\n -i : allow POUs with no in out and inout parameters (a non-standard extension!)\r\n -b : allow functions returning VOID (a non-standard extension!)\r\n -e : disable generation of implicit EN and ENO parameters.\r\n -c : create conversion functions for enumerated data types\r\n -O : options for output (code generation) stage. Available options for C:\\Users\\Ren\xe9\\OpenPLC_Editor\\matiec\\iec2c.exe are...\r\n\r\nmatiec - Copyright (C) 2003-2014 \r\nThis program comes with ABSOLUTELY NO WARRANTY!\r\nThis is free software licensed under GPL v3, and you are welcome to redistribute it under the conditions specified by this license.\r\n'
final: False
data: b'\r\nsyntax: C:\\Users\\Ren\xe9\\OpenPLC_Editor\\matiec\\iec2c.exe [<options>] [-O <output_options>] [-I <include_directory>] [-T <target_directory>] <input_file>\r\n -h : show this help message\r\n -v : print version number\r\n -f : display full token location on error messages\r\n -p : allow use of forward references (a non-standard extension?)\r\n -l : use a relaxed datatype equivalence model (a non-standard extension?)\r\n -s : allow use of safe datatypes (SAFEBOOL, etc.) (defined in PLCOpen Safety)\r\n -n : allow use of nested comments (an IEC 61131-3 v3 feature)\r\n -r : allow use of references (REF_TO, REF, ^, NULL) (an IEC 61131-3 v3 feature)\r\n -R : allow use of REF_TO ANY datatypes (a non-standard extension!)\r\n as well as REF_TO in ARRAYs and STRUCTs (a non-standard extension!)\r\n -a : allow use of non-literals in array size limits (a non-standard extension!)\r\n -i : allow POUs with no in out and inout parameters (a non-standard extension!)\r\n -b : allow functions returning VOID (a non-standard extension!)\r\n -e : disable generation of implicit EN and ENO parameters.\r\n -c : create conversion functions for enumerated data types\r\n -O : options for output (code generation) stage. Available options for C:\\Users\\Ren\xe9\\OpenPLC_Editor\\matiec\\iec2c.exe are...\r\n\r\nmatiec - Copyright (C) 2003-2014 \r\nThis program comes with ABSOLUTELY NO WARRANTY!\r\nThis is free software licensed under GPL v3, and you are welcome to redistribute it under the conditions specified by this license.\r\n'
platform:
Windows-10-10.0.19045-SP0
python-version:
3.9.10
self:
errors: 'strict'
buffer: b''
traceback:
File "C:\Users\René\OpenPLC_Editor\.\editor\util\ExceptionHandler.py", line 164, in run_with_except_hook
run_old(*args, **kw)
File "C:\Users\René\OpenPLC_Editor\.\editor\util\ProcessLogger.py", line 60, in run
outchunk = self.fd.readline()
File "C:\Users\René\OpenPLC_Editor\python\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
<class 'UnicodeDecodeError'>: 'utf-8' codec can't decode byte 0xe9 in position 22: invalid continuation byte
wx-platform:
__WXMSW__
wx-version:
4.2.0
 
 
I suppose its because of the 'é' in my name?
Reply 0 0
thiagoralves
Update your editor and try again 
Reply 0 0
BMoney
Update your editor and try again 
Thanks it worked!
Reply 0 0
Write a reply...
Reply