<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yiv5175083936"><div id="yui_3_16_0_1_1430677889681_40302"><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;" id="yui_3_16_0_1_1430677889681_40301"><div id="yiv5175083936"><div id="yiv5175083936yui_3_16_0_1_1430677889681_28616"><div id="yiv5175083936yui_3_16_0_1_1430677889681_28615" style="background-color:rgb(255, 255, 255);"><div dir="ltr" id="yiv5175083936yui_3_16_0_1_1430677889681_21854" style="color:rgb(0, 0, 0);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><span id="yui_3_16_0_1_1430677889681_40504">Dear Pablo</span></div><div dir="ltr" id="yiv5175083936yui_3_16_0_1_1430677889681_21854" style="color:rgb(0, 0, 0);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><span><br clear="none"></span></div><div dir="ltr" id="yiv5175083936yui_3_16_0_1_1430677889681_21854" style="color:rgb(0, 0, 0);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><span id="yiv5175083936yui_3_16_0_1_1430677889681_22627">I am aslo ZOO-Project user, did you try to set your configure file with /tmp/(without zoo)/...</span></div><div dir="ltr" id="yiv5175083936yui_3_16_0_1_1430677889681_21854" style="color:rgb(0, 0, 0);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><span id="yiv5175083936yui_3_16_0_1_1430677889681_29530">I think it works perfectly!</span></div><div dir="ltr" id="yiv5175083936yui_3_16_0_1_1430677889681_21854" style="color:rgb(0, 0, 0);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><span><br clear="none"></span></div><div dir="ltr" id="yiv5175083936yui_3_16_0_1_1430677889681_21854"><span style="color:rgb(0, 0, 0);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;" id="yui_3_16_0_1_1430677889681_40340">I don't know which version you are using but as I google it in </span><a rel="noreferrer" shape="rect" id="yiv5175083936yui_3_16_0_1_1430677889681_30350" target="_blank" href="http://code.google.com/p/wps-grass-bridge/source/browse/trunk/ZOOGrassModuleStarter.py?r=9&spec=svn9">http://code.google.com/p/wps-grass-bridge/source/browse/trunk/ZOOGrassModuleStarter.py?r=9&spec=svn9</a> it looks something wrong with the path in configure file </div><br clear="none"><div class="yiv5175083936qtdSeparateBR" id="yiv5175083936yui_3_16_0_1_1430677889681_28614" style="color:rgb(0, 0, 0);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;">Quang<br clear="none"><br clear="none"></div><div class="yiv5175083936yqt5636003667" id="yiv5175083936yqt61530" style="color:rgb(0, 0, 0);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"></div></div></div></div><div class="yiv5175083936yqt1888990701" id="yiv5175083936yqt71523"><div id="yui_3_16_0_1_1430677889681_40300"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;" id="yui_3_16_0_1_1430677889681_40299"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_1_1430677889681_40298"> <div dir="ltr" id="yui_3_16_0_1_1430677889681_42953"> <font size="2" face="Arial" id="yui_3_16_0_1_1430677889681_42952"> On Sunday, May 3, 2015 9:13 PM, pablo zader <pzader@gmail.com> wrote:<br clear="none"> </font> </div> <br clear="none"><br clear="none"> <div class="yiv5175083936y_msg_container" id="yui_3_16_0_1_1430677889681_40297"><div id="yiv5175083936"><div id="yui_3_16_0_1_1430677889681_40312"><div dir="ltr" id="yui_3_16_0_1_1430677889681_40339">Hello Quang<div id="yui_3_16_0_1_1430677889681_42930"><br clear="none"></div><div id="yui_3_16_0_1_1430677889681_42931">If I change the directory owner to www-data, it works well. But it also works if you have the permissions to 777 with user root.<br clear="none"></div><div id="yui_3_16_0_1_1430677889681_42951">For example</div><div><br clear="none"></div><div id="yui_3_16_0_1_1430677889681_45195">drwxrwxrwx 31 root root 12288 may 3 16:10 tmp<br clear="none"></div><div id="yui_3_16_0_1_1430677889681_45420">drwxrwxrwx 2 root root 4096 may 3 16:07 /tmp/zoo<br clear="none"></div><div><br clear="none"></div><div id="yui_3_16_0_1_1430677889681_42946">But my question is another:</div><div><br clear="none"></div><div id="yui_3_16_0_1_1430677889681_45199">"<span style="color:rgb(0,0,0);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><i>There are two issues I want to raise:</i></span></div><div style="color:rgb(0,0,0);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;" id="yui_3_16_0_1_1430677889681_40338"><ol id="yui_3_16_0_1_1430677889681_40337"><li style="margin-left:15px;" id="yui_3_16_0_1_1430677889681_40336"><i id="yui_3_16_0_1_1430677889681_40335">best would return an error message: "Can not create the directory", rather than "<span style="font-family:Verdana;background-color:transparent;" id="yui_3_16_0_1_1430677889681_42941">ZOOGrassModuleStarter instance has no attribute 'logfile"??? (This is bug zoo-proyect??)<br clear="none"><br clear="none"></span></i></li><li style="margin-left:15px;" id="yui_3_16_0_1_1430677889681_42940"><span style="background-color:transparent;" id="yui_3_16_0_1_1430677889681_42939"><i id="yui_3_16_0_1_1430677889681_42938"><font color="#000000" face="Verdana">If my tmp is:<br clear="none"></font><br clear="none"><font color="#000000" face="Verdana" id="yui_3_16_0_1_1430677889681_42937">drwxrwxrwx 30 root root 12288 may 3 00:43 tmp<br clear="none"><br clear="none"></font>Why zoo-project can not create the directory zoo? </i></span><span style="font-family:arial, sans-serif;color:rgb(34,34,34);">"</span></li></ol></div><div><br clear="none"></div><div>Thanks</div><div id="yui_3_16_0_1_1430677889681_45421"><br clear="none"></div><div id="yui_3_16_0_1_1430677889681_42933"><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div></div><div class="yiv5175083936gmail_extra" id="yui_3_16_0_1_1430677889681_40311"><br clear="none"><div class="yiv5175083936gmail_quote" id="yui_3_16_0_1_1430677889681_40310">2015-05-03 15:35 GMT-03:00 truongxuan quang <span dir="ltr" id="yui_3_16_0_1_1430677889681_45575"><<a rel="nofollow" shape="rect" ymailto="mailto:truongxuanquang@yahoo.com" target="_blank" href="mailto:truongxuanquang@yahoo.com" id="yui_3_16_0_1_1430677889681_45574">truongxuanquang@yahoo.com</a>></span>:<br clear="none"><div class="yiv5175083936yqt0069027540" id="yiv5175083936yqt78096"><blockquote class="yiv5175083936gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;" id="yui_3_16_0_1_1430677889681_40309"><div id="yui_3_16_0_1_1430677889681_40308"><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;" id="yui_3_16_0_1_1430677889681_40307"><div dir="ltr"><span>Hello </span><span style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;">Pablo</span></div><div dir="ltr"><span style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><br clear="none"></span></div><div dir="ltr"><span style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;">Can you please change </span><span style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;">/ tmp/zoo to www-data permission </span></div> <div dir="ltr">Quang</div><br clear="none"><div id="yui_3_16_0_1_1430677889681_42934"><br clear="none"><br clear="none"></div><div style="display:block;" id="yui_3_16_0_1_1430677889681_40306"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;" id="yui_3_16_0_1_1430677889681_40305"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_1_1430677889681_40304"> <div dir="ltr" id="yui_3_16_0_1_1430677889681_40334"> <font size="2" face="Arial" id="yui_3_16_0_1_1430677889681_42942"> On Sunday, May 3, 2015 5:54 AM, pablo zader <<a rel="nofollow" shape="rect" ymailto="mailto:pzader@gmail.com" target="_blank" href="mailto:pzader@gmail.com">pzader@gmail.com</a>> wrote:<br clear="none"> </font> </div> <br clear="none"><br clear="none"> <div id="yui_3_16_0_1_1430677889681_40303"><div id="yui_3_16_0_1_1430677889681_40320"><div dir="ltr" id="yui_3_16_0_1_1430677889681_40319">Hi list<div><br clear="none"></div><div>I'm working with GRASS GIS services, particularly "r.what".<br clear="none"></div><div>Experiment a problem to define a nonexistent directory in GlobalGras Settings.py file:<br clear="none"></div><div><br clear="none"></div><div id="yui_3_16_0_1_1430677889681_40318"><div id="yui_3_16_0_1_1430677889681_42945"><div>WORKDIR="/tmp/zoo"</div><div>OUTPUTDIR="/tmp/zoo"</div><div>LOGFILE="/tmp/zoo/logfile.txt"</div><div id="yui_3_16_0_1_1430677889681_45657">LOGFILE_MODULE_STDOUT="/tmp/zoo/logfile_module_stdout.txt"</div><div>LOGFILE_MODULE_STDERR="/tmp/zoo/logfile_module_sterr.txt"</div><div id="yui_3_16_0_1_1430677889681_42944">GRASS_GIS_BASE="/home/pablo/grass_trunk/dist.x86_64-unknown-linux-gnu"</div><div>GRASS_ADDON_PATH="/home/pablo/wps-grass-bridge/gms/Testing/Python/GrassAddons"</div><div id="yui_3_16_0_1_1430677889681_45668">GRASS_VERSION="7.0.svn"</div></div><div id="yui_3_16_0_1_1430677889681_42935"><br clear="none"></div><div id="yui_3_16_0_1_1430677889681_45667">if the "/ tmp/zoo" directory does not exist, an error occurs:<br clear="none"></div><div id="yui_3_16_0_1_1430677889681_45666"><br clear="none"></div><div id="yui_3_16_0_1_1430677889681_40333">
<div style="background-color:transparent;" id="yui_3_16_0_1_1430677889681_40332"><font color="#000000" id="yui_3_16_0_1_1430677889681_40331"><font face="Verdana" id="yui_3_16_0_1_1430677889681_40330"><font style="font-size:8pt;" id="yui_3_16_0_1_1430677889681_40329"><span style="background-color:transparent;" id="yui_3_16_0_1_1430677889681_40328"><ExceptionReport
xmlns="<a rel="nofollow" shape="rect" target="_blank" href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a>"
xmlns:xsi="<a rel="nofollow" shape="rect" target="_blank" href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"
xsi:schemaLocation="<a rel="nofollow" shape="rect" target="_blank" href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a>
<a rel="nofollow" shape="rect" target="_blank" href="http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd" id="yui_3_16_0_1_1430677889681_40327">http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd</a>"
xml:lang="en-US" version="1.1.0"><br clear="none"></span></font></font></font><span style="background-color:transparent;color:rgb(0,0,0);font-family:Verdana;font-size:8pt;" id="yui_3_16_0_1_1430677889681_42943"><Exception
exceptionCode="NoApplicableCode"><br clear="none"></span><span style="background-color:transparent;font-family:Verdana;color:rgb(0,0,0);font-size:8pt;"><ExceptionText><br clear="none"></span><span style="background-color:transparent;font-family:Verdana;color:rgb(0,0,0);font-size:8pt;" id="yui_3_16_0_1_1430677889681_42936">TRACE
: ZOOGrassModuleStarter instance has no attribute 'logfile' <type
'exceptions.AttributeError'> Unable to run your python process
properly. Please check the following messages : [' File
"/usr/lib/cgi-bin/r_what.py", line 7, in r_what\n
service.fromMaps("r.what", inputs, outputs)\n', ' File
"/usr/lib/cgi-bin/ZOOGrassModuleStarter.py", line 43, in
fromMaps\n self._createTemporalDir(GlobalGrassSettings.WORKDIR)\n', '
File "/usr/lib/cgi-bin/gms/GrassModuleStarter.py", line
248, in _createTemporalDir\n self.LogError(log)\n', ' File
"/usr/lib/cgi-bin/gms/ProcessLogging.py", line 70, in
LogError\n self.logfile.write("\\n<ERROR timestamp=\\""
+ localtime + "\\">\\n")\n']<br clear="none"></span><span style="background-color:transparent;font-family:Verdana;color:rgb(0,0,0);font-size:8pt;"></ExceptionText><br clear="none"></span><span style="background-color:transparent;font-family:Verdana;color:rgb(0,0,0);font-size:8pt;"></Exception><br clear="none"></span><span style="font-family:Verdana;color:rgb(0,0,0);font-size:8pt;background-color:transparent;"></ExceptionReport></span></div></div><div><br clear="none"></div><div>There are two issues I want to raise:<br clear="none"></div><div id="yui_3_16_0_1_1430677889681_40326"><ol id="yui_3_16_0_1_1430677889681_40325"><li>best would return an error message: "Can not create the directory", rather than "<span style="font-family:Verdana;color:rgb(0,0,0);font-size:8pt;background-color:transparent;">ZOOGrassModuleStarter
instance has no attribute 'logfile"??? (This is bug zoo-proyect??)<br clear="none"><br clear="none"></span></li><li id="yui_3_16_0_1_1430677889681_40324"><span style="background-color:transparent;" id="yui_3_16_0_1_1430677889681_40323"><font color="#000000" face="Verdana" size="1">If my tmp is:<br clear="none"></font><br clear="none"><font color="#000000" face="Verdana" id="yui_3_16_0_1_1430677889681_40322"><span style="font-size:11px;" id="yui_3_16_0_1_1430677889681_40321">drwxrwxrwx 30 root root 12288 may 3 00:43 tmp<br clear="none"><br clear="none"></span></font>Why zoo-project can not create the directory zoo?<br clear="none"></span></li></ol></div><div id="yui_3_16_0_1_1430677889681_45661"><br clear="none"></div><div>Thanks in advanced</div><div id="yui_3_16_0_1_1430677889681_45660"><br clear="none"></div><div id="yui_3_16_0_1_1430677889681_45658">Pablo</div><div id="yui_3_16_0_1_1430677889681_45659"><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div>-- <br clear="none"><div id="yui_3_16_0_1_1430677889681_40317"><div dir="ltr" id="yui_3_16_0_1_1430677889681_40316"><div id="yui_3_16_0_1_1430677889681_40315"><div dir="ltr" id="yui_3_16_0_1_1430677889681_40314"><div><b><font color="#3366ff"><i>Pablo J. Zader</i></font></b></div><div><b><font color="#3366ff"><i>Lic. en Cs. de la Computación</i></font></b></div><div><i style="color:rgb(51,102,255);font-size:12.8000001907349px;"><b><a rel="nofollow" shape="rect" ymailto="mailto:pablo.zader@gmail.com" target="_blank" href="mailto:pablo.zader@gmail.com">pablo.zader@gmail.com</a></b></i><br clear="none"></div><div><b><i><font size="1"><br clear="none"></font></i></b></div><div id="yui_3_16_0_1_1430677889681_40313"><b><i><font size="1">"Los Grandes Hombres hablan sobre ideas...<br clear="none"> Los Hombres Promedio hablan sobre cosas...<br clear="none"> Los Hombres Pequeños hablan.. de otros Hombres.<br clear="none"><br clear="none"></font></i></b><div><b><i><font size="1">del libro Matemática estas ahi? A. Paenza "</font></i></b></div></div></div></div></div></div>
</div></div></div><br clear="none">_______________________________________________<br clear="none">Zoo-discuss mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:Zoo-discuss@lists.osgeo.org" target="_blank" href="mailto:Zoo-discuss@lists.osgeo.org">Zoo-discuss@lists.osgeo.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss">http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss</a><br clear="none"><br clear="none"></div> </div> </div> </div></div></div></blockquote></div></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div class="yiv5175083936gmail_signature" id="yui_3_16_0_1_1430677889681_45674"><div dir="ltr" id="yui_3_16_0_1_1430677889681_45673"><div id="yui_3_16_0_1_1430677889681_45672"><div dir="ltr" id="yui_3_16_0_1_1430677889681_45671"><div id="yui_3_16_0_1_1430677889681_45670"><b><font color="#3366ff"><i>Pablo J. Zader</i></font></b></div><div id="yui_3_16_0_1_1430677889681_45675"><b><font color="#3366ff"><i>Lic. en Cs. de la Computación</i></font></b></div><div><i style="color:rgb(51,102,255);font-size:12.8000001907349px;"><b><a rel="nofollow" shape="rect" ymailto="mailto:pablo.zader@gmail.com" target="_blank" href="mailto:pablo.zader@gmail.com">pablo.zader@gmail.com</a></b></i><br clear="none"></div><div><b><i><font size="1"><br clear="none"></font></i></b></div><div id="yui_3_16_0_1_1430677889681_45676"><b><i><font size="1">"Los Grandes Hombres hablan sobre ideas...<br clear="none"> Los Hombres Promedio hablan sobre cosas...<br clear="none"> Los Hombres Pequeños hablan.. de otros Hombres.<br clear="none"><br clear="none"></font></i></b><div id="yui_3_16_0_1_1430677889681_45677"><b><i><font size="1">del libro Matemática estas ahi? A. Paenza "</font></i></b></div></div></div></div></div></div>
</div></div></div><br clear="none"><br clear="none"></div> </div> </div> </div></div></div></div></div></div></body></html>