ConvertError
ExpatError: mismatched tag: line 452, column 313
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.
/org/moin_tw/moin-1.5/MoinMoin/request.py
in run
(self=<MoinMoin.request.RequestTwisted object>)
- 1006 from MoinMoin.wikiaction import getHandler
- 1007 handler = getHandler(self, action)
- 1008 handler(self.page.page_name, self)
- 1009
- 1010 # 5. Or redirect to another page
- handler
= <function do_edit>
- self
= <MoinMoin.request.RequestTwisted object>
- self.page
= <MoinMoin.Page.Page instance>
- self.page.page_name
= u'MoinMoinBugs/ActionMacroBroken'
/org/moin_tw/moin-1.5/MoinMoin/wikiaction.py
in do_edit
(pagename=u'MoinMoinBugs/ActionMacroBroken', request=<MoinMoin.request.RequestTwisted object>)
- 577 if lasteditor == 'gui':
- 578 from MoinMoin.converter.text_html_text_x_moin import convert
- 579 savetext = convert(request, pagename, savetext) # XXX error handling
- 580
- 581 # IMPORTANT: normalize text from the form. This should be done in
- savetext
= u'<pre class="comment">\r\n## page was renamed from ...tegoryMoinMoinBug">CategoryMoinMoinBug</a> </p>\r\n'
- convert
= <function convert>
- request
= <MoinMoin.request.RequestTwisted object>
- pagename
= u'MoinMoinBugs/ActionMacroBroken'
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py
in convert
(request=<MoinMoin.request.RequestTwisted object>, pagename=u'MoinMoinBugs/ActionMacroBroken', text=u'<page><pre class="comment">\r\n## page was renamed...oinMoinBug">CategoryMoinMoinBug</a> </p>\r\n</page>')
- 1137 def convert(request, pagename, text):
- 1138 text = u"<page>%s</page>" % text
- 1139 tree = parse(text)
- 1140 strip_whitespace().do(tree)
- 1141 return convert_tree(request, pagename).do(tree)
- tree undefined
- global
parse
= <function parse>
- text
= u'<page><pre class="comment">\r\n## page was renamed...oinMoinBug">CategoryMoinMoinBug</a> </p>\r\n</page>'
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py
in parse
(text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...oinMoinBug">CategoryMoinMoinBug</a> </p>\r\n</page>')
- 1133 return xml.dom.minidom.parseString(text)
- 1134 except xml.parsers.expat.ExpatError, msg:
- 1135 raise ConvertError('ExpatError: %s' % msg)
- 1136
- 1137 def convert(request, pagename, text):
- global
ConvertError
= <class MoinMoin.converter.text_html_text_x_moin.ConvertError>
- msg
= <xml.parsers.expat.ExpatError instance>
ConvertError
ExpatError: mismatched tag: line 452, column 313
- exceptions = <bound method ConvertError.exceptions of <MoinMo...ter.text_html_text_x_moin.ConvertError instance>>
- innerException = (<class xml.parsers.expat.ExpatError>, <xml.parsers.expat.ExpatError instance>, <traceback object>)
- message = 'ExpatError: mismatched tag: line 452, column 313'
- 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.
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py
in parse
(text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...oinMoinBug">CategoryMoinMoinBug</a> </p>\r\n</page>')
- 1131 text = text.encode(config.charset)
- 1132 try:
- 1133 return xml.dom.minidom.parseString(text)
- 1134 except xml.parsers.expat.ExpatError, msg:
- 1135 raise ConvertError('ExpatError: %s' % msg)
- global
xml
= <module '_xmlplus' from '/usr/local/lib/python2.4/site-packages/_xmlplus/__init__.pyc'>
- xml.dom
= <module 'xml.dom' from '/usr/local/lib/python2.4/site-packages/_xmlplus/dom/__init__.pyc'>
- xml.dom.minidom
= <module 'xml.dom.minidom' from '/usr/local/lib/python2.4/site-packages/_xmlplus/dom/minidom.pyc'>
- xml.dom.minidom.parseString
= <function parseString>
- text
= '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...oinMoinBug">CategoryMoinMoinBug</a> </p>\r\n</page>'
/usr/local/lib/python2.4/site-packages/_xmlplus/dom/minidom.py
in parseString
(string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...oinMoinBug">CategoryMoinMoinBug</a> </p>\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/local/...2.4/site-packages/_xmlplus/dom/expatbuilder.pyc'>
- expatbuilder.parseString
= <function parseString>
- string
= '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...oinMoinBug">CategoryMoinMoinBug</a> </p>\r\n</page>'
/usr/local/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py
in parseString
(string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...oinMoinBug">CategoryMoinMoinBug</a> </p>\r\n</page>', namespaces=1)
- 940 else:
- 941 builder = ExpatBuilder()
- 942 return builder.parseString(string)
- 943
- 944
- builder
= <xml.dom.expatbuilder.ExpatBuilderNS instance>
- builder.parseString
= <bound method ExpatBuilderNS.parseString of <xml.dom.expatbuilder.ExpatBuilderNS instance>>
- string
= '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...oinMoinBug">CategoryMoinMoinBug</a> </p>\r\n</page>'
/usr/local/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py
in parseString
(self=<xml.dom.expatbuilder.ExpatBuilderNS instance>, string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...oinMoinBug">CategoryMoinMoinBug</a> </p>\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>
- parser.Parse
= <built-in method Parse of pyexpat.xmlparser object>
- string
= '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...oinMoinBug">CategoryMoinMoinBug</a> </p>\r\n</page>'
- builtin
True
= True
ExpatError
mismatched tag: line 452, column 313
- args = ('mismatched tag: line 452, column 313',)
- code = 7
- lineno = 452
- offset = 313
System Details
- Date: Wed, 02 Nov 2005 21:42:03 +0000
- Platform: Linux thinkmo 2.6.11.12-thinkmo-1 #1 SMP Sat Jul 2 20:07:19 CEST 2005 x86_64
- Python: Python 2.4.2 (/usr/local/bin/python2.4)
- MoinMoin: Release 1.5.0beta1 (release)