geopython / pywps

PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python.
https://pywps.org
MIT License
178 stars 117 forks source link

ValuesReference is not JSON serializable #484

Closed cehbrecht closed 5 years ago

cehbrecht commented 5 years ago

Description

JSON serialization of ValuesReference is missing. This is used by the latest version of the scheduler (#482).

Environment

Steps to Reproduce

 $ curl -X GET -i 'http://localhost:5000/wps?service=wps&request=Execute&version=1.0.0&identifier=inout&storeExecuteResponse=true&status=true'

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd" version="1.0.0">
  <ows:Exception exceptionCode="SchedulerNotAvailable" locator="" >
      <ows:ExceptionText>Could not submit job: Object of type 'ValuesReference' is not JSON serializable</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

Additional Information

cehbrecht commented 5 years ago

fixed by PR #485.