ConvertError
visit_element: Don't support em element
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.
c:\sources\moin-1.5.0beta3\MoinMoin\request.py
in run
(self=<MoinMoin.request.RequestModPy object>)
- 1006 from MoinMoin.wikiaction import getHandler
- 1007 handler = getHandler(self, action)
- 1008 handler(self.page.page_name, self)
- 1009
- 1010 # 5. Or redirect to another page
- handler
= <function do_edit>
- self
= <MoinMoin.request.RequestModPy object>
- self.page
= <MoinMoin.Page.Page instance>
- self.page.page_name
= u'HelpOnLanguages'
c:\sources\moin-1.5.0beta3\MoinMoin\wikiaction.py
in do_edit
(pagename=u'HelpOnLanguages', request=<MoinMoin.request.RequestModPy object>)
- 577 if lasteditor == 'gui':
- 578 from MoinMoin.converter.text_html_text_x_moin import convert
- 579 savetext = convert(request, pagename, savetext) # XXX error handling
- 580
- 581 # IMPORTANT: normalize text from the form. This should be done in
- savetext
= u'<pre class="comment">## Please edit system and h...dern/img/idea.png" /> New in 1.3 </p> </li> </ul>'
- convert
= <function convert>
- request
= <MoinMoin.request.RequestModPy object>
- pagename
= u'HelpOnLanguages'
c:\sources\moin-1.5.0beta3\MoinMoin\converter\text_html_text_x_moin.py
in convert
(request=<MoinMoin.request.RequestModPy object>, pagename=u'HelpOnLanguages', text=u'<page><pre class="comment">## Please edit system...g/idea.png" /> New in 1.3 </p> </li> </ul></page>')
- 1133 text = u"<page>%s</page>" % text
- 1134 tree = parse(text)
- 1135 strip_whitespace().do(tree)
- 1136 return convert_tree(request, pagename).do(tree)
- 1137
- global
convert_tree
= <class 'MoinMoin.converter.text_html_text_x_moin.convert_tree'>
- request
= <MoinMoin.request.RequestModPy object>
- pagename
= u'HelpOnLanguages'
- ).do undefined
- tree
= <xml.dom.minidom.Document instance>
c:\sources\moin-1.5.0beta3\MoinMoin\converter\text_html_text_x_moin.py
in do
(self=<MoinMoin.converter.text_html_text_x_moin.convert_tree object>, tree=<xml.dom.minidom.Document instance>)
- 462 self.depth = 0
- 463 self.text = []
- 464 self.process_page(tree.documentElement)
- 465 self.check_whitespace()
- 466 return ''.join(self.text)
- self
= <MoinMoin.converter.text_html_text_x_moin.convert_tree object>
- self.process_page
= <bound method convert_tree.process_page of <Moin...erter.text_html_text_x_moin.convert_tree object>>
- tree
= <xml.dom.minidom.Document instance>
- tree.documentElement
= <DOM Element: page>
c:\sources\moin-1.5.0beta3\MoinMoin\converter\text_html_text_x_moin.py
in process_page
(self=<MoinMoin.converter.text_html_text_x_moin.convert_tree object>, node=<DOM Element: page>)
- 656 for i in node.childNodes:
- 657 if i.nodeType == Node.ELEMENT_NODE:
- 658 self.visit_element(i)
- 659 elif i.nodeType == Node.TEXT_NODE: # if this is missing, all std text under a headline is dropped!
- 660 txt = i.data.strip()
- self
= <MoinMoin.converter.text_html_text_x_moin.convert_tree object>
- self.visit_element
= <bound method convert_tree.visit_element of <Moi...erter.text_html_text_x_moin.convert_tree object>>
- i
= <DOM Element: em>
c:\sources\moin-1.5.0beta3\MoinMoin\converter\text_html_text_x_moin.py
in visit_element
(self=<MoinMoin.converter.text_html_text_x_moin.convert_tree object>, node=<DOM Element: em>)
- 509 self.process_list(node)
- 510 else:
- 511 raise ConvertError("visit_element: Don't support %s element" % name)
- 512
- 513 def process_br(self, node):
- global
ConvertError
= <class MoinMoin.converter.text_html_text_x_moin.ConvertError>
- name
= u'em'
ConvertError
visit_element: Don't support em element
- exceptions = <bound method ConvertError.exceptions of <MoinMo...ter.text_html_text_x_moin.ConvertError instance>>
- innerException = (None, None, None)
- message = u"visit_element: Don't support em element"
- name = 'MoinMoin Convert Error'
System Details
- Date: Mon, 14 Nov 2005 10:15:34 +0000
- Platform: win32 (nt)
- Python: Python 2.4.2 (C:\Programme\Apache Group\Apache2\bin\Apache.exe)
- MoinMoin: Release 1.5.0beta3 (release)