<div dir="ltr">Hi list<div><br></div><div>I created a new command in GRASS GIS (r.what.multipoint) using library grass.script so i created this process as web service in zoo (r_what_multipoint.py) </div><div><br></div><div>Inside grass gis , it command worked well . This command include the library shpely (import shapely.wkt) . </div><div><br></div><div>So, the request DescribeProcess work well <br><a href="http://10.77.170.52/cgi-bin/zoo_loader.cgi?request=describeprocess&service=WPS&identifier=r_what_multipoint&version=1.0.0">http://10.77.170.52/cgi-bin/zoo_loader.cgi?request=describeprocess&service=WPS&identifier=r_what_multipoint&version=1.0.0</a><br></div><div><br></div><div>But, the request Execute, is invoked and return the empty query</div><div><br></div><div><br></div><div><div class="gmail-collapsible-content" style="margin-left:1em;color:rgb(0,0,0);font-family:monospace;font-size:13px"><div class="gmail-collapsible" id="gmail-collapsible5"><div class="expanded"><div class="gmail-line"><span class="gmail-html-tag"><wps:ProcessOutputs></span></div><div class="gmail-collapsible-content" style="margin-left:1em"><span class="gmail-text"></span><div class="gmail-collapsible" id="gmail-collapsible6"><div class="expanded"><div class="gmail-line"><span class="gmail-button gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="gmail-html-tag"><wps:Output></span></div><div class="gmail-collapsible-content" style="margin-left:1em"><span class="gmail-text"></span><div class="gmail-line"><span class="gmail-html-tag"><ows:Identifier></span><span class="gmail-text">stdout</span><span class="gmail-html-tag"></ows:Identifier></span></div><span class="gmail-text"></span><div class="gmail-collapsible" id="gmail-collapsible7"><div class="expanded"><div class="gmail-line"><span class="gmail-button gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="gmail-html-tag"><ows:Title></span></div><div class="gmail-collapsible-content" style="margin-left:1em"><span class="gmail-text">Name for output file if omitted or "-" output to stdout</span></div><div class="gmail-line"><span class="gmail-html-tag"></ows:Title></span></div></div></div><span class="gmail-text"></span><div class="gmail-collapsible" id="gmail-collapsible8"><div class="expanded"><div class="gmail-line"><span class="gmail-button gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="gmail-html-tag"><wps:Data></span></div><div class="gmail-collapsible-content" style="margin-left:1em"><span class="gmail-text"></span><div class="gmail-line"><span class="gmail-html-tag"><wps:ComplexData<span class="gmail-html-attribute"> <span class="gmail-html-attribute-name">mimeType</span>="<span class="gmail-html-attribute-value">text/plain</span>"</span>/></span></div><span class="gmail-text"></span></div><div class="gmail-line"><span class="gmail-html-tag"></wps:Data></span></div></div></div><span class="gmail-text"></span></div><div class="gmail-line"><span class="gmail-html-tag"></wps:Output></span></div></div></div><span class="gmail-text"></span></div><div class="gmail-line"><span class="gmail-html-tag"></wps:ProcessOutputs></span></div></div></div><span class="gmail-text"></span></div><div class="gmail-line" style="color:rgb(0,0,0);font-family:monospace;font-size:13px"><span class="gmail-html-tag"></wps:ExecuteResponse></span></div></div><div> </div><div>Showing the logfile of zoo , can't import the library shapely: </div><div><br></div><div>$> more logfile_module_sterr.txt <br>Traceback (most recent call last):<br> File "/opt/grass/grass-7.6.latest/dist.x86_64-pc-linux-gnu/scripts/r.what.multipoint", line 48, in <module><br> import shapely.wkt<br>ImportError: No module named shapely.wkt<br></div><div><br></div><div>I am using:</div><div>Python 2.7.15+ <br></div><div><br></div><div>And we can see: the library shapely is imported succesfull:</div><div><br></div><div>Python 2.7.15+ (default, Jul 9 2019, 16:51:35) <br>[GCC 7.4.0] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> import shapely.wkt<br>>>> <br></div><div><br></div><div>In main.cfg , I configured: <br></div><div>[env]<br>PYTHONPATH=/usr/bin/python<br></div><div><br></div><div>where</div><div>ls -l /usr/bin/python -> python2.7 </div><div><br></div><div>I can't understand where the problem is.<br></div><div><br></div><div>Thanks in advanced</div><div><br></div><div>Pablo</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><table width="100%" border="0" cellspacing="10" cellpadding="0" style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"><tbody><tr><td></td></tr><tr><td align="left" valign="top" style="padding:10px"><p><font face="Arial, Helvetica, sans-serif" color="#05233d" style="font-size:18px">Pablo J. Zader</font><br><font size="4"><font face="Arial, Helvetica, sans-serif" color="#90a7b5">Lic. en Cs. de la Computación + MSc. en Aplicaciones Espaciales de Alerta y Respuesta Temprana a Emergencias</font><br></font><span style="background-color:rgb(255,255,255)"><font color="#0000ff"><a href="mailto:pablo.zader@gmail.com" target="_blank">pablo.zader@gmail.com</a> <br></font></span></p><p><font face="Arial, Helvetica, sans-serif" color="#05233d" style="font-size:14px">Universidad Nacional de Córdoba</font><br><font face="Arial, Helvetica, sans-serif" color="#416886" style="font-size:12px">Av. Valpáraíso s/n Ciudad Universitaria</font><br><font face="Arial, Helvetica, sans-serif" color="#1b4260" size="-1"></font></p><table border="0" cellspacing="0" cellpadding="15" style="margin-top:10px"><tbody><tr><td style="padding:5px"> <a style="color:rgb(0,153,204)"><img src="http://www.firmasdecorreo.com/media/img-firmas/skype.png" width="24" height="24" alt="skype" border="0"></a> <a href="http://linkedin.com/in/pablo-javier-zader-7a232125" style="color:rgb(0,153,204)" target="_blank"><img src="http://www.firmasdecorreo.com/media/img-firmas/linkedin.png" width="24" height="24" alt="linkedIn" border="0"></a> </td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><p style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal"><i><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#6aa84f">"Los Grandes Hombres hablan sobre ideas... Los Hombres
Promedio hablan sobre cosas... Los Hombres Pequeños hablan.. de
otros Hombres.</span></i></p></div></div></div></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal"><i><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#6aa84f">del libro Matemática estas ahí? A. Paenza "</span></i></p></div></div></div></div></div></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></div></div></div></div></div></div>