Modify

Opened 9 years ago

Closed 9 years ago

#3266 closed defect (invalid)

clicking on Depgraph link throws exception

Reported by: edunnesoftwaretesting@… 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)

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Noah Kantrowitz

Resolution: invalid
Status: newclosed

You need to have the dot binary installed. If it is not on your path, you must set the dot_path option in trac.ini.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.