Error installing XML Document
Hi! I have some problems trying to install XML Document. I just downloaded and installed Zope-2.0.0b5. Then I downloaded XMLDocument-1.0a1.tgz and extracted it into the Zope directory. After restarting Zope I find (in the Control Panel) that XMLDocument is broken with this traceback. Please help me! Traceback (innermost last): File "/usr/local/zope/Zope-2.0.0b5-linux2-x86/lib/python/OFS/Application.py", line 393, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/usr/local/zope/Zope-2.0.0b5-linux2-x86/lib/python/Products/XMLDocument/__i nit__.py", line 88, in ? import XMLDocument File "/usr/local/zope/Zope-2.0.0b5-linux2-x86/lib/python/Products/XMLDocument/XML Document.py", line 90, in ? from Parser import Parser, ParseError File "/usr/local/zope/Zope-2.0.0b5-linux2-x86/lib/python/Products/XMLDocument/Par ser.py", line 99, in ? from xml.parsers import pyexpat ImportError: No module named xml.parsers Thanks! /Stefan _______________________________________________________ Stefan Karlsson (stefan@everynet.se) +46 90 771030 Everynet Consulting AB, http://www.everynet.se/
Stefan Karlsson wrote:
Hi!
I have some problems trying to install XML Document. I just downloaded and installed Zope-2.0.0b5. Then I downloaded XMLDocument-1.0a1.tgz and extracted it into the Zope directory. After restarting Zope I find (in the Control Panel) that XMLDocument is broken with this traceback. Please help me!
Traceback (innermost last): File "/usr/local/zope/Zope-2.0.0b5-linux2-x86/lib/python/OFS/Application.py", line 393, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/usr/local/zope/Zope-2.0.0b5-linux2-x86/lib/python/Products/XMLDocument/__i nit__.py", line 88, in ? import XMLDocument File "/usr/local/zope/Zope-2.0.0b5-linux2-x86/lib/python/Products/XMLDocument/XML Document.py", line 90, in ? from Parser import Parser, ParseError File "/usr/local/zope/Zope-2.0.0b5-linux2-x86/lib/python/Products/XMLDocument/Par ser.py", line 99, in ? from xml.parsers import pyexpat ImportError: No module named xml.parsers
I suspect you need to recompile Zope. Type 'python1.5.2 w_pcgi.py' at the Zope top level folder. (or 'python1.5.2 wo_pcgi.py' if you don't want PCGI). -Michel
Thanks!
/Stefan _______________________________________________________ Stefan Karlsson (stefan@everynet.se) +46 90 771030 Everynet Consulting AB, http://www.everynet.se/
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
Stefan Karlsson wrote:
Hi!
I have some problems trying to install XML Document. I just downloaded and installed Zope-2.0.0b5. Then I downloaded XMLDocument-1.0a1.tgz and extracted it into the Zope directory. After restarting Zope I find (in the Control Panel) that XMLDocument is broken with this traceback. Please help me!
XMLDocument-1.0a1.tgz contains some bugs that mess up ZClasses. It also just contains plain bugs. :) Don't use that one, use the updated version from CVS, which is a lot more mature. Regards, Martijn
participants (3)
-
Martijn Faassen -
Michel Pelletier -
Stefan Karlsson