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.
/user/20080715/1.8-guieditor-mbyeongweon/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object at 0x1337390>)
- 1296 self.page.send_page()
- 1297 else:
- 1298 handler(self.page.page_name, self)
- 1299
- 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'
/user/20080715/1.8-guieditor-mbyeongweon/MoinMoin/action/edit.py in execute (pagename=u'Example', request=<MoinMoin.request.request_standalone.Request object at 0x1337390>)
- 95 converter_name = 'undefined' # XXX we don't have other converters yet
- 96 convert = wikiutil.importPlugin(request.cfg, "converter", converter_name, 'convert')
- 97 savetext = convert(request, pagename, savetext)
- 98
- 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'
/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>')
- 1328 tree = parse(request, text)
- 1329 strip_whitespace().do(tree)
- 1330 text = convert_tree(request, pagename).do(tree)
- 1331 text = '\n'.join([s.rstrip() for s in text.splitlines()] + ['']) # remove trailing blanks
- 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>
/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>)
- 460 self.depth = 0
- 461 self.text = []
- 462 self.visit(tree.documentElement)
- 463 self.check_whitespace()
- 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>
/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>)
- 406 nodeType = node.nodeType
- 407 if node.nodeType == Node.ELEMENT_NODE:
- 408 return self.visit_element(node)
- 409 elif node.nodeType == Node.ATTRIBUTE_NODE:
- 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>
/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>)
- 512 func = getattr(self, "process_%s" % name, None)
- 513 if func:
- 514 func(node)
- 515 else:
- 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>
/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>)
- 555 for i in node.childNodes:
- 556 if i.nodeType == Node.ELEMENT_NODE:
- 557 self.visit_element(i)
- 558 elif i.nodeType == Node.TEXT_NODE: # if this is missing, all std text under a headline is dropped!
- 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>
/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>)
- 512 func = getattr(self, "process_%s" % name, None)
- 513 if func:
- 514 func(node)
- 515 else:
- 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>
/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>)
- 649 self.process_dl(i)
- 650 else:
- 651 raise ConvertError("Illegal list element %s" % i.localName)
- 652 self.depth -= 1
- 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.You are not allowed to attach a file to this page.