<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Dear Soeren and Luca,</div><div>Nice to hear from you.</div><div>Many thanks for your feedbacks.</div><div><br></div><div>My comments are inline, bellow.</div><div><br></div><div>I've compiled and deployed a fresh ZOO-Kernel, available here :</div><div><a href="http://www.zoo-project.org/cgi-grass/zoo_loader_20110504.cgi">http://www.zoo-project.org/cgi-grass/zoo_loader_20110504.cgi</a> .</div><div><br><div><div>Le 4 mai 2011 à 00:03, Luca Delucchi a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>2011/5/3 Soeren Gebbert <<a href="mailto:soerengebbert@googlemail.com">soerengebbert@googlemail.com</a>>:<br><blockquote type="cite">Dear ZOO fellows,<br></blockquote><blockquote type="cite">i have a problem with XML execute requests. When sending WPS XML<br></blockquote><blockquote type="cite">execute requests using the latest ZOO SVN version the following<br></blockquote><blockquote type="cite">problems occur:<br></blockquote><br>[CUT]<br><br></div></blockquote><div><br></div><div><div>The only way to reproduce this first bug was to send wrong XML data to ZOO-kernel, </div><div>which imply parsing error then this kind of response. For instance, if the first line of </div><div>the XML data sent is empty or there is preceding spaces before the leading XML </div><div>header. </div><div><br></div><div>You can run the content of this file from your command line (you'll need curl tool) :</div></div><div><a href="http://zoo-project.org/zcfgs-grass/request_wrong_data.txt">http://zoo-project.org/zcfgs-grass/request_wrong_data.txt</a></div><div><br></div><div>So, depending on the way you send the XML POST data, it can failed.</div><div><br></div><div>ZOO-Kernel should give more relevant information message at this level. In such</div><div>a case, when the XML data failed to parse, ZOO-Kernel should explain why the </div><div>parsing failed, something similar to the following apache2 error log.</div><div><div><br></div></div><div>****</div><div><div>Entity: line 1: </div><div>parser </div><div>error : </div><div>XML declaration allowed only at the start of the document</div><div>  <?xml version="1.0" encoding="UTF-8" standalone="yes"?><wps:Execute service="WP</div><div>       ^</div><div>****</div><div><br></div></div><blockquote type="cite"><div><blockquote type="cite"><br></blockquote><blockquote type="cite">I use wps-grass-bridge and grass gis 7 as backend. The grass process<br></blockquote><blockquote type="cite">runs perfectly but the zoo kernel crashes while trying to deliver the<br></blockquote><blockquote type="cite">result.<br></blockquote><blockquote type="cite"><br></blockquote><br>I have the same problem....<br></div></blockquote><div><br></div><div>I didn't notice any issue using your XML request, using the following setup :</div><div><br></div><div>   * zoo-kernel trunk rev 206</div><div>   * wps-grass-bridge trunk rev 61</div><div>   * grass trunk rev 45242</div><div><br></div>You can use the content of this file from the command line:</div><div><a href="http://zoo-project.org/">http://zoo-project.org/</a>zcfgs-grass/request_grass_sample.txt</div><div><br></div><div>So this should not come from ZOO-Kernel, wps-grass-bridge or grass. Maybe, there </div><div>is some more info in the setup (zcfg files [1] used or GlobalGrassSettings.py - GGS [2]) ?</div><div>I think that we should take a look at the generated zcfg files. Please, can you give me </div><div>access to your v_voronoi.zcfg file ?</div><div><div><br></div></div><div><blockquote type="cite"><div><br><blockquote type="cite">Here the wps-grass-bridge logfile:<br></blockquote><blockquote type="cite"><a href="http://www-pool.math.tu-berlin.de/~soeren/tmp/logfile.txt">http://www-pool.math.tu-berlin.de/~soeren/tmp/logfile.txt</a><br></blockquote><blockquote type="cite"><br></blockquote><br>mine <a href="http://lucadelu.org/zoograss/logfile_error.txt">http://lucadelu.org/zoograss/logfile_error.txt</a><br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">Any help is greatly appreciated.<br></blockquote><blockquote type="cite"><br></blockquote><br>+1<br></div></blockquote><div><br></div><div><br></div><div>Hope to hear from you, thanks for your help.</div><div><br></div>Best,<br><br></div><div><div><span class="Apple-style-span" style="font-size: 12px; ">Gérald Fenoy</span></div></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; "><a href="mailto:gerald.fenoy@geolabs.fr"><span class="Apple-style-span" style="color: rgb(0, 0, 238); ">gerald.fenoy@geolabs.fr</span></a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; font-size: 12px; "><span class="Apple-style-span" style="font-size: medium;"><br></span></div></div></div></div><div><div><div>[1] <a href="http://zoo-project.org/zcfgs-grass">http://zoo-project.org/zcfgs-grass</a>/<SERVICE>.zcfg where <SERVICE> is the </div><div>GRASS service name. For instance,  <a href="http://zoo-project.org/zcfgs-grass/v_voronoi.zcfg">http://zoo-project.org/zcfgs-grass/v_voronoi.zcfg</a>  </div><div>(main.cfg is also available)</div><div>[2] <a href="http://zoo-project.org/zcfgs-grass/GlobalGrassSettings.py.txt">http://zoo-project.org/zcfgs-grass/GlobalGrassSettings.py.txt</a></div><div><br></div></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div></div></div></div></div></body></html>