qjebbs / vscode-plantuml

Rich PlantUML support for Visual Studio Code.
MIT License
1.09k stars 155 forks source link

Cannot access dot.exe #461

Open tokorhon opened 2 years ago

tokorhon commented 2 years ago

I keep getting this preview error after any modification on any plantuml file

java.io.FileNotFoundException: C:\Temp_graphviz\dot.exe (The process cannot access the file because it is being used by another process)

If I go to Windows Task Manager and kill dot.exe then I can make one change but after that the same error appears again.

pvin100 commented 2 years ago

Got the same error, seems to be solved by explicitly defining dot.exe path in settings.json

"plantuml.commandArgs": [
    "-DGRAPHVIZ_DOT=C:\\ProgramData\\chocolatey\\bin\\dot.exe",
]