Opened 3 years ago

Closed 2 years ago

Last modified 20 months 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 Changed 3 years ago by tomkralidis

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 Changed 3 years ago by kalxas

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 Changed 3 years ago by kalxas

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

comment:4 Changed 3 years ago by kalxas

Priority: criticalmajor

PyWPS downgraded to 3.2.5.

comment:7 Changed 3 years ago by kalxas

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 Changed 3 years ago by kalxas

Priority: majorcritical

comment:9 Changed 3 years ago by kalxas

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

comment:11 Changed 2 years ago by jachym

@kalxas, not sure - looks fine

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

comment:12 Changed 2 years ago by kalxas

Hi Jachym,

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

comment:13 Changed 2 years ago by kalxas

Milestone: OSGeoLive10.5OSGeoLive11.0

Ticket retargeted after milestone closed

comment:14 Changed 2 years ago by kalxas

Priority: criticalmajor

comment:15 Changed 2 years ago by kalxas

Resolution: wontfix
Status: newclosed

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

comment:16 Changed 2 years ago by tomkralidis

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 Changed 2 years ago by kalxas

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.

comment:18 Changed 20 months ago by Lads

Pull request #359 at GitHub? addresses this issue: https://github.com/OSGeo/OSGeoLive-doc/pull/359

Note: See TracTickets for help on using tickets.