I have started getting this random error when uploading pros projects to the v5 brain. The whole error says:
This is also opening an inspect tool on the left-hand side of my screen. The error on that reads:
C++ (cquery) rpc.sendRequest initialize threw ResponseError: Failed to index C:\Users\niyam\My PROS Project/src\main.cpp
at handleResponse (C:\Users\niyam.pros-editor\packages\ide-cquery\node_modules\vscode-jsonrpc\lib\main.js:436:48)
at processMessageQueue (C:\Users\niyam.pros-editor\packages\ide-cquery\node_modules\vscode-jsonrpc\lib\main.js:263:17)
at Immediate.setImmediate (C:\Users\niyam.pros-editor\packages\ide-cquery\node_modules\vscode-jsonrpc\lib\main.js:247:13)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
error @ logger.ts:23
I have tried multiple times resetting my PC and redownloading windows but I have had no luck. The CMD.exe file is in system32 and it is added as a path on my computer. I cannot figure out what is causing this error. If you have any suggestions I will willingly try them.
Are you running on a school/managed computer? Try opening a command prompt manually and see if that works. If it doesn’t, your account probably doesn’t have permission to open it and so Vex code doesn’t either
Edit: just realized you pulled up your path so this likely isn’t an issue
it is on my own computer…I have tried running pros as administrator but I’m getting the same error. I can open and use the command prompt and it functions fine.
I’ve had this issue happen when I was trying to show someone how to use PROS on their computer, and disabling their antivirus fixed it. For some reason, some AVs find PROS spawning cmd to be suspicious, so try temporarily disabling any realtime protection your computer has on. I haven’t had any issues with Windows Defender, so if you don’t have another AV, just ignore this.
Did anyone else find any solutions to this? One of my teammates is having the exact same issue and we’ve tried all the possible solutions we’ve found relating to pros and nothing has worked.
He’s reinstalled it several times, but his latest reinstall was yesterday after a windows reset and is still having the issue. Did they roll back that version just now?
For now I have used the prosv5 mu command in the cmd terminal to upload programs…i talked to hotel on the discord server and it is to do with a new version of windows which apparently broke it and it was unlikely to be fixed soon. For now I would recommend just using the slightly longer way of uploading until someone gets to the bottom of this issue.
to clarify: i’m not actually sure what’s causing this. we’ve seen something similar crop up recently on macOS too so it’s not just a windows issue as far as i’m concerned. my worry is that something broke in the stack of code we use to support the atom plugin (terminal plugins have a long history of behavior like this), but i don’t know which part it is exactly.
in the meantime, using the CLI is the recommended workaround