[Pywps-devel] PyWPS 3.0-svn examples Problem
Peter Walker
petwa at pml.ac.uk
Mon Jan 12 10:35:22 CET 2009
Hi Andreas,
As a beginner with PyWPS and GRASS myself, I found it useful to try
running the GRASS commands myself from within the default GRASS environment.
Do you see the same problem then?
Cheers,
Pete
Andres Herrera wrote:
> Hi, List, first to all, Happy New Year !!
>
> i got a problem, running the exampleBufferProcess, everyting is ok,
> DescribeProcess, GetCapatibilities , but Execute request
> hang on the pywps ..
>
> i did it :
>
>
> server at server-desktop:/usr/lib/cgi-bin$ ls
> cgi-wps mapserv php php5 pywps.cgi wps
> server at server-desktop:/usr/lib/cgi-bin$ ./wps
> "version=1.0.0&service=Wps&request=Execute&Identifier=exampleBufferProcess&datainputs=data=*MailScanner
> warning: numerical links are often malicious:*
> http://192.168.1.15/tmp/wgs84_vallecauca_v.gml;width=1"
> INIT DONE
> LOADING PRECOMPILED
> TEMPLATE: UPTODATE
> PRECOMPILED: UPTODATE
> PyWPS Cmd: ['g.region', '-d']
> PyWPS Cmd: ['v.in.ogr', 'dsn=./pywpsInputPA36LT', 'output=data']
> PyWPS Cmd: ['g.region', 'vect=data']
> PyWPS Cmd: ['d.mon', 'start=PNG']
> PNG: GRASS_TRUECOLOR status: FALSE
> PNG: collecting to file: map.png,
> GRASS_WIDTH=640, GRASS_HEIGHT=480
> Graphics driver [PNG] started
> PyWPS Cmd: ['d.vect', 'data']
> PyWPS Cmd: ['d.mon', 'stop=PNG']
> PyWPS Cmd: ['v.buffer', 'input=data', 'output=data_buff', 'buffer=1',
> 'scale=1.0', 'tolerance=0.01']
>
>
> -----HERE THE PROCESS HANGS ... and no result ..
>
> thats my /etc/pywps.conf
>
> [server]
> maxoperations=5
> maxinputparamlength=1024
> maxfilesize=8mb
> tempPath=/tmp
> processesPath=/usr/local/pywps/processes
>
> #outputUrl=http://localhost/tesiswps/wpsoutputs
> outputUrl=http://localhost/wpssalida
>
> #outputPath=/var/www/tesiswps/wpsoutputs
> outputPath=/var/www/wpssalida
>
> debug=true
>
> [grass]
> path=/usr/lib/grass/bin/:/usr/lib/grass/scripts/
> addonPath=
> version=6.2.2
> gui=text
> gisbase=/usr/lib/grass/
> ldLibraryPath=/usr/lib/grass/lib
> #gisdbase=/home/user/grassdata
> gisdbase=/var/www/wpssalida
> #home=/var/www/
>
>
>
> Some body can help me ? , maybe is some grass missing configuration ?
>
> one thing more, i want to test: the Execute request for
> exampleXSLTProcess , exampleBufferNoInputsProcess and exampleLosProcess,
>
> whats the right params to , put this work on ..
>
>
>
> Thanks !!
>
> Best Regards
> - Andres Herrera
>
>
>
>
>
>
>
> --
> =====================================================
> Ing. Fabio Andres Herrera
> Gerente de Proyectos
> From Sky - UAV & RPV Systems
> Santiago de Cali
> Web Site :http://fromsky.hrglobalideas.com
> Blog: http://andresherreracali.blogspot.com
> e-mail:
> andres at hrglobalideas.com <mailto:andres at hrglobalideas.com>
> fandresherrera at hotmail.com <mailto:fandresherrera at hotmail.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pywps-devel mailing list
> Pywps-devel at wald.intevation.org
> http://lists.wald.intevation.org/mailman/listinfo/pywps-devel
>
--------------------------------------------------------------------------------
Plymouth Marine Laboratory
Registered Office:
Prospect Place
The Hoe
Plymouth PL1 3DH
Website: www.pml.ac.uk
Registered Charity No. 1091222
PML is a company limited by guarantee
registered in England & Wales
company number 4178503
PML is a member of the Plymouth Marine Sciences Partnership
Website: www.pmsp.org.uk
--------------------------------------------------------------------------------
This e-mail, its content and any file attachments are confidential.
If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail forinfo at pml.ac.uk and then delete the email without making any copies or using it in any other way.
The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated.
You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses.
--------------------------------------------------------------------------------
More information about the Pywps-devel
mailing list