ConvertError
ExpatError: mismatched tag: line 449, column 2 (see dump in /mnt/ramdisk/1.8-guieditor-mbyeongweon/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.
/mnt/ramdisk/1.8-guieditor-mbyeongweon/MoinMoin/request/__init__.py
in run
(self=<MoinMoin.request.request_standalone.Request object at 0xf72b50>)
- 1305 self.page.send_page()
- 1306 else:
- 1307 handler(self.page.page_name, self)
- 1308
- 1309 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler
= <function execute at 0xe38758>
- self
= <MoinMoin.request.request_standalone.Request object at 0xf72b50>
- self.page
= <MoinMoin.Page.Page object at 0xf72ad0>
- self.page.page_name
= u'ReimarBauer/UnderConstruction'
/mnt/ramdisk/1.8-guieditor-mbyeongweon/MoinMoin/action/edit.py
in execute
(pagename=u'ReimarBauer/UnderConstruction', request=<MoinMoin.request.request_standalone.Request object at 0xf72b50>)
- 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">\r\n#pragma supplementation-p...rste angezeigt.</p><p class="line867"></p><pre>\r\n'
- convert
= <function convert at 0x124c230>
- request
= <MoinMoin.request.request_standalone.Request object at 0xf72b50>
- pagename
= u'ReimarBauer/UnderConstruction'
/mnt/ramdisk/1.8-guieditor-mbyeongweon/MoinMoin/converter/text_html_text_moin_wiki.py
in convert
(request=<MoinMoin.request.request_standalone.Request object at
0xf72b50>, pagename=u'ReimarBauer/UnderConstruction',
text=u'<page
xmlns:o="urn:schemas-microsoft-com:office:...gezeigt.</p><p
class="line867"></p><pre>\r\n</page>')
- 1366 u'xmlns:v="urn:schemas-microsoft-com:office:vml"']
- 1367 text = u'<page %s>%s</page>' % (' '.join(namespace), text)
- 1368 tree = parse(request, text)
- 1369 strip_whitespace().do(tree)
- 1370 text = convert_tree(request, pagename).do(tree)
- tree undefined
- global
parse
= <function parse at 0x124c1b8>
- request
= <MoinMoin.request.request_standalone.Request object at 0xf72b50>
- text
= u'<page xmlns:o="urn:schemas-microsoft-com:office:...gezeigt.</p><p class="line867"></p><pre>\r\n</page>'
/mnt/ramdisk/1.8-guieditor-mbyeongweon/MoinMoin/converter/text_html_text_moin_wiki.py
in parse
(request=<MoinMoin.request.request_standalone.Request object at 0xf72b50>, text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...gezeigt.</p><p class="line867"></p><pre>\r\n</page>')
- 1344 f.write("\n" + "-"*80 + "\n" + str(msg))
- 1345 f.close()
- 1346 raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname))
- 1347
- 1348 def convert(request, pagename, text):
- global
ConvertError
= <class 'MoinMoin.error.ConvertError'>
- msg
= ExpatError('mismatched tag: line 449, column 2',)
- logname
= '/mnt/ramdisk/1.8-guieditor-mbyeongweon/wiki/data/expaterror.log'
ConvertError
ExpatError: mismatched tag: line 449, column 2 (see dump in /mnt/ramdisk/1.8-guieditor-mbyeongweon/wiki/data/expaterror.log)
- args = ()
- exceptions = <bound method ConvertError.exceptions of ConvertError()>
- innerException = (<class 'xml.parsers.expat.ExpatError'>,
ExpatError('mismatched tag: line 449, column 2',), <traceback object
at 0x1b52fc8>)
- message = 'ExpatError: mismatched tag: line 449, column 2 (...8-guieditor-mbyeongweon/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.
/mnt/ramdisk/1.8-guieditor-mbyeongweon/MoinMoin/converter/text_html_text_moin_wiki.py
in parse
(request=<MoinMoin.request.request_standalone.Request object at 0xf72b50>, text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...gezeigt.</p><p class="line867"></p><pre>\r\n</page>')
- 1336 text = text.encode(config.charset)
- 1337 try:
- 1338 return xml.dom.minidom.parseString(text)
- 1339 except xml.parsers.expat.ExpatError, msg:
- 1340 # this sometimes crashes when it should not, so save the stuff to analyze it:
- global
xml
= <module '_xmlplus' from '/usr/lib64/python2.5/site-packages/_xmlplus/__init__.pyc'>
- xml.dom
= <module 'xml.dom' from '/usr/lib64/python2.5/site-packages/_xmlplus/dom/__init__.pyc'>
- xml.dom.minidom
= <module 'xml.dom.minidom' from '/usr/lib64/python2.5/site-packages/_xmlplus/dom/minidom.pyc'>
- xml.dom.minidom.parseString
= <function parseString at 0x124a410>
- text
= '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...gezeigt.</p><p class="line867"></p><pre>\r\n</page>'
/usr/lib64/python2.5/site-packages/_xmlplus/dom/minidom.py
in parseString
(string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...gezeigt.</p><p class="line867"></p><pre>\r\n</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/lib64/...2.5/site-packages/_xmlplus/dom/expatbuilder.pyc'>
- expatbuilder.parseString
= <function parseString at 0x125b668>
- string
= '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...gezeigt.</p><p class="line867"></p><pre>\r\n</page>'
/usr/lib64/python2.5/site-packages/_xmlplus/dom/expatbuilder.py
in parseString
(string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...gezeigt.</p><p class="line867"></p><pre>\r\n</page>', namespaces=1)
- 940 else:
- 941 builder = ExpatBuilder()
- 942 return builder.parseString(string)
- 943
- 944
- builder
= <xml.dom.expatbuilder.ExpatBuilderNS instance at 0x1f77638>
- builder.parseString
= <bound method ExpatBuilderNS.parseString of <xml...patbuilder.ExpatBuilderNS instance at 0x1f77638>>
- string
= '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...gezeigt.</p><p class="line867"></p><pre>\r\n</page>'
/usr/lib64/python2.5/site-packages/_xmlplus/dom/expatbuilder.py
in parseString
(self=<xml.dom.expatbuilder.ExpatBuilderNS instance at 0x1f77638>, string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...gezeigt.</p><p class="line867"></p><pre>\r\n</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 0x1080ec0>
- parser.Parse
= <built-in method Parse of pyexpat.xmlparser object at 0x1080ec0>
- string
= '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...gezeigt.</p><p class="line867"></p><pre>\r\n</page>'
- builtin
True
= True
ExpatError
mismatched tag: line 449, column 2
- args = ('mismatched tag: line 449, column 2',)
- code = 7
- lineno = 449
- message = 'mismatched tag: line 449, column 2'
- offset = 2
System Details
- Date: Wed, 30 Jul 2008 16:40:39 +0000
- Platform: Linux localhost 2.6.18.8-0.9-default #1 SMP Sun Feb 10 22:48:05 UTC 2008 x86_64
- Python: Python 2.5 (/usr/bin/python)
- MoinMoin: Release 1.8.0 (alpha)