[Pywps-dev] Error in apache log file

Lorenzo Bottaccioli lorenzo.bottaccioli at gmail.com
Thu Jun 30 05:34:07 PDT 2016


Hi Jachym,
 This are all'the lines in the error.log file of apache2 that the process
generates.

[Thu Jun 30 14:31:27.401569 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065] mod_wsgi (pid=9430): Exception occurred processing
WSGI script '/var/www/html/wps/pywps2.wsgi'.
[Thu Jun 30 14:31:27.401620 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065] Traceback (most recent call last):
[Thu Jun 30 14:31:27.401637 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065]   File
"/usr/local/lib/python2.7/dist-packages/Werkzeug-0.11.4-py2.7.egg/werkzeug/wsgi.py",
line 707, in close
[Thu Jun 30 14:31:27.401814 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065]     callback()
[Thu Jun 30 14:31:27.401823 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065]   File
"/usr/local/lib/python2.7/dist-packages/Werkzeug-0.11.4-py2.7.egg/werkzeug/wrappers.py",
line 1065, in close
[Thu Jun 30 14:31:27.401836 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065]     func()
[Thu Jun 30 14:31:27.401841 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065]   File
"/usr/local/lib/python2.7/dist-packages/pywps-4.0.0_alpha2-py2.7.egg/pywps/app/Process.py",
line 291, in clean
[Thu Jun 30 14:31:27.401909 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065]     shutil.rmtree(self.workdir)
[Thu Jun 30 14:31:27.401918 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065]   File "/usr/lib/python2.7/shutil.py", line 239,
in rmtree
[Thu Jun 30 14:31:27.401997 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065]     onerror(os.listdir, path, sys.exc_info())
[Thu Jun 30 14:31:27.402003 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065]   File "/usr/lib/python2.7/shutil.py", line 237,
in rmtree
[Thu Jun 30 14:31:27.402010 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065]     names = os.listdir(path)
[Thu Jun 30 14:31:27.402023 2016] [:error] [pid 9430:tid 140582713661184]
[remote 127.0.0.1:46065] OSError: [Errno 2] No such file or directory:
'/tmp/pyws_process_dVPVXS'

I think the problem is that in the folder /tmp/ the forlder
pyws_process_dVPVXS is not created.

Best,

Lorenzo

2016-06-29 10:26 GMT+02:00 Jachym Cepicky <jachym.cepicky at gmail.com>:

> OSError: [Errno 2] No such file or directory: '/tmp/pyws_process_HMd1Mh' -
> no such file or directory.
>
> 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..
>
> 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
>
> J
>
> Ășt 28. 6. 2016 v 16:51 odesĂ­latel Lorenzo Bottaccioli <
> lorenzo.bottaccioli at gmail.com> napsal:
>
>> Hi list,
>>
>> 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:
>>
>> *[Tue Jun 28 16:49:40.961863 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>] mod_wsgi
>> (pid=8261): Exception occurred processing WSGI script
>> '/var/www/html/wps/pywps2.wsgi'.*
>> *[Tue Jun 28 16:49:40.961916 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>]
>> Traceback (most recent call last):*
>> *[Tue Jun 28 16:49:40.961935 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>]   File
>> "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.11.4-py2.7.egg/werkzeug/wsgi.py",
>> line 707, in close*
>> *[Tue Jun 28 16:49:40.962184 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>]
>> callback()*
>> *[Tue Jun 28 16:49:40.962195 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>]   File
>> "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.11.4-py2.7.egg/werkzeug/wrappers.py",
>> line 1065, in close*
>> *[Tue Jun 28 16:49:40.962213 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>]
>> func()*
>> *[Tue Jun 28 16:49:40.962220 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>]   File
>> "/usr/local/lib/python2.7/dist-packages/pywps-4.0.0_alpha2-py2.7.egg/pywps/app/Process.py",
>> line 291, in clean*
>> *[Tue Jun 28 16:49:40.962327 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>]
>> shutil.rmtree(self.workdir)*
>> *[Tue Jun 28 16:49:40.962339 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>]   File
>> "/usr/lib/python2.7/shutil.py", line 239, in rmtree*
>> *[Tue Jun 28 16:49:40.962466 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>]
>> onerror(os.listdir, path, sys.exc_info())*
>> *[Tue Jun 28 16:49:40.962475 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>]   File
>> "/usr/lib/python2.7/shutil.py", line 237, in rmtree*
>> *[Tue Jun 28 16:49:40.962486 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>]
>> names = os.listdir(path)*
>> *[Tue Jun 28 16:49:40.962502 2016] [:error] [pid 8261:tid
>> 140685160273664] [remote 127.0.0.1:32976 <http://127.0.0.1:32976>] OSError:
>> [Errno 2] No such file or directory: '/tmp/pyws_process_HMd1Mh'*
>>
>> How can I fix this?
>> _______________________________________________
>> pywps-dev mailing list
>> pywps-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/pywps-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20160630/d31a60c1/attachment-0001.html>


More information about the pywps-dev mailing list