On 21/02/07, Andrew Borley <[EMAIL PROTECTED]> wrote:

On 2/20/07, Andrew Borley <[EMAIL PROTECTED]> wrote:
> On 2/20/07, Pete Robbins <[EMAIL PROTECTED]> wrote:
> > I'm currently working through building/testing the extensions and
samples
> > across Windows, Linux and Mac OS.
> >
> > Cpp: extension and samples look good (CppBigBank does not run on Mac
as we
> > have no ws binding extension)
> >
> > Ruby: Works fine on Windows and Linux (after fix I applied yesterday).
> > Currently re-structuring the extension to work with Mac, I think this
should
> > be done by tomorrow.
> >
> > Python: Basic sample runs fine across all platforms.
> >
> > PHP: ? - I haven't built this yet
> >
> > REST: partially tested on Win and Linux
> >
> > So... there's still a fair bit to get through. Anyone care to fill in
some
> > of the blanks?
> >
> > Cheers,
> >
> > --
> > Pete
> >
>
> All the WS, REST and Python samples run fine on my Windows system, but
> I'm having a Python issue on Linux (I think because my Python is v2.4
> and it seems hard to get it updated..)
>
> Cheers
> Andy
>

On further investigation, it's actually not vary hard to update to
Python 2.5 (well, run 2.5 alongside 2.4). What is hard is getting the
Python ElementTree package to run happily within a Ruby environment.
This is the case in the RestYahoo sample where we have a Ruby local
client invoking a Python component. I get an exception thrown within
the ElementTree code when it tries to load the xml.parsers.expat
module (which is a binary library). I think this is due to Python
needing to use its newer version of the expat lib than the one that
Ruby must have loaded. There doesn't seem to be a way of upgrading the
expat package on my system - the 1.95 version I have is required by
400 other packages!

We could change the sample to have a Python client instead of Ruby, as
it is more about demonstrating the REST extension rather than Ruby
talking to Python, but it looks like we have a restriction here.

Anyone have any ideas?


Not off the top of my head. You could try building Ruby against the expat
that Python needs???

Cheers,

--
Pete

Reply via email to