[Pywps-devel] execute problem

Jachym Cepicky jachym.cepicky at gmail.com
Mon Jan 4 20:53:16 CET 2010


hi,

Dne So 26. prosince 2009 18:32:55 ivan marchesini napsal(a):
> Dear pywps users/developers
> I'm starting using pywps on a fedora core8 server
> I'm using pyWPS 3.1.0.
> 
> I have tested it with the exampleBuffer process..
> http://alderaan.irpi.cnr.it/cgi-bin/wpswrapper?version=1.0.0&service=Wps&re
> quest=describeprocess&Identifier=exampleBufferProcess
> 
> and it seems to work..
> 
> also, the direct call to the wps.py script using the execute request
> seems to work:
> 
> ./wps.py
> "version=1.0.0&service=Wps&request=Execute&Identifier=exampleBufferProcess&
> datainputs=data=http://alderaan.irpi.cnr.it/gml/provatestgml.gml;width=1"
> 
> 
> This is my pywps.cfg file:
> ______________________________
> [..]
> serveraddress=http://alderaan.irpi.cnr.it/cgi-bin/wpswrapper
> [..]
> [server]
> maxoperations=3
> maxinputparamlength=1024
> maxfilesize=3mb
> tempPath=/tmp
> processesPath=/var/www/cgi-bin/pywps-3.1.0/pywps/processes
> outputUrl=http://alderaan.irpi.cnr.it/wps/wpsoutputs
> outputPath=/var/www/html/wps/wpsoutput
> debug=true
> logFile=/var/www/html/wps/wpsoutput/pywps.log
> 
> [grass]
> path=/usr/local/grass-6.4.0svn/bin/:/usr/local/grass-6.4.0svn/scripts/
> addonPath=
> version=6.4
> gui=text
> gisbase=/usr/local/grass-6.4.0svn/
> ldLibraryPath=/usr/local/grass-6.4.0svn/lib
> gisdbase=/var/www/html/wps/grassdata
> _________________________________________
> 
> 
> now my problems:   :-)
> 
> 1) I can't find the ouptut of the buffer process....
> I supposed it was in /var/www/html/wps/wpsoutput but it isn't

...&storeexecuteresponse=true&...

> 
> 2) I have seen a grass location is created into my /tmp folder (during
> the process executions (both with a local call using .wps and by means
> of http:// execute request), but I can't find anything into the gisdbase
> folder ( /var/www/html/wps/grassdata )... it is normal??

if your process uses grasslocation=True, than temporary location within 
temporary directory is created (and deleted). If it uses 
grasslocation="path/or/name", only temporary mapset within existing location 
is created. if grasslocation=Fals/None - none is created.

> 
> 3) running the execute http request I have seen that the temporary
> folder in /tmp is correctly created but after the calculations, the
> server answer:
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.


are you on windows or linux? do all outputs have their values ? 
(output.setValue ...)

which version are you using? did you try trunk?

> 
> nothing helped me in the log file
> (/var/www/html/wps/wpsoutput/pywps.log) and nothing in the apache log...
> 
> 
> thank you very much for your help..
> 
> ivan
> 

thanks

jachym
-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
PGP Public key: http://les-ejk.cz/pgp/JachymCepicky.pgp


More information about the Pywps-devel mailing list