Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4961 closed defect (invalid)

UndefinedError: "milestones" not defined

Reported by: Benn Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'action': u'new'}

System Information

Trac 0.11dev-r5056
Python 2.5 (r25:51908, Mar 9 2007, 17:40:28) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c5
SQLite 3.3.4
pysqlite 2.3.2
Genshi 0.4dev-r511
Subversion 1.4.3 (r23084)

Python Traceback

Traceback (most recent call last):
  File "c:\de\trac\trac\web\main.py", line 429, in dispatch_request
    dispatcher.dispatch(req)
  File "c:\de\trac\trac\web\main.py", line 231, in dispatch
    content_type)
  File "c:\de\trac\trac\web\chrome.py", line 567, in render_template
    return stream.render(method, doctype=doctype)
  File "build\bdist.win32\egg\genshi\core.py", line 147, in render
    output = u''.join(list(generator))
  File "build\bdist.win32\egg\genshi\output.py", line 179, in __call__
    for kind, data, pos in stream:
  File "build\bdist.win32\egg\genshi\output.py", line 422, in __call__
    for kind, data, pos in stream:
  File "build\bdist.win32\egg\genshi\output.py", line 579, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "build\bdist.win32\egg\genshi\output.py", line 364, in __call__
    for ev in stream:
  File "build\bdist.win32\egg\genshi\core.py", line 208, in _ensure
    for event in stream:
  File "build\bdist.win32\egg\genshi\core.py", line 208, in _ensure
    for event in stream:
  File "c:\de\trac\trac\web\chrome.py", line 595, in _strip_accesskeys
    for kind, data, pos in stream:
  File "build\bdist.win32\egg\genshi\core.py", line 208, in _ensure
    for event in stream:
  File "c:\de\trac\trac\web\chrome.py", line 584, in _generate
    for kind, data, pos in stream:
  File "build\bdist.win32\egg\genshi\template\markup.py", line 236, in _include
    for event in stream:
  File "build\bdist.win32\egg\genshi\template\markup.py", line 306, in _match
    content = list(self._include(content, ctxt))
  File "build\bdist.win32\egg\genshi\template\markup.py", line 236, in _include
    for event in stream:
  File "build\bdist.win32\egg\genshi\template\markup.py", line 281, in _match
    for event in stream:
  File "build\bdist.win32\egg\genshi\template\markup.py", line 270, in _strip
    event = stream.next()
  File "build\bdist.win32\egg\genshi\template\markup.py", line 226, in _exec
    for event in stream:
  File "build\bdist.win32\egg\genshi\template\base.py", line 282, in _eval
    for kind, data, pos in stream:
  File "build\bdist.win32\egg\genshi\template\base.py", line 331, in _flatten
    substream = _apply_directives(substream, ctxt, directives)
  File "build\bdist.win32\egg\genshi\template\base.py", line 172, in _apply_directives
    stream = directives[0](iter(stream), ctxt, directives[1:])
  File "build\bdist.win32\egg\genshi\template\directives.py", line 374, in __call__
    if self.expr.evaluate(ctxt):
  File "build\bdist.win32\egg\genshi\template\eval.py", line 130, in evaluate
    {'data': data})
  File "milestone_edit.html", line 66, in <Expression u'milestones'>
  File "build\bdist.win32\egg\genshi\template\eval.py", line 234, in _lookup_name
    raise UndefinedError(name)
UndefinedError: "milestones" not defined

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 12 years ago

Resolution: invalid
Status: newclosed

Please don't flood us with such reports now, we now the latest head is broken…

See note at the bottom of 0.11.

comment:2 by Christian Boos, 12 years ago

(see #5099)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
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.