[Pywps-devel] help Could not import process [script]: No module named grass.script

diego fernando castillo osorio okiro7 at hotmail.com
Wed Jan 26 05:06:48 CET 2011


Hi, I'm
 pond in a project for
 college and I need to
 configure PYWPS Grass and
 followed the manual configuration
 of this page and me is
 getting the following error in 
the browser:

<ExceptionReport version="1.0.0">
−
<Exception exceptionCode="NoApplicableCode">
−
<ExceptionText>

            Could not import process [script]: No module named grass.script
        
</ExceptionText>
</Exception>
</ExceptionReport


 in the LOG that I 
have configured in the
 pywps.cfg I get the following:

Traceback (most recent call last):
  File "/usr/lib/cgi-bin/wps.py", line 248, in <module>
    wps = WPS()
  File "/usr/lib/cgi-bin/wps.py", line 143, in __init__
    self.performRequest()
  File "/usr/lib/cgi-bin/wps.py", line 215, in performRequest
    self.request = Execute(self)
  File "/usr/local/lib/python2.6/dist-packages/pywps/Wps/Execute.py", line 136, in __init__
    self.initProcess()
  File "/usr/local/lib/python2.6/dist-packages/pywps/Wps/Execute.py", line 312, in initProcess
    (self.wps.inputs["identifier"], e))
pywps.Exceptions.NoApplicableCodePyWPS NoApplicableCode: None



 not bad I know I have revised
 several times but finding
 the configuration error.


 if I run from the console
 if I get python script.py
 correctly.

 I think the
 error may be permissions on
 a folder,

 I hope I
 can help, thank you very much.


 Diego Fernando Castillo Osorio

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wald.intevation.org/pipermail/pywps-devel/attachments/20110125/777ee9bb/attachment.html


More information about the Pywps-devel mailing list