Take a look at your python library (the one you use to run Zope) and ensure that the pyexpat and the expat parser are present. (Look in the directory xml and the site-packages directory to locate the parsers. Expat is a C extension and may not have been part of your Python distribution.
I fired up the python that was distributed with zope and could do the following without any errors:
import xml.parsers.expat WARNING: Python C API version mismatch for module pyexpat: This Python has API version 1010, module pyexpat has version 1007.
That was all I got no errors just this warning. But I get this warning anyway. while starting up Zope. So yes I do have the expat parser.... Any other leads as to how to track this @#$% down.... Thanks a lot. AM Dennis Allison wrote:
Take a look at your python library (the one you use to run Zope) and ensure that the pyexpat and the expat parser are present. (Look in the directory xml and the site-packages directory to locate the parsers. Expat is a C extension and may not have been part of your Python distribution.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Something strange is going on, in my INSTANCE_HOME/lib/python2.1 directory I had two folders xml and _xmlplus. When I renamed xml to xml.old and _xmlplus to xml everything worked out perfectly fine, no warnings no errors. So what the heck is going on, where and how did this _xmlplus come from?? Who created it?? TIA AM List Subscriber @ Neurobs wrote:
I fired up the python that was distributed with zope and could do the following without any errors:
import xml.parsers.expat WARNING: Python C API version mismatch for module pyexpat: This Python has API version 1010, module pyexpat has version 1007.
That was all I got no errors just this warning. But I get this warning anyway. while starting up Zope. So yes I do have the expat parser....
Any other leads as to how to track this @#$% down....
Thanks a lot. AM
Dennis Allison wrote:
Take a look at your python library (the one you use to run Zope) and ensure that the pyexpat and the expat parser are present. (Look in the directory xml and the site-packages directory to locate the parsers. Expat is a C extension and may not have been part of your Python distribution.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
List Subscriber @ Neurobs writes:
Something strange is going on, in my INSTANCE_HOME/lib/python2.1 directory I had two folders xml and _xmlplus.
When I renamed xml to xml.old and _xmlplus to xml everything worked out perfectly fine, no warnings no errors.
So what the heck is going on, where and how did this _xmlplus come from?? Who created it?? Probably, the "xml" and "_xmlplus" belong to different Python versions...
Dieter
I just installed the latest version of ZnolkSQLWizard last night. I generated a few editing pages to make sure it worked. Today, I started editing the code it generates and instead of dtml-var tags it now uses dtml-babel tags. I have never seen this before. Has anyone else noticed this? Is there anyway to turn it off and go back to plain old dtml-var tags??? Thanks Allen
Allen writes:
I just installed the latest version of ZnolkSQLWizard last night. I generated a few editing pages to make sure it worked. Today, I started editing the code it generates and instead of dtml-var tags it now uses dtml-babel tags. I have never seen this before. Has anyone else noticed this? Is there anyway to turn it off and go back to plain old dtml-var tags??? "Babel" helps in localization.
It might be necessary to install "Babel". When I remember correctly, it has an adapter module for cases when localization is not required. Search the archives. Dieter
List Subscriber @ Neurobs writes:
I fired up the python that was distributed with zope and could do the following without any errors:
import xml.parsers.expat WARNING: Python C API version mismatch for module pyexpat: This Python has API version 1010, module pyexpat has version 1007. The Python is newer (higher version) than the "pyexpat" shared object. Rebuild PyXML with the correct Python or load the binary distribution of PyXML for your Python version.
Dieter
participants (4)
-
Allen -
Dennis Allison -
Dieter Maurer -
List Subscriber @ Neurobs