[Pywps-devel] pywps on Mac

Lorenzo Becchi lorenzo at ominiverdi.com
Thu Nov 1 13:16:09 CET 2007


thank you Jachym,
it was a stupid FileSizeExceeded.
:-P
----------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<ExceptionReport version="1.0.0" xmlns="http://www.opengis.net/ows" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <Exception exceptionCode="FileSizeExceeded"/>
</ExceptionReport>

Traceback (most recent call last):
  File "/Library/WebServer/CGI-Executables/pywps_svn/trunk/wps.py", line 
348, in <module>
    wps.PerformRequest()
  File "/Library/WebServer/CGI-Executables/pywps_svn/trunk/wps.py", line 
227, in PerformRequest
    self.Execute()
  File "/Library/WebServer/CGI-Executables/pywps_svn/trunk/wps.py", line 
295, in Execute
    raise ServerError(e)
  File 
"/Library/WebServer/CGI-Executables/pywps_svn/trunk/pywps/Wps/wpsexceptions.py", 
line 105, in __init__
    raise NoApplicableCode(value)
pywps.Wps.wpsexceptions.NoApplicableCodePyWPS NoApplicableCode: None
----------------------------------------------------------

now it works smooth.

great debugging in this version, thx
:-)

Lorenzo



Jachym Cepicky wrote:
> Hi Lorenzo,
> for debugging purposes, run pywps always with "&status=false" , than you
> can see at least something
>
> jachym
>
> Lorenzo Becchi píše v St 31. 10. 2007 v 01:49 +0100:
>   
>> Hi Jachym,
>> finally I've started testing version 2.0, actually trunk, on Mac.
>>
>> thanks to epifanio, I've started teh set up. but...
>>
>> the call:
>> ------------------------------------------------------
>> ./wps.py 
>> "service=WPS&version=0.4.0&identifier=addvalue&request=execute&datainputs=input,/Volumes/winZoz/cache/geodata/IDIAF/Raster/dr_shdrlf.tif,value,250&status=true&store=true"
>> ------------------------------------------------------
>>
>> the response:
>> ------------------------------------------------------
>> PyWPS debug 0: {'status': 'true', 'service': 'WPS', 'request': 
>> 'execute', 'version': '0.4.0', 'datainputs': {'input': 
>> '/Volumes/winZoz/cache/geodata/IDIAF/Raster/dr_shdrlf.tif', 'value': 
>> '250'}, 'identifier': ['addvalue'], 'store': 'true'}
>> Content-type: text/xml
>>
>> <?xml version="1.0" encoding="utf-8"?><ExecuteResponse 
>> statusLocation="http://localhost/wps/wpsoutputs/executeresponse-2007-10-31-1-41-9.xml" 
>> version="0.4.0" xmlns="http://www.opengeospatial.net/wps" 
>> xmlns:ows="http://www.opengeospatial.net/ows" 
>> xmlns:xlink="http://www.w3.org/1999/xlink" 
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>> xsi:schemaLocation="http://www.opengeospatial.net/wps 
>> http://www.ogcnetwork.net/schemas/wps/0.4.0/wpsExecute.xsd"><ows:Identifier>addvalue</ows:Identifier><Status><ProcessAccepted/></Status></ExecuteResponse>
>>
>> ------------------------------------------------------
>> the process never ends.
>> "top" from cli, shows no activity.
>>
>> I have installed last GRASS from Kyng Chaos packages.
>>
>> in my grass.py whatever PATH I write, even wrong, changes nothing in output.
>>
>> apache log shows no errors.
>>
>> any suggestions?
>>
>> ciao
>> Lorenzo
>> _______________________________________________
>> Pywps-devel mailing list
>> Pywps-devel at wald.intevation.org
>> http://lists.wald.intevation.org/mailman/listinfo/pywps-devel
>>     


More information about the Pywps-devel mailing list