AidenCulbertson
Whenever I try to run a program I am met with the following error message. How do I fix this issue?
 
C Build crashed !
Traceback (most recent call last):
File "C:\Users\aiden\OpenPLC_Editor\editor\ProjectController.py", line 1318, in _Build
if not builder.build():
File "C:\Users\aiden\OpenPLC_Editor\editor\targets\toolchain_gcc.py", line 195, in build
status, _result, _err_result = ProcessLogger(
File "C:\Users\aiden\OpenPLC_Editor\editor\util\ProcessLogger.py", line 145, in __init__
self.Proc = subprocess.Popen(self.Command, encoding="utf-8", errors="backslashreplace", **popenargs)
File "C:\Users\aiden\OpenPLC_Editor\python\lib\subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\aiden\OpenPLC_Editor\python\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
Reply 0 0
thiagoralves
Make sure your antivirus or any other protection software is not blocking OpenPLC compilation process.
Reply 0 0
AidenCulbertson
How do I check that? As far as I know, my antivirus isn't blocking anything.
Reply 0 0
thiagoralves
It seems that it blocked on OpenPLC installation or deleted files afterwards. Try reinstalling the editor and make sure no blocks happened by windows defender. You may want to temporarily disable windows defender just to make sure installation goes through just fine.
Reply 0 0
Reply