I try to generate state diagrams with PlantUML thorugh Doxygen. I succeeded for sequence diagrams, timing diagrams, activity beta diagrams, but failed for state diagrams with the following error:
**Dot executable: C:\ProgramFiles\Graphviz2.38\bin\dot
File does not exist Cannot find Graphviz. You should try
@startuml
testdot
@enduml
or
java -jar plantuml.jar -testdot
The code I am using is the following:
@startuml [*] --> State1 State1 --> [*] State1 : this is a string State1 : this is another string * State1 -> State2 State2 --> [*] @enduml
When i try** java -jar c:\ProgramFiles\Graphvi2.38\bin\plantuml.jar -testdot
I have the following output:
**The environment variable GRAPHVIZ_DOT has been set to c:\ProgramFiles\Graphviz2.
38\bin\dot.exe
Dot executable is c:\ProgramFiles\Graphviz2.38\bin\dot.exe
Dot version: dot - graphviz version 2.38.0 (20140413.2041)
Installation seems OK. File generation OK
When I try in Doxygen
* @startuml testdot @enduml
I have the following errors:
**Running PlantUML on generated file C:/Users/lperron/Desktop/Doxygen/html/inline_umlgraph_1.pu
Error line 2 in file: C:\Users\lperron\Desktop\Doxygen\html\inline_umlgraph_1.pu
Some diagram description contains errors
and at the end of the generation process:
**error: Problems running PlantUML. Verify that the command 'java -jar "C:/ProgramFiles/Graphviz2.38/bin\plantuml.jar" -h' works from the command line. Exit code: 1
Do you have any idea to solve this issue ?
Thank you very much for your support
Best regards
doxygen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I try to generate state diagrams with PlantUML thorugh Doxygen. I succeeded for sequence diagrams, timing diagrams, activity beta diagrams, but failed for state diagrams with the following error:
**Dot executable: C:\ProgramFiles\Graphviz2.38\bin\dot
File does not exist Cannot find Graphviz. You should try
@startuml
testdot
@enduml
or
java -jar plantuml.jar -testdot
The code I am using is the following:
@startuml
[*] --> State1
State1 --> [*]
State1 : this is a string
State1 : this is another string *
State1 -> State2
State2 --> [*]
@enduml
When i try** java -jar c:\ProgramFiles\Graphvi2.38\bin\plantuml.jar -testdot
I have the following output:
**The environment variable GRAPHVIZ_DOT has been set to c:\ProgramFiles\Graphviz2.
38\bin\dot.exe
Dot executable is c:\ProgramFiles\Graphviz2.38\bin\dot.exe
Dot version: dot - graphviz version 2.38.0 (20140413.2041)
Installation seems OK. File generation OK
When I try in Doxygen
* @startuml
testdot
@enduml
I have the following errors:
**Running PlantUML on generated file C:/Users/lperron/Desktop/Doxygen/html/inline_umlgraph_1.pu
Error line 2 in file: C:\Users\lperron\Desktop\Doxygen\html\inline_umlgraph_1.pu
Some diagram description contains errors
and at the end of the generation process:
**error: Problems running PlantUML. Verify that the command 'java -jar "C:/ProgramFiles/Graphviz2.38/bin\plantuml.jar" -h' works from the command line. Exit code: 1
Do you have any idea to solve this issue ?
Thank you very much for your support
Best regards
Hello again
It is solved:
The DOT_PATH setting in Doxywizard was set to the appropriate path. I removed the value (so nothing in this setting) and now it works
If anybody understands why, I am interested :-)
Thank you