[Zoo-discuss] Are WPS 2.0.0 Execute ComplexData Inputs passed to Python services correctly?

Lech Karłowicz lendrom at gmail.com
Wed Jan 18 00:28:40 PST 2017


Hello,
here comes my in-depth knowledge of linux ;) Anyway, after executing ldconfig
the cgi program started to work and return correct answerst to apache.
Also, my first tests show that the POST request I quoted in my original
question (Execute request containing nested gmls in ComplexData input
transmitted by value) works well now. I'll have to do some more testing
with my own custom services.
Thank you very much for your time I really appreciate you help.
Best regards,
Lech

2017-01-18 8:39 GMT+01:00 Fenoy Gerald <gerald.fenoy at geolabs.fr>:

> Hi,
> you need to run ldconfig after the call to make install to make the system
> aware of the new libraries.
>
> I suppose that you should be ok then.
>
> Best regards,
>
>
> > Le 17 janv. 2017 à 23:09, Lech Karłowicz <lendrom at gmail.com> a écrit :
> >
> > Hi,
> > after some tries I managed to compile ZOO following the instructions you
> pointed me to. Indeed, I had to install some '-dev' packages to be able to
> compile. But after executing the command "sudo make install"
> GetCapabilities (or any other request to http://127.0.0.1/cgi-bin/zoo_
> loader.cgi) gives returns internal server error (code 500).
> > I checked Apache logs and I can see the following errors (they appear
> after every request to zoo_loader.cgi):
> >
> > [Tue Jan 17 22:52:22.000113 2017] [cgi:error] [pid 6103] [client
> 127.0.0.1:56476] AH01215: /usr/lib/cgi-bin/zoo_loader.cgi: symbol lookup
> error: /usr/lib/cgi-bin/zoo_loader.cgi: undefined symbol: createMaps:
> /usr/lib/cgi-bin/zoo_loader.cgi
> > [Tue Jan 17 22:52:22.001663 2017] [cgi:error] [pid 6103] [client
> 127.0.0.1:56476] End of script output before headers: zoo_loader.cgi
> >
> > It looks like I'm missing some dependency, but I'm not sure which.
> > Best regards,
> > Lech
> >
> > 2017-01-17 18:57 GMT+01:00 Fenoy Gerald <gerald.fenoy at geolabs.fr>:
> > Hello,
> > OSGeoLiveDVD 10.0 should be perfect to build the ZOO-Kernel.
> > Nevertheless, it may imply installing many things (-dev package) for
> being able to build it, see here for more informations about this [1], I
> guess the ubuntu instructions should work.
> >
> > Best regards,
> >
> > [1] http://www.zoo-project.org/docs/install/debian.html
> >
> > > Le 17 janv. 2017 à 17:21, Lech Karłowicz <lendrom at gmail.com> a écrit :
> > >
> > > It would be most helpful if it was possible for you to provide the
> version (and instructions) with which I could update my current setup. But
> I'm sorry if I wasn't specific enough about the version of OSGeo I use. I
> don't use bootable DVD version, I use OsGeo-live-10.0-vm (vmdk) deployed on
> Virtual Box (downloaded from https://sourceforge.net/
> projects/osgeo-live/files/10.0/osgeo-live-10.0-vm.7z/download). I'm not
> really sure where to find a more specific version number. Is this setup
> suitable for your 'patch'?
> > >
> > > Best regards
> > > Lech
> > >
> > > 2017-01-17 14:33 GMT+01:00 Fenoy Gerald <gerald.fenoy at geolabs.fr>:
> > > Hello,
> > > thanks for your return.
> > >
> > > In case it may be of any help for you, I should be able to provide the
> OSGeoLiveDVD binary version. I only need the exact version number of you
> osgeolivedvd. This way you will only need to unpack the archive with a tat
> command that I will give to you in case you are interested in getting this
> binary version. In fact, I will have to build the ZOO-Kernel on
> OSGeoLiveDVD solve the issue reported on another thread about OTB 5.8.0
> which seems to fail at compilation time. So please do not consider that it
> will much work to me, nevertheless, there is no direct interest for
> publishing the binary versions except if somebody is interested in.
> > >
> > > I hope to have an answer from you.
> > >
> > > Best regards,
> > >
> > >
> > > > Le 17 janv. 2017 à 09:11, Lech Karłowicz <lendrom at gmail.com> a
> écrit :
> > > >
> > > > Thank you for taking your time to clarify that. I'll try to test it
> after building the lastest svn version but I'm not really experienced with
> building software from sources (that's why I love osgeo-live for tests) so
> it may take a while (with possibility of failing miserably).
> > > > Best Regads,
> > > > Lech
> > > >
> > > > 2017-01-16 23:20 GMT+01:00 Fenoy Gerald <gerald.fenoy at geolabs.fr>:
> > > > Hello,
> > > > thanks for your feedback.
> > > >
> > > > You are right only CDATA is supported. Can you please give the
> latest SVN version a try and confirm that your issue is solved with this
> version ?
> > > >
> > > > Best regards,
> > > >
> > > > > Le 16 janv. 2017 à 13:05, Lech Karłowicz <lendrom at gmail.com> a
> écrit :
> > > > >
> > > > > I modified the code of ogr_sp.py to log values of parameters that
> are passed by ZOO to the UnionPy function and I can see, that
> inputs['InputEntity1']['value'] is equal to '\n' or '\n\t\t' so it looks
> like ZOO does not pass inputs correctly. Or I am doing something wrong. I'd
> be very grateful for clarifying that.
> > > > >
> > > >
> > > >
> > > >
> > > > Gérald Fenoy
> > > > http://wiki.osgeo.org/wiki/User:Djay
> > > >
> > > >
> > >
> > >
> > >
> > > Gérald Fenoy
> > > http://wiki.osgeo.org/wiki/User:Djay
> > >
> > >
> > > _______________________________________________
> > > Zoo-discuss mailing list
> > > Zoo-discuss at lists.osgeo.org
> > > https://lists.osgeo.org/mailman/listinfo/zoo-discuss
> >
> >
> >
> > Gérald Fenoy
> > http://wiki.osgeo.org/wiki/User:Djay
> >
> >
> > _______________________________________________
> > Zoo-discuss mailing list
> > Zoo-discuss at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/zoo-discuss
>
>
>
> Gérald Fenoy
> http://wiki.osgeo.org/wiki/User:Djay
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20170118/2bb77065/attachment-0001.html>


More information about the Zoo-discuss mailing list