Attachment 'traceback.html'

Download

--> -->

ConvertError

Illegal list element img

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. /user/20080715/1.8-guieditor-mbyeongweon/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object at 0x1337390>)

    1. 1296 self.page.send_page()
    2. 1297 else:
    3. 1298 handler(self.page.page_name, self)
    4. 1299
    5. 1300 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function execute at 0xb10140>
    • self = <MoinMoin.request.request_standalone.Request object at 0x1337390>
    • self.page = <MoinMoin.Page.Page object at 0x1337550>
    • self.page.page_name = u'Example'
  2. /user/20080715/1.8-guieditor-mbyeongweon/MoinMoin/action/edit.py in execute (pagename=u'Example', request=<MoinMoin.request.request_standalone.Request object at 0x1337390>)

    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'<p class="line874">Describe Example here.</p><ul...class="line862">e</p></td> </tr> </tbody></table>'
    • convert = <function convert at 0x118c6e0>
    • request = <MoinMoin.request.request_standalone.Request object at 0x1337390>
    • pagename = u'Example'
  3. /user/20080715/1.8-guieditor-mbyeongweon/MoinMoin/converter/text_html_text_moin_wiki.py in convert (request=<MoinMoin.request.request_standalone.Request object at 0x1337390>, pagename=u'Example', text=u'<page xmlns:o="urn:schemas-microsoft-com:office:...line862">e</p></td> </tr> </tbody></table></page>')

    1. 1328 tree = parse(request, text)
    2. 1329 strip_whitespace().do(tree)
    3. 1330 text = convert_tree(request, pagename).do(tree)
    4. 1331 text = '\n'.join([s.rstrip() for s in text.splitlines()] + ['']) # remove trailing blanks
    5. 1332 return text
    • text = u'<page xmlns:o="urn:schemas-microsoft-com:office:...line862">e</p></td> </tr> </tbody></table></page>'
    • global convert_tree = <class 'MoinMoin.converter.text_html_text_moin_wiki.convert_tree'>
    • request = <MoinMoin.request.request_standalone.Request object at 0x1337390>
    • pagename = u'Example'
    • ).do undefined
    • tree = <xml.dom.minidom.Document instance at 0x133f3b0>
  4. /user/20080715/1.8-guieditor-mbyeongweon/MoinMoin/converter/text_html_text_moin_wiki.py in do (self=<MoinMoin.converter.text_html_text_moin_wiki.convert_tree object at 0x132b390>, tree=<xml.dom.minidom.Document instance at 0x133f3b0>)

    1. 460 self.depth = 0
    2. 461 self.text = []
    3. 462 self.visit(tree.documentElement)
    4. 463 self.check_whitespace()
    5. 464 return ''.join(self.text)
    • self = <MoinMoin.converter.text_html_text_moin_wiki.convert_tree object at 0x132b390>
    • self.visit = <bound method convert_tree.visit of <MoinMoin.co...text_moin_wiki.convert_tree object at 0x132b390>>
    • tree = <xml.dom.minidom.Document instance at 0x133f3b0>
    • tree.documentElement = <DOM Element: page at 0x2b9091555950>
  5. /user/20080715/1.8-guieditor-mbyeongweon/MoinMoin/converter/text_html_text_moin_wiki.py in visit (self=<MoinMoin.converter.text_html_text_moin_wiki.convert_tree object at 0x132b390>, node=<DOM Element: page at 0x2b9091555950>)

    1. 406 nodeType = node.nodeType
    2. 407 if node.nodeType == Node.ELEMENT_NODE:
    3. 408 return self.visit_element(node)
    4. 409 elif node.nodeType == Node.ATTRIBUTE_NODE:
    5. 410 return self.visit_attribute(node)
    • self = <MoinMoin.converter.text_html_text_moin_wiki.convert_tree object at 0x132b390>
    • self.visit_element = <bound method convert_tree.visit_element of <Moi...text_moin_wiki.convert_tree object at 0x132b390>>
    • node = <DOM Element: page at 0x2b9091555950>
  6. /user/20080715/1.8-guieditor-mbyeongweon/MoinMoin/converter/text_html_text_moin_wiki.py in visit_element (self=<MoinMoin.converter.text_html_text_moin_wiki.convert_tree object at 0x132b390>, node=<DOM Element: page at 0x2b9091555950>)

    1. 512 func = getattr(self, "process_%s" % name, None)
    2. 513 if func:
    3. 514 func(node)
    4. 515 else:
    5. 516 self.process_inline(node)
    • func = <bound method convert_tree.process_page of <Moin...text_moin_wiki.convert_tree object at 0x132b390>>
    • node = <DOM Element: page at 0x2b9091555950>
  7. /user/20080715/1.8-guieditor-mbyeongweon/MoinMoin/converter/text_html_text_moin_wiki.py in process_page (self=<MoinMoin.converter.text_html_text_moin_wiki.convert_tree object at 0x132b390>, node=<DOM Element: page at 0x2b9091555950>)

    1. 555 for i in node.childNodes:
    2. 556 if i.nodeType == Node.ELEMENT_NODE:
    3. 557 self.visit_element(i)
    4. 558 elif i.nodeType == Node.TEXT_NODE: # if this is missing, all std text under a headline is dropped!
    5. 559 txt = i.data.strip() # IMPORTANT: don't leave this unstripped or there will be wrong blanks
    • self = <MoinMoin.converter.text_html_text_moin_wiki.convert_tree object at 0x132b390>
    • self.visit_element = <bound method convert_tree.visit_element of <Moi...text_moin_wiki.convert_tree object at 0x132b390>>
    • i = <DOM Element: ul at 0xc1e7e8>
  8. /user/20080715/1.8-guieditor-mbyeongweon/MoinMoin/converter/text_html_text_moin_wiki.py in visit_element (self=<MoinMoin.converter.text_html_text_moin_wiki.convert_tree object at 0x132b390>, node=<DOM Element: ul at 0xc1e7e8>)

    1. 512 func = getattr(self, "process_%s" % name, None)
    2. 513 if func:
    3. 514 func(node)
    4. 515 else:
    5. 516 self.process_inline(node)
    • func = <bound method convert_tree.process_list of <Moin...text_moin_wiki.convert_tree object at 0x132b390>>
    • node = <DOM Element: ul at 0xc1e7e8>
  9. /user/20080715/1.8-guieditor-mbyeongweon/MoinMoin/converter/text_html_text_moin_wiki.py in process_list (self=<MoinMoin.converter.text_html_text_moin_wiki.convert_tree object at 0x132b390>, node=<DOM Element: ul at 0xc1e7e8>)

    1. 649 self.process_dl(i)
    2. 650 else:
    3. 651 raise ConvertError("Illegal list element %s" % i.localName)
    4. 652 self.depth -= 1
    5. 653 if self.depth == 0:
    • global ConvertError = <class 'MoinMoin.error.ConvertError'>
    • i = <DOM Element: img at 0xb017e8>
    • i.localName = u'img'

ConvertError

Illegal list element img

  • args = ()
  • exceptions = <bound method ConvertError.exceptions of ConvertError()>
  • innerException = (None, None, None)
  • message = u'Illegal list element img'
  • name = 'MoinMoin Convert Error'

System Details

  • Date: Wed, 16 Jul 2008 15:41:18 +0000
  • Platform: Linux linux 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.7.0rc1 (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] (2008-07-16 15:55:15, 14.5 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.