Modify ↓
Opened 13 years ago
Last modified 7 years ago
#10045 new defect
Graphviz 2.26.3 error when SERVER_NAME enviromental variable is set on Linux
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Component: | ProjectPlanPlugin |
Severity: | minor | Keywords: | graphviz |
Cc: | Trac Release: | 0.11 |
Description
As written in the 'man graphviz':
"If SERVER_NAME is defined, image files are restricted to exist in one of the directories specified by GV_FILE_PATH."
This causes the error with ProjectPlanPlugin, because graphviz can't open images under 'htdocs/images/'. The fast fix is to add 'env={}' parameter to the subprocess.Popen in the dotrender.py. This will force graphviz to run without any enviromental variables.
However, this fix could cause problems with python (see python bug)
Attachments (0)
Note: See
TracTickets for help on using
tickets.