Modify

Opened 14 years ago

Closed 12 years ago

#8833 closed defect (wontfix)

Exception: TypeError: unsupported operand type(s) for +=: 'NoneType' and 'unicode'

Reported by: mark.faine@… Owned by: Noah Kantrowitz
Priority: normal Component: CombineWikiPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Red Hat Enterprise Linux - Trac 0.12

When attempting to generate output the following error is displayed:

Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/trac/web/api.py", line 440, in send_error
    data, 'text/html')
  File "/usr/lib64/python2.4/site-packages/trac/web/chrome.py", line 868, in render_template
    stream.render(method, doctype=doctype, out=buffer)
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/core.py", line 183, in render
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/output.py", line 58, in encode
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/output.py", line 339, in __call__
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/output.py", line 826, in __call__
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/output.py", line 670, in __call__
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/output.py", line 771, in __call__
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/output.py", line 586, in __call__
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/core.py", line 288, in _ensure
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/core.py", line 288, in _ensure
  File "/usr/lib64/python2.4/site-packages/trac/web/chrome.py", line 981, in _strip_accesskeys
    for kind, data, pos in stream:
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/core.py", line 288, in _ensure
  File "/usr/lib64/python2.4/site-packages/trac/web/chrome.py", line 970, in _generate
    for kind, data, pos in stream:
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/base.py", line 605, in _include
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/markup.py", line 378, in _match
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/markup.py", line 378, in _match
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/markup.py", line 327, in _match
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/base.py", line 545, in _flatten
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/core.py", line 288, in _ensure
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/path.py", line 588, in _generate
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/base.py", line 605, in _include
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/markup.py", line 316, in _strip
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/base.py", line 545, in _flatten
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/core.py", line 288, in _ensure
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/path.py", line 588, in _generate
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/base.py", line 605, in _include
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/markup.py", line 316, in _strip
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/base.py", line 565, in _flatten
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/base.py", line 277, in _eval_expr
  File "/usr/lib64/python2.4/site-packages/Genshi-0.6-py2.4.egg/genshi/template/eval.py", line 178, in evaluate
  File "/usr/lib64/python2.4/site-packages/trac/templates/error.html", line 165, in <Expression u'shorten_line(repr(value))'>
    <td><code>${shorten_line(repr(value))}</code></td>
  File "/usr/lib64/python2.4/site-packages/trac/resource.py", line 113, in __repr__
    name += ':' + unicode(r.id) # id can be numerical
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'unicode'

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Deprecated: Please try the TracWikiToPdfPlugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
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.