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

RawDataOutput does not work #447

Closed cehbrecht closed 5 years ago

cehbrecht commented 5 years ago

Description

I try to run an execute request with RawDataOutput but it ends with a server error.

Environment

Steps to Reproduce

Using wordcounter process of Emu.

Request: http://localhost:5000/wps?service=WPS&version=1.0.0&request=Execute&identifier=wordcounter&DataInputs=text=@xlink:href=https://cp4cds.github.io/&RawDataOutput=output

Error Message:

Traceback (most recent call last):
  File "/Users/pingu/.conda/envs/emu/lib/python3.6/site-packages/werkzeug/serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "/Users/pingu/.conda/envs/emu/lib/python3.6/site-packages/werkzeug/serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "/Users/pingu/.conda/envs/emu/lib/python3.6/site-packages/werkzeug/wsgi.py", line 766, in __call__
    return self.app(environ, start_response)
  File "/Users/pingu/.conda/envs/emu/lib/python3.6/site-packages/werkzeug/wrappers.py", line 311, in application
    return resp(*args[-2:])
  File "/Users/pingu/.conda/envs/emu/lib/python3.6/site-packages/werkzeug/wrappers.py", line 308, in application
    resp = f(*args[:-2] + (request,))
  File "/Users/pingu/Documents/GitHub/birdhouse/pywps/pywps/response/execute.py", line 215, in __call__
    mimetype=self.wps_request.outputs[wps_output_identifier]['mimetype'])
KeyError: 'mimetype'

Additional Information