RE: [Zope] Re: silva, xmlwidgets, parsedxml
[ garry saddington]
I have tried some more ways which you suggest. Copying _xmlplus to /zope/bin does not work. Renaming it to xml in /zope/bin does not work. Putting _xmlplus into /zope/lib/python did not work. Renaming it to xml in /zope/lib/python does work. I test it by starting zope and seeing whether ther are any error messages regarding parsedxml, xmlwidgets or silva. In all cases i delete the .pyc and .pyo files before starting zope to test. I can only use silva if the _xmlplus file is renamed to xml and placed in /zope/lib/python.
It may work differently on *nix than on Windows, but I am still concerned with renaming it. Can you run the Python interpreter in your Zope installation and have it display the Python path? E.g.
import sys from pprint import pprint pprint(sys.path)
This will show whether any of the directories you tried putting the _xmlplus directory were on the path. Especially find out where the standard Python "xml" package is located (before you messed with the PyXML one). I think you want to put the PyXML package earlier on the Python path than the standard xml library. That will allow Python to use it to everride the standard xml library, which is what you want to happen. Cheers, Tom P
participants (1)
-
Passin, Tom