--> -->

ConvertError

ExpatError: mismatched tag: line 386, column 551 (see dump in /home/bill/moin/wiki/data/expaterror.log)

If you want to report a bug, please save this page and attach it to your bug report.

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /home/bill/moin/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object at 0xa37714c>)

    1. 1309 self.page.send_page()
    2. 1310 else:
    3. 1311 handler(self.page.page_name, self)
    4. 1312
    5. 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function execute at 0x9ef9a3c>
    • self = <MoinMoin.request.request_standalone.Request object at 0xa37714c>
    • self.page = <MoinMoin.Page.Page object at 0xa2714cc>
    • self.page.page_name = u'WikiSandBox'
  2. /home/bill/moin/MoinMoin/action/edit.py in execute (pagename=u'WikiSandBox', request=<MoinMoin.request.request_standalone.Request object at 0xa37714c>)

    1. 95 converter_name = 'undefined' # XXX we don't have other converters yet
    2. 96 convert = wikiutil.importPlugin(request.cfg, "converter", converter_name, 'convert')
    3. 97 savetext = convert(request, pagename, savetext)
    4. 98
    5. 99 # IMPORTANT: normalize text from the form. This should be done in
    • savetext = u'<pre class="comment">## Please system and help p...vexed nymph gazed quickly </big> between fjords. '
    • convert = <function convert at 0xb7a56e2c>
    • request = <MoinMoin.request.request_standalone.Request object at 0xa37714c>
    • pagename = u'WikiSandBox'
  3. /home/bill/moin/MoinMoin/converter/text_html_text_moin_wiki.py in convert (request=<MoinMoin.request.request_standalone.Request object at 0xa37714c>, pagename=u'WikiSandBox', text=u'<page xmlns:o="urn:schemas-microsoft-com:office:...ymph gazed quickly </big> between fjords. </page>')

    1. 1431 u'xmlns:v="urn:schemas-microsoft-com:office:vml"']
    2. 1432 text = u'<page %s>%s</page>' % (' '.join(namespace), text)
    3. 1433 tree = parse(request, text)
    4. 1434 strip_whitespace().do(tree)
    5. 1435 text = convert_tree(request, pagename).do(tree)
    • tree undefined
    • global parse = <function parse at 0xb7a56df4>
    • request = <MoinMoin.request.request_standalone.Request object at 0xa37714c>
    • text = u'<page xmlns:o="urn:schemas-microsoft-com:office:...ymph gazed quickly </big> between fjords. </page>'
  4. /home/bill/moin/MoinMoin/converter/text_html_text_moin_wiki.py in parse (request=<MoinMoin.request.request_standalone.Request object at 0xa37714c>, text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...ymph gazed quickly </big> between fjords. </page>')

    1. 1409 f.write("\n" + "-"*80 + "\n" + str(msg))
    2. 1410 f.close()
    3. 1411 raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname))
    4. 1412
    5. 1413 def convert(request, pagename, text):
    • global ConvertError = <class 'MoinMoin.error.ConvertError'>
    • msg = ExpatError('mismatched tag: line 386, column 551',)
    • logname = '/home/bill/moin/wiki/data/expaterror.log'

ConvertError

ExpatError: mismatched tag: line 386, column 551 (see dump in /home/bill/moin/wiki/data/expaterror.log)

  • args = ()
  • exceptions = <bound method ConvertError.exceptions of ConvertError()>
  • innerException = (<class 'xml.parsers.expat.ExpatError'>, ExpatError('mismatched tag: line 386, column 551',), <traceback object at 0xa5dab44>)
  • message = 'ExpatError: mismatched tag: line 386, column 551...dump in /home/bill/moin/wiki/data/expaterror.log)'
  • name = 'MoinMoin Convert Error'

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /home/bill/moin/MoinMoin/converter/text_html_text_moin_wiki.py in parse (request=<MoinMoin.request.request_standalone.Request object at 0xa37714c>, text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...ymph gazed quickly </big> between fjords. </page>')

    1. 1401 text = text.encode(config.charset)
    2. 1402 try:
    3. 1403 return xml.dom.minidom.parseString(text)
    4. 1404 except xml.parsers.expat.ExpatError, msg:
    5. 1405 # this sometimes crashes when it should not, so save the stuff to analyze it:
    • global xml = <module 'xml' from '/usr/lib/python2.5/xml/__init__.pyc'>
    • xml.dom = <module 'xml.dom' from '/usr/lib/python2.5/xml/dom/__init__.pyc'>
    • xml.dom.minidom = <module 'xml.dom.minidom' from '/usr/lib/python2.5/xml/dom/minidom.pyc'>
    • xml.dom.minidom.parseString = <function parseString at 0xa062924>
    • text = '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...ymph gazed quickly </big> between fjords. </page>'
  2. /usr/lib/python2.5/xml/dom/minidom.py in parseString (string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...ymph gazed quickly </big> between fjords. </page>', parser=None)

    1. 1923 if parser is None:
    2. 1924 from xml.dom import expatbuilder
    3. 1925 return expatbuilder.parseString(string)
    4. 1926 else:
    5. 1927 from xml.dom import pulldom
    • expatbuilder = <module 'xml.dom.expatbuilder' from '/usr/lib/python2.5/xml/dom/expatbuilder.pyc'>
    • expatbuilder.parseString = <function parseString at 0xa0fbe64>
    • string = '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...ymph gazed quickly </big> between fjords. </page>'
  3. /usr/lib/python2.5/xml/dom/expatbuilder.py in parseString (string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...ymph gazed quickly </big> between fjords. </page>', namespaces=True)

    1. 938 else:
    2. 939 builder = ExpatBuilder()
    3. 940 return builder.parseString(string)
    4. 941
    5. 942
    • builder = <xml.dom.expatbuilder.ExpatBuilderNS instance at 0xa27148c>
    • builder.parseString = <bound method ExpatBuilderNS.parseString of <xml...patbuilder.ExpatBuilderNS instance at 0xa27148c>>
    • string = '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...ymph gazed quickly </big> between fjords. </page>'
  4. /usr/lib/python2.5/xml/dom/expatbuilder.py in parseString (self=<xml.dom.expatbuilder.ExpatBuilderNS instance at 0xa27148c>, string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...ymph gazed quickly </big> between fjords. </page>')

    1. 221 parser = self.getParser()
    2. 222 try:
    3. 223 parser.Parse(string, True)
    4. 224 self._setup_subset(string)
    5. 225 except ParseEscape:
    • parser = <pyexpat.xmlparser object at 0xa4cce2c>
    • parser.Parse = <built-in method Parse of pyexpat.xmlparser object at 0xa4cce2c>
    • string = '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...ymph gazed quickly </big> between fjords. </page>'
    • builtin True = True

ExpatError

mismatched tag: line 386, column 551

  • args = ('mismatched tag: line 386, column 551',)
  • code = 7
  • lineno = 386
  • message = 'mismatched tag: line 386, column 551'
  • offset = 551

System Details