[Twisted-Python] Questions about adding documentation

Steve Steiner (listsin) listsin at integrateddevcorp.com
Thu Jul 30 21:45:53 MDT 2009


On Jul 30, 2009, at 11:35 PM, Jean-Paul Calderone wrote:
> Here are a few tickets in particular which I think it would be  
> worthwhile to
> resolve:
>
>    http://twistedmatrix.com/trac/ticket/1136
>    http://twistedmatrix.com/trac/ticket/1627
>    http://twistedmatrix.com/trac/ticket/3784
>    http://twistedmatrix.com/trac/ticket/3835

Traceback (most recent call last):
   File "/srv/trac/.local/lib/python2.5/site-packages/trac/web/ 
api.py", line 382, in send_error
     'text/html')
   File "/srv/trac/.local/lib/python2.5/site-packages/trac/web/ 
chrome.py", line 475, in render_template
     return stream.render(method, doctype=doctype)
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/core.py",  
line 146, in render
     output = u''.join(list(generator))
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/ 
output.py", line 200, in __call__
     for kind, data, pos in stream:
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/ 
output.py", line 486, in __call__
     for kind, data, pos in chain(stream, [(None, None, None)]):
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/ 
output.py", line 436, in __call__
     for kind, data, pos in stream:
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/core.py",  
line 207, in _ensure
     for event in stream:
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/core.py",  
line 207, in _ensure
     for event in stream:
   File "/srv/trac/.local/lib/python2.5/site-packages/trac/web/ 
chrome.py", line 478, in _strip_accesskeys
     for kind, data, pos in stream:
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/ 
filters.py", line 313, in __call__
     for kind, data, pos in stream:
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/ 
template.py", line 1145, in _match
     content = list(content)
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/ 
filters.py", line 313, in __call__
     for kind, data, pos in stream:
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/ 
template.py", line 1120, in _match
     for event in stream:
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/ 
template.py", line 1109, in _strip
     event = stream.next()
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/ 
template.py", line 941, in _eval
     for event in substream:
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/ 
template.py", line 920, in _eval
     ctxt):
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/ 
template.py", line 930, in _eval
     result = data.evaluate(ctxt)
   File "/srv/trac/.local/lib/python2.5/site-packages/genshi/eval.py",  
line 101, in evaluate
     {'data': data})
   File "/home/trac/.local/share/trac/templates/error.html", line 36,  
in <Expression u"get_reporter_id(req)">
     <input type="hidden" name="reporter" value="${get_reporter_id 
(req)}" />
   File "/srv/trac/.local/lib/python2.5/site-packages/trac/util/ 
__init__.py", line 50, in get_reporter_id
     name = req.session.get('name', None)
AttributeError: 'NoneType' object has no attribute 'get'

Yikes...

S






More information about the Twisted-Python mailing list