Hi there, I recently upgraded from 1.5.7 to 1.8.1. Somewhere along the way, the GUI editor stopped being able to save pages. You can edit the page fine, but if you click "Save Changes", "Preview", "Text Mode", "Check Spelling", or "Cancel" you get the following error (full error is attached): 'module' object has no attribute 'expat' Is there some config change I missed or some package I forgot to install on the new machine? Thanks, David--> --> >
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/local/lib/python2.4/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object>)
- 1309 self.page.send_page()
- 1310 else:
- 1311 handler(self.page.page_name, self)
- 1312
- 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function execute>
- self = <MoinMoin.request.request_cgi.Request object>
- self.page = <MoinMoin.Page.Page object>
- self.page.page_name = u'DailySynchUpFoo'
/usr/local/lib/python2.4/site-packages/MoinMoin/action/edit.py in execute (pagename=u'DailySynchUpFoo', request=<MoinMoin.request.request_cgi.Request object>)
- 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="line867"></p><h2 id="ProcessTitle">Pro...74">Any other information that may be of use.</p>'
- convert = <function convert>
- request = <MoinMoin.request.request_cgi.Request object>
- pagename = u'DailySynchUpFoo'
/usr/local/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_moin_wiki.py in convert (request=<MoinMoin.request.request_cgi.Request object>, pagename=u'DailySynchUpFoo', text=u'<page xmlns:o="urn:schemas-microsoft-com:office:... other information that may be of use.</p></page>')
- 1431 u'xmlns:v="urn:schemas-microsoft-com:office:vml"']
- 1432 text = u'<page %s>%s</page>' % (' '.join(namespace), text)
- 1433 tree = parse(request, text)
- 1434 strip_whitespace().do(tree)
- 1435 text = convert_tree(request, pagename).do(tree)
- tree undefined
- global parse = <function parse>
- request = <MoinMoin.request.request_cgi.Request object>
- text = u'<page xmlns:o="urn:schemas-microsoft-com:office:... other information that may be of use.</p></page>'
/usr/local/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_moin_wiki.py in parse (request=<MoinMoin.request.request_cgi.Request object>, text='<?xml version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ... other information that may be of use.</p></page>')
- 1402 try:
- 1403 return xml.dom.minidom.parseString(text)
- 1404 except xml.parsers.expat.ExpatError, msg:
- 1405 # this sometimes crashes when it should not, so save the stuff to analyze it:
- 1406 logname = os.path.join(request.cfg.data_dir, "expaterror.log")
- global xml = <module '_xmlplus' from '/usr/lib/python2.4/site-packages/_xmlplus/__init__.pyc'>
- xml.parsers = <module 'xml.parsers' from '/usr/lib/python2.4/site-packages/_xmlplus/parsers/__init__.pyc'>
- xml.parsers.expat undefined
- msg undefined
AttributeError
'module' object has no attribute 'expat'
- args = ("'module' object has no attribute 'expat'",)
System Details
- Date: Mon, 05 Jan 2009 15:46:09 +0000
- Platform: SunOS newthing 5.10 Generic_137138-09 i86pc
- Python: Python 2.4.4 (/usr/bin/python)
- MoinMoin: Release 1.8.1 (release)
------------------------------------------------------------------------------
_______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user