Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8634 closed defect (wontfix)

TypeError: unsupported operand type(s) for -: 'Undefined' and 'Undefined'

Reported by: admin Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.5
Severity: normal Keywords:
Cc: andrea.tomasini@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /sprint/Client Comments for ishipr, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'name': u'Client Comments for ishipr'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 (.NET CLR 3.5.30729) FBSMTWB

System Information

Trac 0.11.5
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c9
SQLite 3.3.4
pysqlite 2.3.2
Genshi 0.5.1
Agilo 1.0.2-pro
Subversion 1.5.6 (r36142)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "D:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\main.py", line 444, in _dispatch_request
    dispatcher.dispatch(req)
  File "D:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\main.py", line 226, in dispatch
    data, content_type)
  File "D:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\chrome.py", line 765, in render_template
    stream.render(method, doctype=doctype, out=buffer)
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 179, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 61, in encode
    for chunk in iterator:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 311, in __call__
    for kind, data, pos in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 753, in __call__
    for kind, data, pos in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 592, in __call__
    for kind, data, pos in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 698, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 532, in __call__
    for ev in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 283, in _ensure
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 283, in _ensure
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\chrome.py", line 830, in _strip_accesskeys
    for kind, data, pos in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 283, in _ensure
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\chrome.py", line 819, in _generate
    for kind, data, pos in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 569, in _include
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\markup.py", line 298, in _match
    ctxt, start=idx + 1, **vars):
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\markup.py", line 298, in _match
    ctxt, start=idx + 1, **vars):
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\markup.py", line 245, in _match
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 543, in _exec
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 533, in _eval
    for event in substream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 496, in _eval
    for kind, data, pos in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 551, in _flatten
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 283, in _ensure
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\path.py", line 141, in _generate
    subevent = stream.next()
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 569, in _include
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\markup.py", line 245, in _match
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\markup.py", line 234, in _strip
    event = stream.next()
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 543, in _exec
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 533, in _eval
    for event in substream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 496, in _eval
    for kind, data, pos in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 551, in _flatten
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 283, in _ensure
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\path.py", line 141, in _generate
    subevent = stream.next()
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 569, in _include
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\markup.py", line 234, in _strip
    event = stream.next()
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 543, in _exec
    for event in stream:
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 520, in _eval
    result = _eval_expr(data, ctxt, **vars)
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 286, in _eval_expr
    retval = expr.evaluate(ctxt)
  File "D:\Program Files\Agilo\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\eval.py", line 180, in evaluate
    return eval(self.code, _globals, {'__data__': data})
  File "D:\Program Files\Agilo\lib\site-packages\binary_agilo-1.0.2_pro-py2.5.egg\agilo\scrum\sprint\templates\agilo_sprint.html", line 40, in <Expression u'planned_tickets - closed_tickets'>
    ${planned_tickets - closed_tickets} tickets are currently open,
TypeError: unsupported operand type(s) for -: 'Undefined' and 'Undefined'

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 15 years ago

Cc: andrea.tomasini@… added
Resolution: wontfix
Status: newclosed

AgiloForScrum issue.

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.