Attachment 'debug.html'

Download

--> -->

ConvertError

ExpatError: mismatched tag: line 376, column 2339 (see dump in /sjr/beodata/local/moinmoin_data/engineering/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. /sjr/beodata/local/python_linux/lib/python2.6/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object at 0x2a971e8fd0>)

    1. 1309 self.page.send_page()
    2. 1310 else:
    3. 1311 handler(self.page.page_name, self)
    4. 1312
    5. 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function execute at 0x2a97892230>
    • self = <MoinMoin.request.request_cgi.Request object at 0x2a971e8fd0>
    • self.page = <MoinMoin.Page.Page object at 0x2a97886bd0>
    • self.page.page_name = u'tcera'
  2. /sjr/beodata/local/python_linux/lib/python2.6/site-packages/MoinMoin/action/edit.py in execute (pagename=u'tcera', request=<MoinMoin.request.request_cgi.Request object at 0x2a971e8fd0>)

    1. 95 converter_name = 'undefined' # XXX we don't have other converters yet
    2. 96 convert = wikiutil.importPlugin(request.cfg, "converter", converter_name, 'convert')
    3. 97 savetext = convert(request, pagename, savetext)
    4. 98
    5. 99 # IMPORTANT: normalize text from the form. This should be done in
    • savetext = u'<pre class="comment">## page was renamed from Ti...eowulf/sjr/englib/photos/index.html">Gallery</a> '
    • convert = <function convert at 0x2a9790fb90>
    • request = <MoinMoin.request.request_cgi.Request object at 0x2a971e8fd0>
    • pagename = u'tcera'
  3. /sjr/beodata/local/python_linux/lib/python2.6/site-packages/MoinMoin/converter/text_html_text_moin_wiki.py in convert (request=<MoinMoin.request.request_cgi.Request object at 0x2a971e8fd0>, pagename=u'tcera', text=u'<page xmlns:o="urn:schemas-microsoft-com:office:...sjr/englib/photos/index.html">Gallery</a> </page>')

    1. 1431 u'xmlns:v="urn:schemas-microsoft-com:office:vml"']
    2. 1432 text = u'<page %s>%s</page>' % (' '.join(namespace), text)
    3. 1433 tree = parse(request, text)
    4. 1434 strip_whitespace().do(tree)
    5. 1435 text = convert_tree(request, pagename).do(tree)
    • tree undefined
    • global parse = <function parse at 0x2a9790fb18>
    • request = <MoinMoin.request.request_cgi.Request object at 0x2a971e8fd0>
    • text = u'<page xmlns:o="urn:schemas-microsoft-com:office:...sjr/englib/photos/index.html">Gallery</a> </page>'
  4. /sjr/beodata/local/python_linux/lib/python2.6/site-packages/MoinMoin/converter/text_html_text_moin_wiki.py in parse (request=<MoinMoin.request.request_cgi.Request object at 0x2a971e8fd0>, text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...sjr/englib/photos/index.html">Gallery</a> </page>')

    1. 1409 f.write("\n" + "-"*80 + "\n" + str(msg))
    2. 1410 f.close()
    3. 1411 raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname))
    4. 1412
    5. 1413 def convert(request, pagename, text):
    • global ConvertError = <class 'MoinMoin.error.ConvertError'>
    • msg = ExpatError('mismatched tag: line 376, column 2339',)
    • logname = '/sjr/beodata/local/moinmoin_data/engineering/data/expaterror.log'

ConvertError

ExpatError: mismatched tag: line 376, column 2339 (see dump in /sjr/beodata/local/moinmoin_data/engineering/data/expaterror.log)

  • args = ()
  • exceptions = <bound method ConvertError.exceptions of ConvertError()>
  • innerException = (<class 'xml.parsers.expat.ExpatError'>, ExpatError('mismatched tag: line 376, column 2339',), <traceback object at 0x2a978cff38>)
  • message = 'ExpatError: mismatched tag: line 376, column 233...al/moinmoin_data/engineering/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. /sjr/beodata/local/python_linux/lib/python2.6/site-packages/MoinMoin/converter/text_html_text_moin_wiki.py in parse (request=<MoinMoin.request.request_cgi.Request object at 0x2a971e8fd0>, text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...sjr/englib/photos/index.html">Gallery</a> </page>')

    1. 1401 text = text.encode(config.charset)
    2. 1402 try:
    3. 1403 return xml.dom.minidom.parseString(text)
    4. 1404 except xml.parsers.expat.ExpatError, msg:
    5. 1405 # this sometimes crashes when it should not, so save the stuff to analyze it:
    • global xml = <module 'xml' from '/sjr/beodata/local/python_linux/lib/python2.6/xml/__init__.pyc'>
    • xml.dom = <module 'xml.dom' from '/sjr/beodata/local/python_linux/lib/python2.6/xml/dom/__init__.pyc'>
    • xml.dom.minidom = <module 'xml.dom.minidom' from '/sjr/beodata/local/python_linux/lib/python2.6/xml/dom/minidom.pyc'>
    • xml.dom.minidom.parseString = <function parseString at 0x2a9790ec80>
    • text = '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...sjr/englib/photos/index.html">Gallery</a> </page>'
  2. /sjr/beodata/local/python_linux/lib/python2.6/xml/dom/minidom.py in parseString (string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...sjr/englib/photos/index.html">Gallery</a> </page>', parser=None)

    1. 1926 if parser is None:
    2. 1927 from xml.dom import expatbuilder
    3. 1928 return expatbuilder.parseString(string)
    4. 1929 else:
    5. 1930 from xml.dom import pulldom
    • expatbuilder = <module 'xml.dom.expatbuilder' from '/sjr/beodat...on_linux/lib/python2.6/xml/dom/expatbuilder.pyc'>
    • expatbuilder.parseString = <function parseString at 0x2a978bff50>
    • string = '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...sjr/englib/photos/index.html">Gallery</a> </page>'
  3. /sjr/beodata/local/python_linux/lib/python2.6/xml/dom/expatbuilder.py in parseString (string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...sjr/englib/photos/index.html">Gallery</a> </page>', namespaces=True)

    1. 938 else:
    2. 939 builder = ExpatBuilder()
    3. 940 return builder.parseString(string)
    4. 941
    5. 942
    • builder = <xml.dom.expatbuilder.ExpatBuilderNS instance at 0x2a9723e170>
    • builder.parseString = <bound method ExpatBuilderNS.parseString of <xml...builder.ExpatBuilderNS instance at 0x2a9723e170>>
    • string = '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...sjr/englib/photos/index.html">Gallery</a> </page>'
  4. /sjr/beodata/local/python_linux/lib/python2.6/xml/dom/expatbuilder.py in parseString (self=<xml.dom.expatbuilder.ExpatBuilderNS instance at 0x2a9723e170>, string='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...sjr/englib/photos/index.html">Gallery</a> </page>')

    1. 221 parser = self.getParser()
    2. 222 try:
    3. 223 parser.Parse(string, True)
    4. 224 self._setup_subset(string)
    5. 225 except ParseEscape:
    • parser = <pyexpat.xmlparser object at 0x2a97905130>
    • parser.Parse = <built-in method Parse of pyexpat.xmlparser object at 0x2a97905130>
    • string = '<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...sjr/englib/photos/index.html">Gallery</a> </page>'
    • builtin True = True

ExpatError

mismatched tag: line 376, column 2339

  • args = ('mismatched tag: line 376, column 2339',)
  • code = 7
  • lineno = 376
  • message = 'mismatched tag: line 376, column 2339'
  • offset = 2339

System Details

  • Date: Tue, 02 Jun 2009 16:09:00 +0000
  • Platform: Linux beowulf 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64
  • Python: Python 2.6.1 (/sjr/beodata/local/python_linux/bin/python)
  • MoinMoin: Release 1.8.3 (release)

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] (2009-06-02 17:41:14, 15.6 KB) [[attachment:debug.html]]
  • [get | view] (2009-06-02 17:42:11, 26.6 KB) [[attachment:expaterror.log]]
  • [get | view] (2009-03-25 11:15:35, 67.7 KB) [[attachment:fckeditor window textarea size is to small.png]]
  • [get | view] (2009-09-06 14:04:37, 0.8 KB) [[attachment:fckeditor_webkit.diff]]
  • [get | view] (2009-03-25 11:09:33, 63.7 KB) [[attachment:gui link is missing with google chrome.png]]
 All files | Selected Files: delete move to page copy to page

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