ConvertError
ExpatError: unbound prefix: line 376, column 1530 (see dump in /srv/de.wikiwikiweb.moinmoin/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.
/srv/moin_tw/moin-productive/MoinMoin/request.py
in run
(self=<MoinMoin.request.RequestFastCGI object at 0x562964cc>)
- 1205 self.page.send_page(self, msg=msg)
- 1206 else:
- 1207 handler(self.page.page_name, self)
- 1208
- 1209 # generate page footer (actions that do not want this footer use
- handler
= <function do_edit at 0x558a3454>
- self
= <MoinMoin.request.RequestFastCGI object at 0x562964cc>
- self.page
= <MoinMoin.Page.Page instance at 0x55ed3a8c>
- self.page.page_name
= u'MoinMoinBugs/GuiEditorExcelPasteUnboundPrefix/Recreate'
/srv/moin_tw/moin-productive/MoinMoin/wikiaction.py
in do_edit
(pagename=u'MoinMoinBugs/GuiEditorExcelPasteUnboundPrefix/Recreate', request=<MoinMoin.request.RequestFastCGI object at 0x562964cc>)
- 597 try:
- 598 if lasteditor == 'gui':
- 599 savetext = convert(request, pagename, savetext)
- 600
- 601 # IMPORTANT: normalize text from the form. This should be done in
- savetext
= u'<p class="line867"></p><h2 id="head-11ce49fe6a48...ze="2">FALSE</font></td></tr></tbody></table></p>'
- convert
= <function convert at 0x56771ed4>
- request
= <MoinMoin.request.RequestFastCGI object at 0x562964cc>
- pagename
= u'MoinMoinBugs/GuiEditorExcelPasteUnboundPrefix/Recreate'
/srv/moin_tw/moin-productive/MoinMoin/converter/text_html_text_x_moin.py
in convert
(request=<MoinMoin.request.RequestFastCGI object at 0x562964cc>, pagename=u'MoinMoinBugs/GuiEditorExcelPasteUnboundPrefix/Recreate', text=u'<page><p class="line867"></p><h2 id="head-11ce49...FALSE</font></td></tr></tbody></table></p></page>')
- 1218 def convert(request, pagename, text):
- 1219 text = u"<page>%s</page>" % text
- 1220 tree = parse(request, text)
- 1221 strip_whitespace().do(tree)
- 1222 text = convert_tree(request, pagename).do(tree)
- tree undefined
- global
parse
= <function parse at 0x8d1225c>
- request
= <MoinMoin.request.RequestFastCGI object at 0x562964cc>
- text
= u'<page><p class="line867"></p><h2 id="head-11ce49...FALSE</font></td></tr></tbody></table></p></page>'
/srv/moin_tw/moin-productive/MoinMoin/converter/text_html_text_x_moin.py
in parse
(request=<MoinMoin.request.RequestFastCGI object at 0x562964cc>, text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...FALSE</font></td></tr></tbody></table></p></page>')
- 1214 f.write("\n" + "-"*80 + "\n" + str(msg))
- 1215 f.close()
- 1216 raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname))
- 1217
- 1218 def convert(request, pagename, text):
- global
ConvertError
= <class 'MoinMoin.converter.text_html_text_x_moin.ConvertError'>
- msg
= ExpatError('unbound prefix: line 376, column 1530',)
- logname
= '/srv/de.wikiwikiweb.moinmoin/data/expaterror.log'
ConvertError
ExpatError: unbound prefix: line 376, column 1530 (see dump in /srv/de.wikiwikiweb.moinmoin/data/expaterror.log)
- args = ()
- exceptions = <bound method ConvertError.exceptions of ConvertError()>
- innerException = (<class 'xml.parsers.expat.ExpatError'>, ExpatError('unbound prefix: line 376, column 1530',), <traceback object at 0x8cd7644>)
- message = 'ExpatError: unbound prefix: line 376, column 153.../srv/de.wikiwikiweb.moinmoin/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.
/srv/moin_tw/moin-productive/MoinMoin/converter/text_html_text_x_moin.py
in parse
(request=<MoinMoin.request.RequestFastCGI object at 0x562964cc>, text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...FALSE</font></td></tr></tbody></table></p></page>')
- 1206 text = text.encode(config.charset)
- 1207 try:
- 1208 return xml.dom.minidom.parseString(text)
- 1209 except xml.parsers.expat.ExpatError, msg:
- 1210 # this sometimes crashes when it should not, so save the stuff to analyze it:
- global
xml
= <module '_xmlplus' from '/usr/lib/python2.5/site-packages/_xmlplus/__init__.pyc'>
- xml.dom
= <module 'xml.dom' from '/usr/lib/python2.5/site-packages/_xmlplus/dom/__init__.pyc'>
- xml.dom.minidom
= <module 'xml.dom.minidom' from '/usr/lib/python2.5/site-packages/_xmlplus/dom/minidom.pyc'>
- xml.dom.minidom.parseString
= <function parseString at 0x56771614>
- text
= '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...FALSE</font></td></tr></tbody></table></p></page>'
/usr/local/lib/python2.5/site-packages/_xmlplus/dom/minidom.py
in parseString
(string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...FALSE</font></td></tr></tbody></table></p></page>', parser=None)
/usr/local/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py
in parseString
(string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...FALSE</font></td></tr></tbody></table></p></page>', namespaces=1)
/usr/local/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py
in parseString
(self=<xml.dom.expatbuilder.ExpatBuilderNS instance at 0x56c6124c>, string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...FALSE</font></td></tr></tbody></table></p></page>')
ExpatError
unbound prefix: line 376, column 1530
- args = ('unbound prefix: line 376, column 1530',)
- code = 27
- lineno = 376
- message = 'unbound prefix: line 376, column 1530'
- offset = 1530
System Details
- Date: Wed, 17 Oct 2007 09:54:15 +0000
- Platform: Linux web.thinkmo.de 2.6.22.7-thinkmo-1 #1 SMP Fri Sep 28 14:48:51 CEST 2007 x86_64
- Python: Python 2.5 (/usr/bin/python2.5)
- MoinMoin: Release 1.5.8 (99615881d405 tip)