Opened 7 years ago

Closed 6 years ago

#9292 closed defect (worksforme)

Error updating diagram

Reported by: me.signing.up@… Owned by: Jun Omae
Priority: normal Component: TracWorkflowAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


Hello. My diagram is not showing up and is throwing and error every time the diagram tries to update.

This is the error message from the log:

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/", line 511, in _dispatch_request
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/admin/", line 116, in process_request
  File "/usr/local/lib/python2.6/dist-packages/TracWorkflowAdmin-", line 90, in render_admin_panel
  File "/usr/local/lib/python2.6/dist-packages/TracWorkflowAdmin-", line 416, in _parse_request
    self._update_diagram(req, params) # not return
  File "/usr/local/lib/python2.6/dist-packages/TracWorkflowAdmin-", line 252, in _update_diagram
    proc = Popen([self.dot_path, '-Tpng', '-o', tmppath], stdin=PIPE)
  File "/usr/lib/python2.6/", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I was trying to find the problem but I'm not familiar with python.

Thank you

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by anonymous

I had a problem with permissions to the htdocs directory that cleared it up for me.

comment:2 Changed 6 years ago by Jun Omae

Resolution: worksforme
Severity: blockernormal
Status: newclosed

It seems that dot command is missing on your environment. The plugin needs dot command of graphviz. Please install graphviz.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jun Omae.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.