Ticket #10045 (new defect)

Opened 1 year ago

Graphviz 2.26.3 error when SERVER_NAME enviromental variable is set on Linux

Reported by: andrey@sapegin.org Assigned to: anbo
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


Add/Change #10045 (Graphviz 2.26.3 error when SERVER_NAME enviromental variable is set on Linux)




Change Properties
Action