[ZOO-Discuss] getting python tutorial to work

Gérald Fenoy gerald.fenoy at geolabs.fr
Fri Nov 26 19:59:07 PST 2010


Hi Niels,
thanks a lot for your feedbacks, it works with the revision 45.

Please let me know if you still get any trouble,
hope to hear from you,
best regards,

Le 26 nov. 2010 à 22:51, niels hoffmann a écrit :

> Hi List,
> 
> I'm trying to follow the foss4g2010 Barcelona tutorial using python.
> Installation of the zoo-kernel is (now) successful.
> The Getcapabilities and DescribeProcess requests work, I've put the python code in the /usr/lib/cgi-bin directory but I get the following error when trying to execute the process:
> 
> <ows:ExceptionReport xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd" xml:lang="en-US" version="1.1.0">
> <ows:Exception exceptionCode="NoApplicableCode">
> <ows:ExceptionText>
> TRACE : ('value',)
> TRACE : <type 'exceptions.KeyError'>
> Unable to run your python process properly. Please check the following messages : ['  File "/usr/lib/cgi-bin/ogr_ws_service_provider.py", line 18, in Boundary\n    geometry=createGeometryFromWFS(inputs["InputPolygon"]["value"])\n']
> </ows:ExceptionText>
> </ows:Exception>
> </ows:ExceptionReport>
> 
> Does anybody know what the problem might be?
> Other python cgi scripts do work, so python seems to be properly configured for cgi processing.
> The <wps:ComplexData mimeType="application/json"> post request throws a similar error (but on CreateGeometryFromJson)
> 
> Cheers, Niels
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at gisws.media.osaka-cu.ac.jp
> http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss

Gérald Fenoy
gerald.fenoy at geolabs.fr


GEOLABS
Siège social :
Futur Building I
1280, avenue des Platanes
34970 Lattes
Tél. fixe : 04 67 53 67 37
Tél. portable : 06 70 08 25 39

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20101127/7babcd99/attachment.html>


More information about the Zoo-discuss mailing list