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.
/home/bill/moin/MoinMoin/request/__init__.py
in run
(self=<MoinMoin.request.request_standalone.Request object at 0xa37714c>)
- 1309 self.page.send_page()
- 1310 else:
- 1311 handler(self.page.page_name, self)
- 1312
- 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'
/home/bill/moin/MoinMoin/action/edit.py
in execute
(pagename=u'WikiSandBox', request=<MoinMoin.request.request_standalone.Request object at 0xa37714c>)
- 95 converter_name = 'undefined' # XXX we don't have other converters yet
- 96 convert = wikiutil.importPlugin(request.cfg, "converter", converter_name, 'convert')
- 97 savetext = convert(request, pagename, savetext)
- 98
- 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'
/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>')
- 1431 u'xmlns:v="urn:schemas-microsoft-com:office:vml"']
- 1432 text = u'<page %s>%s</page>' % (' '.join(namespace), text)
- 1433 tree = parse(request, text)
- 1434 strip_whitespace().do(tree)
- 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>'
/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>')
- 1409 f.write("\n" + "-"*80 + "\n" + str(msg))
- 1410 f.close()
- 1411 raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname))
- 1412
- 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.
/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>')
- 1401 text = text.encode(config.charset)
- 1402 try:
- 1403 return xml.dom.minidom.parseString(text)
- 1404 except xml.parsers.expat.ExpatError, msg:
- 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>'
/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)
- 1923 if parser is None:
- 1924 from xml.dom import expatbuilder
- 1925 return expatbuilder.parseString(string)
- 1926 else:
- 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>'
/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)
- 938 else:
- 939 builder = ExpatBuilder()
- 940 return builder.parseString(string)
- 941
- 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>'
/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>')
- 221 parser = self.getParser()
- 222 try:
- 223 parser.Parse(string, True)
- 224 self._setup_subset(string)
- 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
- Date: Sun, 25 Jan 2009 16:27:31 +0000
- Platform: Linux funnel 2.6.27-9-server #1 SMP Thu Nov 20 22:53:41 UTC 2008 i686
- Python: Python 2.5.2 (/usr/bin/python)
- MoinMoin: Release 1.8.1 (release)