Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8487 closed defect (invalid)

UndefinedError: "backlog" not defined

Reported by: cmanolarakis Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /agilo-backlog/Product Backlog, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'name': u'Product Backlog', 'scope': None}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.31 Safari/530.5

System Information

Trac 0.11.4
Python 2.6.1 (r261:67515, Jun 23 2009, 18:09:56)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)]
setuptools 0.6c9
SQLite 3.6.15
pysqlite 2.5.5
Genshi 0.5.1
Agilo unknown
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/home/scrum/Python-2.6.1/lib/python2.6/site-packages/Trac-0.11.4-py2.6.egg/trac/web/main.py", line 435, in _dispatch_request
    dispatcher.dispatch(req)
  File "/home/scrum/Python-2.6.1/lib/python2.6/site-packages/Trac-0.11.4-py2.6.egg/trac/web/main.py", line 227, in dispatch
    data, content_type)
  File "/home/scrum/Python-2.6.1/lib/python2.6/site-packages/Trac-0.11.4-py2.6.egg/trac/web/chrome.py", line 742, in render_template
    stream.render(method, doctype=doctype, out=buffer)
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 179, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 61, in encode
    for chunk in iterator:
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 311, in __call__
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 753, in __call__
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 592, in __call__
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 698, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 532, in __call__
    for ev in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/home/scrum/Python-2.6.1/lib/python2.6/site-packages/Trac-0.11.4-py2.6.egg/trac/web/chrome.py", line 807, in _strip_accesskeys
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/home/scrum/Python-2.6.1/lib/python2.6/site-packages/Trac-0.11.4-py2.6.egg/trac/web/chrome.py", line 796, in _generate
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 569, in _include
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 279, in _match
    content = list(content)
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 569, in _include
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 234, in _strip
    event = stream.next()
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 543, in _exec
    for event in stream:
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 520, in _eval
    result = _eval_expr(data, ctxt, **vars)
  File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 286, in _eval_expr
    retval = expr.evaluate(ctxt)
  File "build/bdist.linux-x86_64/egg/genshi/template/eval.py", line 180, in evaluate
    return eval(self.code, _globals, {'__data__': data})
  File "/home/scrum/Python-2.6.1/lib/python2.6/site-packages/binary_agilo-1.0_PRO_RC1-py2.6.egg/agilo/scrum/backlog/templates/agilo_backlog_detail.html", line 8, in <Expression u'backlog.name'>
    <title>Backlog: ${backlog.name}</title>
  File "build/bdist.linux-x86_64/egg/genshi/template/eval.py", line 313, in lookup_attr
    val = getattr(obj, key)
  File "build/bdist.linux-x86_64/egg/genshi/template/eval.py", line 279, in _die
    raise UndefinedError(self._name, self._owner)
UndefinedError: "backlog" not defined

Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 15 years ago

Resolution: invalid
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.