Attachment 'traceback_xml.parsers.expat.ExpatError.html'
Download--> -->
AttributeError
'module' object has no attribute 'expat'
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.
/usr/pkg/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)
- 1170 self.page.send_page(self, msg=msg)
- 1171 else:
- 1172 handler(self.page.page_name, self)
- 1173
- 1174 # generate page footer (actions that do not want this footer use
- handler = <function do_edit>
- self = <MoinMoin.request.RequestModPy object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'MyStartingPage'
/usr/pkg/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_edit (pagename=u'MyStartingPage', request=<MoinMoin.request.RequestModPy object>)
- 597 try:
- 598 if lasteditor == 'gui':
- 599 savetext = convert(request, pagename, savetext)
- 600
- 601 # IMPORTANT: normalize text from the form. This should be done in
- savetext = u'<p class="line874">wohoo... </p>'
- convert = <function convert>
- request = <MoinMoin.request.RequestModPy object>
- pagename = u'MyStartingPage'
/usr/pkg/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_x_moin.py in convert (request=<MoinMoin.request.RequestModPy object>, pagename=u'MyStartingPage', text=u'<page><p class="line874">wohoo... </p></page>')
- 1218 def convert(request, pagename, text):
- 1219 text = u"<page>%s</page>" % text
- 1220 tree = parse(request, text)
- 1221 strip_whitespace().do(tree)
- 1222 text = convert_tree(request, pagename).do(tree)
- tree undefined
- global parse = <function parse>
- request = <MoinMoin.request.RequestModPy object>
- text = u'<page><p class="line874">wohoo... </p></page>'
/usr/pkg/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_x_moin.py in parse (request=<MoinMoin.request.RequestModPy object>, text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...\n]>\n<page><p class="line874">wohoo... </p></page>')
- 1207 try:
- 1208 return xml.dom.minidom.parseString(text)
- 1209 except xml.parsers.expat.ExpatError, msg:
- 1210 # this sometimes crashes when it should not, so save the stuff to analyze it:
- 1211 logname = os.path.join(request.cfg.data_dir, "expaterror.log")
- global xml = <module 'xml' from '/usr/pkg/lib/python2.4/xml/__init__.pyo'>
- xml.parsers = <module 'xml.parsers' from '/usr/pkg/lib/python2.4/xml/parsers/__init__.pyo'>
- xml.parsers.expat undefined
- msg undefined
AttributeError
'module' object has no attribute 'expat'
- args = ("'module' object has no attribute 'expat'",)
System Details
- Date: Mon, 19 Mar 2007 01:03:14 +0000
- Platform: NetBSD run 3.1_STABLE NetBSD 3.1_STABLE (RUN) #5: Sun Mar 18 17:00:07 EDT 2007 root@run:/usr/obj/sys/arch/i386/compile/RUN i386
- Python: Python 2.4.3 (/usr/local/bin/python)
- MoinMoin: Release 1.5.7 (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.