This error occurs when running
java -jar plantuml.jar test.puml
where test.puml is
@startuml enum Foo { bar1 bar2 } enum FooFoo { barbar1 } @enduml
That is interesting, I downloaded the dot version 2.44.1 (20200629.0800) and the plantuml version information gives:
Dot version: dot - graphviz version 2.44.1 (20200629.0800)Installation seems OK. File generation OK
whilst your installation gives:
Dot version: dot - graphviz version 2.44.1 (20200629.0846)Error: dot generates empty file. Check you dot installation.
It are not completely the same versions, but looks a bit like something is not installed at your place. Also the plantuml versions are slightly different (I tried PlantUML version 1.2020.14 (Sat Jun 20 16:14:34 CEST 2020) and PlantUML version 1.2020.16beta3 (Unknown compile time)
What does the command dot -v give (command will wait for input, just give ^C)?
Also interesting would be what happens when you create a small dot file e.g. aa.dot:digraph G { "Welcome" -> "To" "To" -> "Web" "To" -> "GraphViz!"}
and run:
dot -T png aa.dot > aa.png
Thank you for your help!
dot -v does not wait for input, but directly prints:
dot - graphviz version 2.44.1 (20200629.0846)There is no layout engine support for "dot"Perhaps "dot -c" needs to be run (with installer's privileges) to register the plugins?
running dot -c gives:
Error: failed to open C:\Program Files\Graphviz 2.44.1\bin\config6 for write.
(the file config6 does not exist)
creating a file aa.dot and running dot -T png aa.dot > aa.png gives:
Format: "png" not recognized. Use one of:
[The following line is empty]
Which platform are you using?
When using Windows, the following is just for testing:
- in a browser goto https://www2.graphviz.org/Packages/stable/windows/10/msbuild/Release/Win32/
- download the graphviz-2.44.1-win32.zip
- open the downloaded zip file and place the bin directory somewhere on your system
- open a command window and adjust the path with the directory where the above mentioned is (set PATH=<path>/bin;%PATH%)
- run again:
- dot -v
- dot -T png aa.dot > aa.png
@plantuml is there a possibility to add the platform used to the version information?
(--------)