recent puml doesn't find dot

0 votes
asked Aug 9, 2022 in Bug by valexiev (1,200 points)
I prefer to use a standalone "dot" installation and not the minimalistic dot embedded in plantuml.

I installed the latest win-64bit version of graphviz from https://www.graphviz.org/download/:
https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/5.0.0/windows_10_cmake_Release_graphviz-install-5.0.0-win64.exe
I installed it in the default location "c:\Program Files\Graphviz\bin\dot.exe"

# dot -v
dot - graphviz version 5.0.0 (20220707.1540)
libdir = "C:\Program Files\Graphviz\bin"
Activated plugin library: gvplugin_dot_layout.dll
Using layout: dot:dot_layout
Activated plugin library: gvplugin_core.dll
Using render: dot:core
Using device: dot:dot:core
The plugin configuration file ...

I also ran this command as per https://plantuml.com/graphviz-dot . I run CMD with admin rights (indicated by the # prompt):

# cd c:\Program Files\Graphviz\bin
# dot -c

However, PlantUML doesn't find dot:

# puml -version
PlantUML version 1.2022.6 (Tue Jun 21 20:34:49 EEST 2022)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Default Encoding: UTF-8
Language: en
Country: US
PLANTUML_LIMIT_SIZE: 4096

# puml -testdot -verbose
Error: No dot executable found
Error: only sequence diagrams will be generated

If I set the env var, it works ok:

# set GRAPHVIZ_DOT=c:\Program Files\Graphviz\bin\dot.exe

This problem occurs  with the newest PlantUML version. It didn't happen with a 1-year old version.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...