[Zope] ParsedXML trouble
List Subscriber @ Neurobs
list_subscriber@neurobs.com
Thu, 15 Aug 2002 04:09:39 -0700
Hi
I do have Zope the configuration you talk about:
Zope Version
(Zope 2.5.1 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2)
Python Version
2.1.3 (#1, Apr 15 2002, 11:13:45) [GCC 2.7.2.3]
System Platform
linux2
When I tried to install ParsedXML with the python at:
INSTANCE_HOME/bin/python,
my setup.py failed at :
INSTANCE_HOME/lib/python2.1/config/makesetup
And I could not figure out where I was going wrong so then I followed
the install instructions and used /usr/bin/python1.5
Also I did install PyXML from PyXML-0.8-2.2.i386.rpm from PyXML project
page at Sourceforge. This I did before anything else and after
installation I tested it by doing a : import xml at the python command
prompt (python @ INSTANCE_HOME/bin) and I could do that without any errors.
So what did I miss??
Other than the Python C API mismatch error I dont see any problems
whatsoever?? But some messages in the lists suggests that it is a minor
warning and can be safely ignored....
And I still dont know what went wrong... :)
Any help would be great.
TIA
AM
Dennis Allison wrote:
>>I just downloaded and installed ParsedXML 1.0 on my RH 7.2, and when I
>>started up Zope I got a warning:
>>
>>***
>>WARNING: Python C API version mismatch for module pyexpat:
>> This Python has API version 1010, module pyexpat has version 1007.
>>***
>>
>>As per instructions I had installed it using python1.5. On firing up
>>python1.5 I got:
>>
>>***
>>Python 1.5.2 (#1, Jul 5 2001, 03:02:19) [GCC 2.96 20000731 (...)]
>>***
>>
>>The ParsedXML product showed up in my products list unbroken and intact.
>>
>>When I tried to add a ParsedXML object in a folder I get:
>>
>>***
>>
>>Error Type: SystemError
>>Error Value: Python/compile.c:265: bad argument to internal function
>>
>>------------------------------------------------------------------------
>>
>
>There are several different issues here.
>
>First, I strongly suggest you download and use the CVS version. A number of
>significant bugs have been fixed in that version.
>
>Second, it seems that you have mixed your metaphors. I would suggest that you
>use the binary distribution for Linux. Zope 2.5.1 seems to be the preferred
>version. It comes with Python 2.1.3 preinstalled and configured. When you
>incorporate products you need to do it relative to the Zope Python which
>is located in the INSTANCE_ROOT/bin/python.
>
>I believe that ParsedXML now requires PyXML at some level. The instructions are
>fairly complete and worked for me.
>
>
>
>
>_______________________________________________
>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 )
>
>