[Zope-xml] (no subject)
sean.upton at uniontrib.com
sean.upton at uniontrib.com
Tue Sep 3 11:46:36 EDT 2002
First easy answer: don't use ParsdeXML 1.0; use 1.3. If you were going to
use 1.0, you would need to make sure that the pyexpat binary that comes with
ParsedXML was compiled with the exact same python as your Zope (which is
unlikely, since it is ancient, unless you are using source). ParsedXML 1.3
is all python, and no C or binaries to compile - it uses Python's pyexpat,
so if you have PyXML installed, you are good to go.
Secondly, Zope REQUIRES Python 2.1.3. Python 2.2 and Python 1.5/1.6 will
NOT work.
Use the following exact versions: Python 2.1.3, Zope 2.5, ParsedXML 1.3
Sean
-----Original Message-----
From: Jeremy Rew [mailto:huxley1 at westnet.com.au]
Sent: Monday, September 02, 2002 9:29 PM
To: zope-xml at zope.org
Subject: [Zope-xml] (no subject)
I'm using redhat 7.1, with Zope binary 2.5.1. I cannot get ParsedXML 1.0 to
work properly.
First I tried to build it using python2.1 supplied with Zope, and was told
that it had used too many arguments to one of the functions, and failed.
Then i tried using python1.5 in the /usr/bin directory. This seemed to
build with no problems. When i restarted Zope, it tells me:
***********
WARNING: Python C API version mismatch for module pyexpat:
This Python has API version 1010, module pyexpat has version 1007.
------
2002-09-03T19:28:35 PROBLEM(100) Init Ambiguous name for method of
Products.Parsed
XML.ManageableDOM.DOMManageable: "manage_main" != "manage_DOMTree"
************
The ParsedXML item still shows up in the "Select type to add" box, but when
i click "Add and Edit" after giving it an ID, an error appears:
************
Error Type: SystemError
Error Value: Python/compile.c:265: bad argument to internal function
--
Traceback (innermost last): File
/usr/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 150, in
publish_module File
/usr/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 114, in
publish File /usr/Zope-2.5.1-linux2-x86/lib/python/Zope/__init__.py, line
159, in zpublisher_exception_hook File
/usr/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 98, in
publish File /usr/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/mapply.py,
line 88, in mapply (Object: manage_addParsedXML) File
/usr/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 39, in
call_object (Object: manage_addParsedXML) File
/usr/Zope-2.5.1-linux2-x86/lib/python/Products/ParsedXML/ParsedXML.py, line
120, in manage_addParsedXML File
/usr/Zope-2.5.1-linux2-x86/lib/python/Products/ParsedXML/ParsedXML.py, line
189, in __init__ (Object: a) File
/usr/Zope-2.5.1-linux2-x86/lib/python/Products/ParsedXML/ParsedXML.py, line
147, in createDOMDocument File
/usr/Zope-2.5.1-linux2-x86/lib/python/Products/ParsedXML/DOM/ExpatBuilder.py
,
line 778, in parse File
/usr/Zope-2.5.1-linux2-x86/lib/python/Products/ParsedXML/DOM/ExpatBuilder.py
,
line 193, in parseFile SystemError: (see above)
***********
Any help will be greatly appreciated
Jeremy
_______________________________________________
Zope-xml mailing list
Zope-xml at zope.org
http://lists.zope.org/mailman/listinfo/zope-xml
More information about the Zope-xml
mailing list