Modify

Opened 2 years ago

#10045 new defect

Graphviz 2.26.3 error when SERVER_NAME enviromental variable is set on Linux

Reported by: andrey@… Owned by: 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 (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.