Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#1886 closed defect (wontfix)

PyWPS quickstart not working

Reported by: kalxas Owned by: live-demo@…
Priority: major Milestone: OSGeoLive12.0
Component: OSGeoLive Keywords: PyWPS
Cc: live-demo@…

Description

The quickstarts needs an update for the recent stable version.

Change history (18)

comment:1 by tomkralidis, 7 years ago

Can we downgrade PyWPS to the previous 3.2.x release and milestone for the next LiveDVD release? 4.0 is a rewrite/redesign and we'll need some time to update.

comment:2 by kalxas, 7 years ago

Downgrading to 3.x would require extra work on the ppa side. Also, having a PyWPS 4.x marked as stable and not included in OSGeo-Live would reflect bad to both projects. We try to include latest stable releases when possible/available.

In any case, the quickstart is very basic and requires a lot of improvement in order to be on par with the other applications on the disk, so downgrading would not actually solve the problem, just the missing service part.

comment:3 by kalxas, 7 years ago

Looks like we will need to downgrade the package in the ppa.

comment:4 by kalxas, 7 years ago

Priority: criticalmajor

PyWPS downgraded to 3.2.5.

comment:7 by kalxas, 7 years ago

After switching back to PyWPS 3.2.5, the quickstart leads to this error:

user@osgeolive:/var/log/apache2$ tail -f error.log 
[Sun Mar 05 17:03:00.727617 2017] [wsgi:error] [pid 3172] PyWPS [2017-03-05 17:03:00,727] INFO: Reading processes from directory [/usr/share/pywps/processes]
[Sun Mar 05 17:03:00.728420 2017] [wsgi:error] [pid 3172] PyWPS [2017-03-05 17:03:00,728] INFO: Following processes are imported: ['hello-world']
[Sun Mar 05 17:03:32.045044 2017] [wsgi:error] [pid 3547] PyWPS [2017-03-05 17:03:32,044] INFO: Reading processes from directory [/usr/share/pywps/processes]
[Sun Mar 05 17:03:32.045294 2017] [wsgi:error] [pid 3547] PyWPS [2017-03-05 17:03:32,045] INFO: Following processes are imported: ['hello-world']
[Sun Mar 05 17:03:32.045426 2017] [wsgi:error] [pid 3547] [client 127.0.0.1:51174] mod_wsgi (pid=3547): Exception occurred processing WSGI script '/usr/share/pywps/wps.py'.
[Sun Mar 05 17:03:32.045444 2017] [wsgi:error] [pid 3547] [client 127.0.0.1:51174] TypeError: sequence of byte string values expected, value of type InvalidParameterValue found
[Sun Mar 05 17:03:52.891247 2017] [wsgi:error] [pid 3172] PyWPS [2017-03-05 17:03:52,891] INFO: Reading processes from directory [/usr/share/pywps/processes]
[Sun Mar 05 17:03:52.891475 2017] [wsgi:error] [pid 3172] PyWPS [2017-03-05 17:03:52,891] INFO: Following processes are imported: ['hello-world']
[Sun Mar 05 17:03:52.891674 2017] [wsgi:error] [pid 3172] [client 127.0.0.1:51176] mod_wsgi (pid=3172): Exception occurred processing WSGI script '/usr/share/pywps/wps.py'.
[Sun Mar 05 17:03:52.891697 2017] [wsgi:error] [pid 3172] [client 127.0.0.1:51176] TypeError: sequence of byte string values expected, value of type InvalidParameterValue found

comment:8 by kalxas, 7 years ago

Priority: majorcritical

comment:9 by kalxas, 7 years ago

Summary: PyWPS quickstart not working after switching to version 4.0.0PyWPS quickstart not working

comment:11 by jachym, 7 years ago

@kalxas, not sure - looks fine

What are the steps I need to take, in order to test the just the PyWPS installation?

comment:12 by kalxas, 7 years ago

Hi Jachym,

Have you tried running the quickstart in OSGeo-Live 10.5?

comment:13 by kalxas, 7 years ago

Milestone: OSGeoLive10.5OSGeoLive11.0

Ticket retargeted after milestone closed

comment:14 by kalxas, 7 years ago

Priority: criticalmajor

comment:15 by kalxas, 7 years ago

Resolution: wontfix
Status: newclosed

PyWPS has been retired from OSGeo-Live 11.0 due to this issue.

comment:16 by tomkralidis, 7 years ago

kalxas: we would like to re-integrate PyWPS (4) into OSGeo-Live. Can/should we use pip to install PyWPS 4? Or UbuntuGIS? What is PyWPS 4 status on UbuntuGIS?

comment:17 by kalxas, 7 years ago

Milestone: OSGeoLive11.0OSGeoLive12.0

Please use this as a starting point:

https://github.com/OSGeo/OSGeoLive/blob/master/bin/retired/install_pywps.sh

We are using debian packages for installing into OSGeo-Live environments, and PyWPS is already in our ppa.

https://launchpad.net/~osgeolive/+archive/ubuntu/nightly/+packages

Actually, PyWPS is also available in the release ppa of OSGeo-Live 11.0, so it is one apt-get install away from 11.0 RC1 environment.

Note: See TracTickets for help on using tickets.