[ZOO-Discuss] Problem with XML execute request

Soeren Gebbert soerengebbert at googlemail.com
Tue May 3 14:33:43 PDT 2011


Dear ZOO fellows,
i have a problem with XML execute requests. When sending WPS XML
execute requests using the latest ZOO SVN version the following
problems occur:

If the XML execute documents includes the leading XML definition
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
the request fails with the following error message:

 <?xml version="1.0" encoding="utf-8"?>
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
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="InvalidParameterValue">
    <ows:ExceptionText>Unenderstood <request> value. Please
check that it was set to GetCapabilities, DescribeProcess or
Execute.</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

When removing the first line the ZOO kernel returns with:

<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
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="InternalError">
    <ows:ExceptionText>ZOO Kernel failed to process your request
receiving signal 11 = SIGSEGV</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

Here is the apache2 log:
http://www-pool.math.tu-berlin.de/~soeren/tmp/log.txt

I use wps-grass-bridge and grass gis 7 as backend. The grass process
runs perfectly but the zoo kernel crashes while trying to deliver the
result.

Here the wps-grass-bridge logfile:
http://www-pool.math.tu-berlin.de/~soeren/tmp/logfile.txt

The XML execute request (identifier v.voronoi changed into v_voronoi):
http://code.google.com/p/wps-grass-bridge/source/browse/trunk/Testing/Python/ExecuteRequests/v.voronoi.execute.xml

This is the layout of my cgi dir:
GlobalGrassSettings.py   main.cfg         v_voronoi.py
ZOOGrassModuleStarter.py
GlobalGrassSettings.pyc  v_delaunay.py    v_voronoi.pyc
ZOOGrassModuleStarter.pyc
gms                      v_delaunay.zcfg  v_voronoi.zcfg  zoo_loader.cgi

The content of my main.cfg:
[main]
encoding = utf-8
version = 1.0.0
serverAddress = http://127.0.0.1
lang = en-CA
tmpPath=/srv/www/htdocs/tmp
tmpUrl = http://localhost/tmp

[identification]
title = The Zoo WPS Development Server
abstract = Development version of ZooWPS. See http://www.zoo-project.org
fees = None
accessConstraints = none
keywords = WPS,GIS,GRASS

[provider]
providerName=ZOO Project
providerSite=http://127.0.0.1
individualName=Soeren
positionName=
role=
adressDeliveryPoint=
addressCity=
addressAdministrativeArea=False
addressPostalCode=
addressCountry=de
addressElectronicMailAddress=
phoneVoice=False
phoneFacsimile=False

[env]
PYTHONPATH=.




Any help is greatly appreciated.

Best regards
Soeren



More information about the Zoo-discuss mailing list