Changes between Version 5 and Version 6 of SandBox


Ignore:
Timestamp:
Jun 27, 2007 6:47:51 PM (7 years ago)
Author:
coderanger
Comment:

Adding example of pytb processor

Legend:

Unmodified
Added
Removed
Modified
  • SandBox

    v5 v6  
    55 
    66Go ahead, edit it freely. 
     7 
     8Example of using `pytb`: 
     9{{{ 
     10#!pytb 
     11Traceback (most recent call last): 
     12  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request 
     13    dispatcher.dispatch(req) 
     14  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 238, in dispatch 
     15    resp = chosen_handler.process_request(req) 
     16  File "build/bdist.linux-i686/egg/webadmin/web_ui.py", line 109, in process_request 
     17  File "build/bdist.linux-i686/egg/combinewiki/web_ui.py", line 58, in process_admin_request 
     18  File "build/bdist.linux-i686/egg/combinewiki/formats.py", line 201, in process_combinewiki 
     19  File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 358, in display 
     20    data = self.hdf.render(template, form_token) 
     21  File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 296, in render 
     22    injector.feed(template.render()) 
     23  File "/usr/lib/python2.4/HTMLParser.py", line 108, in feed 
     24    self.goahead(0) 
     25  File "/usr/lib/python2.4/HTMLParser.py", line 148, in goahead 
     26    k = self.parse_starttag(i) 
     27  File "/usr/lib/python2.4/HTMLParser.py", line 226, in parse_starttag 
     28    endpos = self.check_for_whole_start_tag(i) 
     29  File "/usr/lib/python2.4/HTMLParser.py", line 301, in check_for_whole_start_tag 
     30    self.error("malformed start tag") 
     31  File "/usr/lib/python2.4/HTMLParser.py", line 115, in error 
     32    raise HTMLParseError(message, self.getpos()) 
     33HTMLParseError: malformed start tag, at line 499, column 81 
     34}}}