<div dir="ltr">Hi Jachym, <br><br>I'm using the code that you have suggested me <a href="https://github.com/jachym/pywps/tree/pygrass" target="_blank" style="font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:12.8px">https://github.com/jachym/pywps/tree/pygrass</a>. Which is the newest one?</div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-01 11:24 GMT+02:00 Jachym Cepicky <span dir="ltr"><<a href="mailto:jachym.cepicky@gmail.com" target="_blank">jachym.cepicky@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>this line was fixed in <a href="https://github.com/jachym/PyWPS/blob/pygrass/pywps/app/Process.py#L295" target="_blank">https://github.com/jachym/PyWPS/blob/pygrass/pywps/app/Process.py#L295</a></div><div><br></div><div>your code is still using old version, I'm afraid</div><div><br></div><div>J</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">čt 30. 6. 2016 v 14:34 odesílatel Lorenzo Bottaccioli <<a href="mailto:lorenzo.bottaccioli@gmail.com" target="_blank">lorenzo.bottaccioli@gmail.com</a>> napsal:<br></div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Jachym,<div> This are all'the lines in the error.log file of apache2 that the process generates.</div><div><br></div><div><div>[Thu Jun 30 14:31:27.401569 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>] mod_wsgi (pid=9430): Exception occurred processing WSGI script '/var/www/html/wps/pywps2.wsgi'.</div><div>[Thu Jun 30 14:31:27.401620 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>] Traceback (most recent call last):</div><div>[Thu Jun 30 14:31:27.401637 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>]   File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.11.4-py2.7.egg/werkzeug/wsgi.py", line 707, in close</div><div>[Thu Jun 30 14:31:27.401814 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>]     callback()</div><div>[Thu Jun 30 14:31:27.401823 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>]   File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.11.4-py2.7.egg/werkzeug/wrappers.py", line 1065, in close</div><div>[Thu Jun 30 14:31:27.401836 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>]     func()</div><div>[Thu Jun 30 14:31:27.401841 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>]   File "/usr/local/lib/python2.7/dist-packages/pywps-4.0.0_alpha2-py2.7.egg/pywps/app/Process.py", line 291, in clean</div><div>[Thu Jun 30 14:31:27.401909 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>]     shutil.rmtree(self.workdir)</div><div>[Thu Jun 30 14:31:27.401918 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>]   File "/usr/lib/python2.7/shutil.py", line 239, in rmtree</div><div>[Thu Jun 30 14:31:27.401997 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>]     onerror(os.listdir, path, sys.exc_info())</div><div>[Thu Jun 30 14:31:27.402003 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>]   File "/usr/lib/python2.7/shutil.py", line 237, in rmtree</div><div>[Thu Jun 30 14:31:27.402010 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>]     names = os.listdir(path)</div><div>[Thu Jun 30 14:31:27.402023 2016] [:error] [pid 9430:tid 140582713661184] [remote <a href="http://127.0.0.1:46065" target="_blank">127.0.0.1:46065</a>] OSError: [Errno 2] No such file or directory: '/tmp/pyws_process_dVPVXS'</div></div><div><br></div><div>I think the problem is that in the folder /tmp/ the forlder pyws_process_dVPVXS is not created.<br><br>Best,<br><br>Lorenzo</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-29 10:26 GMT+02:00 Jachym Cepicky <span dir="ltr"><<a href="mailto:jachym.cepicky@gmail.com" target="_blank">jachym.cepicky@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">OSError: [Errno 2] No such file or directory: '/tmp/pyws_process_HMd1Mh' - no such file or directory. <div><br></div><div>is that at the beginning or at the end of your process? Maybe view more lines of the error log could help to identify the location of the error..</div><div><br></div><div>thanks for your testing btw, you might know, PyWPS-4 is still very early beta and your help shall lead to more stable product - I can imagine, it's slightly frustrating though </div><div><br></div><div>J</div><div><br><div class="gmail_quote"><div dir="ltr">út 28. 6. 2016 v 16:51 odesílatel Lorenzo Bottaccioli <<a href="mailto:lorenzo.bottaccioli@gmail.com" target="_blank">lorenzo.bottaccioli@gmail.com</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi list,<br><br>With all my process even the one that give me as raw data the write out put I get this error in the apache log file:<div><i><br></i></div><div><div><i>[Tue Jun 28 16:49:40.961863 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>] mod_wsgi (pid=8261): Exception occurred processing WSGI script '/var/www/html/wps/pywps2.wsgi'.</i></div><div><i>[Tue Jun 28 16:49:40.961916 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>] Traceback (most recent call last):</i></div><div><i>[Tue Jun 28 16:49:40.961935 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>]   File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.11.4-py2.7.egg/werkzeug/wsgi.py", line 707, in close</i></div><div><i>[Tue Jun 28 16:49:40.962184 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>]     callback()</i></div><div><i>[Tue Jun 28 16:49:40.962195 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>]   File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.11.4-py2.7.egg/werkzeug/wrappers.py", line 1065, in close</i></div><div><i>[Tue Jun 28 16:49:40.962213 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>]     func()</i></div><div><i>[Tue Jun 28 16:49:40.962220 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>]   File "/usr/local/lib/python2.7/dist-packages/pywps-4.0.0_alpha2-py2.7.egg/pywps/app/Process.py", line 291, in clean</i></div><div><i>[Tue Jun 28 16:49:40.962327 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>]     shutil.rmtree(self.workdir)</i></div><div><i>[Tue Jun 28 16:49:40.962339 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>]   File "/usr/lib/python2.7/shutil.py", line 239, in rmtree</i></div><div><i>[Tue Jun 28 16:49:40.962466 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>]     onerror(os.listdir, path, sys.exc_info())</i></div><div><i>[Tue Jun 28 16:49:40.962475 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>]   File "/usr/lib/python2.7/shutil.py", line 237, in rmtree</i></div><div><i>[Tue Jun 28 16:49:40.962486 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>]     names = os.listdir(path)</i></div><div><i>[Tue Jun 28 16:49:40.962502 2016] [:error] [pid 8261:tid 140685160273664] [remote <a href="http://127.0.0.1:32976" target="_blank">127.0.0.1:32976</a>] OSError: [Errno 2] No such file or directory: '/tmp/pyws_process_HMd1Mh'</i></div></div><div><i><br></i></div><div>How can I fix this?</div></div></div></div>
_______________________________________________<br>
pywps-dev mailing list<br>
<a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pywps-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/pywps-dev</a></blockquote></div></div></div>
</blockquote></div><br></div>
</blockquote></div></div></div>
</blockquote></div><br></div>