Opened 9 years ago

Closed 9 years ago

#12132 closed defect (fixed)

Error running plantuml: '1'

Reported by: xin@… Owned by: Ryan J Ollos
Priority: normal Component: PlantUmlMacro
Severity: normal Keywords:
Cc: Álvaro Iradier Trac Release: 0.12



  • trac 0.12
  • java 6 runtime

Test OK

java -jar plantuml.jar -testdot

The environment variable GRAPHVIZ_DOT has been set to c:\Program Files\Graphviz 2.28\bin\dot.exe
Dot executable is c:\Program Files\Graphviz 2.28\bin\dot.exe
Dot version: dot - graphviz version 2.28.0 (20110507.0327)
Installation seems OK. File generation OK

Trac.ini conf

plantuml.* = enabled
plantuml_jar = E:/Projects/plugins

In trac web frontend, I got an error message:

Error running plantuml: '1'

How to fix the issue?


Attachments (0)

Change History (6)

comment:1 Changed 9 years ago by Ryan J Ollos

Owner: changed from Álvaro Iradier to Ryan J Ollos
Status: newaccepted

comment:2 Changed 9 years ago by Ryan J Ollos

In 14361:

2.0dev: Check that plantuml_jar is the path of a file ending in .jar. Refs #12132.

comment:3 Changed 9 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

Please try:

plantuml_jar = E:\Projects\plugins\plantuml.jar

I've made the error message for the case of an incorrect plantuml_jar more informative.

comment:4 Changed 9 years ago by xin@…


comment:5 Changed 9 years ago by rudi

Resolution: fixed
Status: closedreopened

Sorry this does not work, you must use '.jar' instead of 'jar':

 if not os.path.splitext(filename)[1] == 'jar':

must be:

 if not os.path.splitext(filename)[1] == '.jar':

comment:6 Changed 9 years ago by Ryan J Ollos

Resolution: fixed
Status: reopenedclosed

In 14362:

2.0dev: Fixed comparison after splitting filename. Fixes #12132.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.