[Zope-xml] (no subject)

Jeremy Rew huxley1 at westnet.com.au
Tue Sep 3 00:29:27 EDT 2002


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





More information about the Zope-xml mailing list