Modify

Opened 3 years ago

Closed 2 years ago

#9292 closed defect (worksforme)

Error updating diagram

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

Description

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/main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/main.py", 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/web_ui.py", line 116, in process_request
    path_info)
  File "/usr/local/lib/python2.6/dist-packages/TracWorkflowAdmin-0.12.0.1-py2.6.egg/tracworkflowadmin/web_ui.py", line 90, in render_admin_panel
    self._parse_request(req)
  File "/usr/local/lib/python2.6/dist-packages/TracWorkflowAdmin-0.12.0.1-py2.6.egg/tracworkflowadmin/web_ui.py", line 416, in _parse_request
    self._update_diagram(req, params) # not return
  File "/usr/local/lib/python2.6/dist-packages/TracWorkflowAdmin-0.12.0.1-py2.6.egg/tracworkflowadmin/web_ui.py", line 252, in _update_diagram
    proc = Popen([self.dot_path, '-Tpng', '-o', tmppath], stdin=PIPE)
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", 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 2 years ago by anonymous

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

comment:2 Changed 2 years ago by jun66j5

  • Resolution set to worksforme
  • Severity changed from blocker to normal
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from jun66j5. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.