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.

  1. /usr/pkg/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)

    1. 1170 self.page.send_page(self, msg=msg)
    2. 1171 else:
    3. 1172 handler(self.page.page_name, self)
    4. 1173
    5. 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'
  2. /usr/pkg/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_edit (pagename=u'MyStartingPage', request=<MoinMoin.request.RequestModPy object>)

    1. 597 try:
    2. 598 if lasteditor == 'gui':
    3. 599 savetext = convert(request, pagename, savetext)
    4. 600
    5. 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'
  3. /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>')

    1. 1218 def convert(request, pagename, text):
    2. 1219 text = u"<page>%s</page>" % text
    3. 1220 tree = parse(request, text)
    4. 1221 strip_whitespace().do(tree)
    5. 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>'
  4. /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>')

    1. 1207 try:
    2. 1208 return xml.dom.minidom.parseString(text)
    3. 1209 except xml.parsers.expat.ExpatError, msg:
    4. 1210 # this sometimes crashes when it should not, so save the stuff to analyze it:
    5. 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.
  • [get | view] (2007-03-19 01:45:00, 8.0 KB) [[attachment:traceback_xml.parsers.expat.ExpatError.html]]
 All files | Selected Files: delete move to page copy to page

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