Here's an innocuous string from my extension to the tutorial...but it
should produce an error in the std tutorial. Enter this into a new wiki
page:

"""
                Another Page
                ------------

 l. nsthnth
 l. snthnth

-nthnth
"""

ERROR:

500 Internal error

Server got itself in trouble

Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/CherryPy-2.1.0_rc2-py2.4.egg/cherrypy/_cphttptools.py",
line 271, in run
    main()
  File
"/usr/lib/python2.4/site-packages/CherryPy-2.1.0_rc2-py2.4.egg/cherrypy/_cphttptools.py",
line 502, in main
    body = page_handler(*args, **cherrypy.request.paramMap)
  File
"/usr/lib/python2.4/site-packages/TurboGears-0.8a3-py2.4.egg/turbogears/controllers.py",
line 121, in newfunc
    output = func(self, *args, **kw)
  File
"/home/tgreenwo/working/turbogear/toddswiki/toddswiki/controllers.py",
line 55, in default
    return self.index(pagename)
  File
"/usr/lib/python2.4/site-packages/TurboGears-0.8a3-py2.4.egg/turbogears/controllers.py",
line 121, in newfunc
    output = func(self, *args, **kw)
  File
"/home/tgreenwo/working/turbogear/toddswiki/toddswiki/controllers.py",
line 24, in index
    content = publish_parts(page.data, writer_name="html")["html_body"]
  File "/usr/lib/site-python/docutils/core.py", line 407, in
publish_parts
    enable_exit_status=enable_exit_status)
  File "/usr/lib/site-python/docutils/core.py", line 516, in
publish_programmatically
    output = pub.publish(enable_exit_status=enable_exit_status)
  File "/usr/lib/site-python/docutils/core.py", line 194, in publish
    self.settings)
  File "/usr/lib/site-python/docutils/readers/__init__.py", line 66, in
read
    self.parse()
  File "/usr/lib/site-python/docutils/readers/__init__.py", line 72, in
parse
    self.parser.parse(self.input, document)
  File "/usr/lib/site-python/docutils/parsers/rst/__init__.py", line
154, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "/usr/lib/site-python/docutils/parsers/rst/states.py", line 171,
in run
    input_source=document['source'])
  File "/usr/lib/site-python/docutils/statemachine.py", line 232, in
run
    context, next_state, result = self.check_line(
  File "/usr/lib/site-python/docutils/statemachine.py", line 421, in
check_line
    return method(match, context, next_state)
  File "/usr/lib/site-python/docutils/parsers/rst/states.py", line
1083, in indent
    blockquote, messages = self.block_quote(indented, line_offset)
  File "/usr/lib/site-python/docutils/parsers/rst/states.py", line
1094, in block_quote
    self.nested_parse(blockquote_lines, line_offset, blockquote)
  File "/usr/lib/site-python/docutils/parsers/rst/states.py", line 267,
in nested_parse
    node=node, match_titles=match_titles)
  File "/usr/lib/site-python/docutils/parsers/rst/states.py", line 196,
in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/site-python/docutils/statemachine.py", line 232, in
run
    context, next_state, result = self.check_line(
  File "/usr/lib/site-python/docutils/statemachine.py", line 421, in
check_line
    return method(match, context, next_state)
  File "/usr/lib/site-python/docutils/parsers/rst/states.py", line
1083, in indent
    blockquote, messages = self.block_quote(indented, line_offset)
  File "/usr/lib/site-python/docutils/parsers/rst/states.py", line
1094, in block_quote
    self.nested_parse(blockquote_lines, line_offset, blockquote)
  File "/usr/lib/site-python/docutils/parsers/rst/states.py", line 267,
in nested_parse
    node=node, match_titles=match_titles)
  File "/usr/lib/site-python/docutils/parsers/rst/states.py", line 196,
in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/site-python/docutils/statemachine.py", line 232, in
run
    context, next_state, result = self.check_line(
  File "/usr/lib/site-python/docutils/statemachine.py", line 421, in
check_line
    return method(match, context, next_state)
  File "/usr/lib/site-python/docutils/parsers/rst/states.py", line
2586, in underline
    nodes.literal_block(blocktext, blocktext), line=lineno)
  File "/usr/lib/site-python/docutils/utils.py", line 214, in severe
    return self.system_message(4, *args, **kwargs)
  File "/usr/lib/site-python/docutils/utils.py", line 172, in
system_message
    raise SystemMessage(msg, level)
SystemMessage: <string>:2: (SEVERE/4) Unexpected section title.

Another Page
------------

Powered by Cherrypy 2.1.0-rc2

Reply via email to