Attachment 'traceback.html'

Download

--> -->

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.

  1. /srv/moin_tw/moin-productive/MoinMoin/request.py in run (self=<MoinMoin.request.RequestFastCGI object at 0x562964cc>)

    1. 1205 self.page.send_page(self, msg=msg)
    2. 1206 else:
    3. 1207 handler(self.page.page_name, self)
    4. 1208
    5. 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'
  2. /srv/moin_tw/moin-productive/MoinMoin/wikiaction.py in do_edit (pagename=u'MoinMoinBugs/GuiEditorExcelPasteUnboundPrefix/Recreate', request=<MoinMoin.request.RequestFastCGI object at 0x562964cc>)

    1. 597 try:
    2. 598 if lasteditor == 'gui':
    3. 599 savetext = convert(request, pagename, savetext)
    4. 600
    5. 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'
  3. /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>')

    1. 1218 def convert(request, pagename, text):
    2. 1219 text = u"<page>%s</page>" % text
    3. 1220 tree = parse(request, text)
    4. 1221 strip_whitespace().do(tree)
    5. 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>'
  4. /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>')

    1. 1214 f.write("\n" + "-"*80 + "\n" + str(msg))
    2. 1215 f.close()
    3. 1216 raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname))
    4. 1217
    5. 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.

  1. /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>')

    1. 1206 text = text.encode(config.charset)
    2. 1207 try:
    3. 1208 return xml.dom.minidom.parseString(text)
    4. 1209 except xml.parsers.expat.ExpatError, msg:
    5. 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>'
  2. /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)

  3. /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)

  4. /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)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2007-10-17 10:26:51, 26.4 KB) [[attachment:expaterror_log.txt]]
  • [get | view] (2007-10-17 10:09:23, 13.1 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.