--> -->
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.
* Show debugging information
* Report bug
* Visit MoinMoin wiki
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.
/home/ninecons/moin-1_5_4/lib/python2.3/site-packages/MoinMoin/request.py
in *run* (self=)
1. 1110 from MoinMoin.wikiaction import getHandler
2. 1111 handler = getHandler(self, action)
3. 1112 handler(self.page.page_name, self)
4. 1113
5. 1114 # generate page footer (actions that do not want this
footer use
* *handler* =
* *self* =
* self.*page* =
* self.page.*page_name* = u'BlogSprat'
2.
/home/ninecons/moin-1_5_4/lib/python2.3/site-packages/MoinMoin/wikiaction.py
in *do_edit* (pagename=u'BlogSprat',
request=)
1. 583 try:
2. 584 if lasteditor == 'gui':
3. 585 savetext = convert(request, pagename, savetext)
4. 586
5. 587 # IMPORTANT: normalize text from the form. This should
be done in
* *savetext* = u'
'
* *convert* =
* *request* =
* *pagename* = u'BlogSprat'
3.
/home/ninecons/moin/lib/python2.3/site-packages/MoinMoin/converter/text_html_text_x_moin.py
in *convert* (request=,
pagename=u'BlogSprat', text=u'')
1. 1212 def convert(request, pagename, text):
2. 1213 text = u"%s" % text
3. 1214 tree = parse(request, text)
4. 1215 strip_whitespace().do(tree)
5. 1216 text = convert_tree(request, pagename).do(tree)
* tree /undefined/
* /global/ *parse* =
* *request* =
* *text* = u''
4.
/home/ninecons/moin/lib/python2.3/site-packages/MoinMoin/converter/text_html_text_x_moin.py
in *parse* (request=,
text='\n[[MonthCalendar(SpratGroup)]] ')
1. 1201 try:
2. 1202 return xml.dom.minidom.parseString(text)
3. 1203 except xml.parsers.expat.ExpatError, msg:
4. 1204 # this sometimes crashes when it should not, so save
the stuff to analyze it:
5. 1205 logname = os.path.join(request.cfg.data_dir,
"expaterror.log")
* /global/ *xml* =
* xml.*parsers* =
* xml.parsers.expat /undefined/
* msg /undefined/
AttributeError
'module' object has no attribute 'expat'
* args = ("'module' object has no attribute 'expat'",)
System Details
* Date: Mon, 02 Oct 2006 13:49:25 +0000
* Platform: Linux box106.bluehost.com 2.6.17-11_1.BHsmp #1 SMP Thu
Aug 24 09:39:29 MDT 2006 x86_64
* Python: Python 2.4.3 (/usr/local/bin/python)
* MoinMoin: Release 1.5.4 (release)