[Zoo-discuss] WPS Service and GRASS7 - setup.init()
Francesco Massa
massa80 at gmail.com
Fri Jun 26 05:14:00 PDT 2015
Hi
I receive this error from my WPS service when I call my service
GetRasterKrige I understand that it's something about the GRASS7
configuration, in particular error is rised when .py invokes
setup.init but I can't solve it.
The GetRasterKrige.py script seemingly is okay: I haven't python error .
Can you help me? Any suggestions about that?
Best regards
Francesco
<?xml version="1.0" encoding="utf-8"?>
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/ows/1.1
http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd"
xml:lang="en-US" version="1.1.0">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>Python module GetRasterKrige cannot be loaded.
Message: TRACE: 'NoneType' object has no attribute 'endswith'
<type 'exceptions.AttributeError'>
Unable to run your python process properly. Please check the following
messages : [' File "/usr/lib/cgi-bin/GetRasterKrige.py", line 29, in
<module>\n setup.init("/usr/lib/grass70/",
"/var/www/zoo/data/dbgrass", "SEPG_WPS", "PERMANENT")\n', ' File
"/usr/lib/grass70/etc/python/grass/script/setup.py", line 161, in
init\n config_dir = os.path.join(os.getenv(\'HOME\'),
config_dirname)\n', ' File "/usr/lib/python2.7/posixpath.py", line 68,
in join\n elif path == \'\' or path.endswith(\'/\'):\n']
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
More information about the Zoo-discuss
mailing list