Modify

Opened 6 years ago

Closed 6 years ago

Last modified 23 months ago

#3978 closed defect (invalid)

TracMasterTickets - OSError: [Errno 13] Permission denied

Reported by: bruno.o.fernandes@… Owned by: coderanger
Priority: normal Component: MasterTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

How to Reproduce

While doing a GET operation on /depgraph/440, Trac issued an internal error.

ticket 440 is blocking 439

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17

System Information

Trac 0.11
Python 2.5.1 (r251:54863, Nov 3 2007, 02:54:52) [C]
setuptools 0.6c7
pyPgSQL 2.4
Genshi 0.5.1
mod_python 3.3.1
Subversion 1.4.5 (r25188)
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "/opt/csw/lib/python/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/opt/csw/lib/python/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 219, in dispatch
    data, content_type)
  File "/opt/csw/lib/python/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 726, in render_template
    stream.render(method, doctype=doctype, out=buffer)
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/core.py", line 179, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/output.py", line 61, in encode
    for chunk in iterator:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/output.py", line 311, in __call__
    for kind, data, pos in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/output.py", line 753, in __call__
    for kind, data, pos in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/output.py", line 592, in __call__
    for kind, data, pos in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/output.py", line 698, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/output.py", line 532, in __call__
    for ev in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/opt/csw/lib/python/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 779, in _strip_accesskeys
    for kind, data, pos in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/opt/csw/lib/python/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 768, in _generate
    for kind, data, pos in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 569, in _include
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/markup.py", line 298, in _match
    ctxt, start=idx + 1, **vars):
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/markup.py", line 298, in _match
    ctxt, start=idx + 1, **vars):
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/markup.py", line 245, in _match
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 543, in _exec
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 533, in _eval
    for event in substream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 496, in _eval
    for kind, data, pos in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 551, in _flatten
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/path.py", line 141, in _generate
    subevent = stream.next()
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 569, in _include
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/markup.py", line 234, in _strip
    event = stream.next()
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 543, in _exec
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 533, in _eval
    for event in substream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 496, in _eval
    for kind, data, pos in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 551, in _flatten
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/path.py", line 141, in _generate
    subevent = stream.next()
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 569, in _include
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/markup.py", line 234, in _strip
    event = stream.next()
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 543, in _exec
    for event in stream:
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 520, in _eval
    result = _eval_expr(data, ctxt, **vars)
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/base.py", line 286, in _eval_expr
    retval = expr.evaluate(ctxt)
  File "build/bdist.solaris-2.8-sun4u/egg/genshi/template/eval.py", line 180, in evaluate
    return eval(self.code, _globals, {'__data__': data})
  File "/tmp/TracMasterTickets-2.1.3-py2.5.egg-tmp/mastertickets/templates/depgraph.html", line 22, in <Expression u"Markup(graph_render('cmapx').decode('utf8'))">
    ${Markup(graph_render('cmapx').decode('utf8'))}
  File "build/bdist.solaris-2.8-sun4u/egg/mastertickets/graphviz.py", line 129, in render
    proc = subprocess.Popen([dot_path, '-T%s'%format], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/opt/csw/lib/python/subprocess.py", line 593, in __init__
    errread, errwrite)
  File "/opt/csw/lib/python/subprocess.py", line 1079, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied


Attachments (0)

Change History (1)

comment:2 Changed 6 years ago by coderanger

  • Resolution set to invalid
  • Status changed from new to closed

dot not installed.

Add Comment

Modify Ticket

Action
as 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.