Modify ↓
Opened 10 years ago
Closed 10 years ago
#12132 closed defect (fixed)
Error running plantuml: '1'
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | PlantUmlMacro |
Severity: | normal | Keywords: | |
Cc: | Álvaro Iradier | Trac Release: | 0.12 |
Description
Environment
- 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] plantuml_jar = E:/Projects/plugins
In trac web frontend, I got an error message:
Error running plantuml: '1'
How to fix the issue?
Thanks.
Attachments (0)
Change History (6)
comment:1 Changed 10 years ago by
Owner: | changed from Álvaro Iradier to Ryan J Ollos |
---|---|
Status: | new → accepted |
comment:2 Changed 10 years ago by
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Please try:
[plantuml] plantuml_jar = E:\Projects\plugins\plantuml.jar
I've made the error message for the case of an incorrect plantuml_jar
more informative.
comment:5 Changed 10 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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':
Note: See
TracTickets for help on using
tickets.
In 14361: