Opened 16 years ago
Closed 16 years ago
#3266 closed defect (invalid)
clicking on Depgraph link throws exception
Reported by: | Owned by: | Noah Kantrowitz | |
---|---|---|---|
Priority: | normal | Component: | MasterTicketsPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Trac: 0.11 Python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] setuptools: 0.6c7 SQLite: 3.3.4 pysqlite: 2.3.2 Genshi: 0.5 Subversion: 1.4.6 (r28521) jQuery: 1.2.3
Selecting the link for depgraph throws the following exception:
File "C:\python25\lib\site-packages\tracmastertickets-2.1.1-py2.5.egg\mastertickets\templates\depgraph.html", line 22, in <Expression u"Markup(graph_render('cmapx'))">
${Markup(graph_render('cmapx'))}
File "c:\python25\lib\site-packages\tracmastertickets-2.1.1-py2.5.egg\mastertickets\graphviz.py", line 128, in render
proc = subprocess.Popen([dot_path, '-T%s'%format], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
File "C:\python25\lib\subprocess.py", line 593, in init
errread, errwrite)
File "C:\python25\lib\subprocess.py", line 815, in _execute_child
startupinfo)
You need to have the
dot
binary installed. If it is not on your path, you must set thedot_path
option in trac.ini.