Ouranosinc / pavics-sdi

Power Analytics and Visualization for Climate Science - Spatial Data Infrastructure
https://pavics-sdi.readthedocs.io
6 stars 2 forks source link

Cannot access xml status of flyingpigeon #50

Closed dbyrns closed 3 years ago

dbyrns commented 6 years ago

If I run the following request : https://pavics.ouranos.ca/twitcher/ows/proxy/flyingpigeon/wps?service=WPS&request=execute&version=1.0.0&identifier=subset_WFS&storeExecuteResponse=true&DataInputs=resource=https://pavics.ouranos.ca/twitcher/ows/proxy/thredds/fileServer/birdhouse/CCCMA/CanCM4/historical/mon/atmos/r9i1p1/pr/pr_Amon_CanCM4_historical_r9i1p1_196101-200512.nc;typename=usa:states;featureids=usa_admin_boundaries:1;mosaic=True

And try to open the xml status link, like this one : https://pavics.ouranos.ca/wpsoutputs/flyingpigeon/bef66456-5532-11e8-a6aa-0242ac12000c.xml

I got a 404

ldperron commented 6 years ago

I think it's because the request fails too soon (during input validation maybe).

Process error: wps_subset_WFS.py._handler Line 79 Traceback (most recent call last): File "/opt/birdhouse/src/flyingpigeon/flyingpigeon/processes/wps_subset_WFS.py", line 76, in _handler result = wfs_common(request, response, mode='subsetter') File "/opt/birdhouse/src/flyingpigeon/flyingpigeon/handler_common.py", line 76, in wfs_common raise Exception(msg) Exception: Failed to fetch features. geoserver: http://pavics.ouranos.ca:8087/geoserver/wfs typename: usa:states features [u'usa_admin_boundaries:1'] Unknown namespace [usa]

Indeed, usa:states doesn't exists on Boreas. It's: scratchTJS:usa_admin_boundaries

dbyrns commented 6 years ago

It will not help workflows if they cannot get the process failed status... Then I will replace this issue in the backlog and see how we can improve flyingpigeon later so that the exception is properly catched and report as it should.

huard commented 4 years ago

@ Toujours un enjeu ? Si oui ouvrir un ticket sur PyWPS.

dbyrns commented 4 years ago

Je vais faire le suivi.