Hello, I am running a script that turns into an error when running one of the built in scripts in Python (subprocess.py). The error appears to be Windows related but I am not sure. I was wondering if anyone had experience this error and could point me to a potential solution. I am running this script from VSC (Visual Studio Code) using Python3 in powershell. The following is my traceback:
Thank you very much in advance for any help
Error:[i]ERROR (78 seconds).
Unexpected error occured during 'Update' procedure. Exception:
Traceback (most recent call last):
File "c:/TouchGFXProjects/769_try/ideScripts/update.py", line 56, in <module>
makefileData = makefile.getMakefileData(makeExePath, gccExePath)
File "c:\TouchGFXProjects\769_try\ideScripts\updateMakefile.py", line 93, in getMakefileData
projectName = self.getMakefileVariable(makeExePath, gccExePath, self.mkfStr.projectName)[0]
File "c:\TouchGFXProjects\769_try\ideScripts\updateMakefile.py", line 366, in getMakefileVariable
proc = Popen(arguments, stdout=PIPE)
File "C:\Users\omis2\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\omis2\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
PermissionError: [WinError 5] Access is denied[/i]
I have tried changing my permissions to the C folder by setting myself as an admin to no avail. Note that the original script is in drive D while the python installation is in the c:\user\username\app data\programs\python path. Thank you very much in advance for any help