Closed yunuscukran closed 3 years ago
Any updates on thıs? Still happens with the newest version of platfromio-vscode-ide
Do you use 3rd party antivirus tools in the system?
Nope, only Windows Defender.
My initial hypothesis was that the pio.exe
path was not being created properly at app initialization and the tasks created at toVsCodeTask()
were having incorrect PATH data, but logging shows that path creation is correct.
I have also tried bumping up the version. One observation is that when I built from the source and attached it to VSCode, Everything works fine in VSCode...
Note that I change the source code as I mentioned in https://github.com/platformio/platformio-vscode-ide/issues/1802#issuecomment-710683116
My current hypothesis is that somehow the way the tasks are created are working fine in VSCode, but not working with Theia (only in the Windows case) and that this is a Theia/VSCode API compatibility issue. I'll let you know as I learn more.
Have you resolved this issue?
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.
Description
When I try to run any PlatfromIO task from the GUI, I get the following exception. Note that PlatformIO loads and recognizes the project. Moreover running these tasks via the PlatformIO CLI also works. It is only calling them through the GUI that fails.
Configuration
I build
platformio-vscode-ide
version2.1.0
from source code and run it within the Theia IDE, which uses the VSCode API to ingest VSCode extensionsNote: I come across this problem only in Windows. It works in Linux or Mac.
Exception
Extra Information
I'm sharing the logs of successful PIO initialization in case they prove useful.