-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Description
Description
When a temporary file is removed on Windows 8, the error message is shown as
Traceback (most recent call last):
File "D:\dev\python27_64\lib\site-packages\pywps-4.0.0a2-py2.7.egg\pywps\app\P
rocess.py", line 297, in clean
shutil.rmtree(self.workdir)
File "D:\dev\python27_64\lib\shutil.py", line 252, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "D:\dev\python27_64\lib\shutil.py", line 250, in rmtree
os.remove(fullname)
WindowsError: [Error 32] : 'd:\\pywps\\temp\\pyws_process_shbh59\\tmpc3n0h0'
After 'os.remove(fullname)' syntax was packed by try/catch pattern, I could solve the above problem.
So I would like to request to pack try/catch pattern for users who develop on Windows OS environment.
Environment
- operating system: Windows 8
- Python version: 2.7.10
- PyWPS version: 4.0.0beta1
- source/distribution
- [*] git clone
- Debian
- PyPI
- zip/tar.gz
- other (please specify):
- web server
- Apache/mod_wsgi
- CGI
- [*] other (please specify): Werkzeug (demo.py)
Steps to Reproduce
Additional Information
Metadata
Metadata
Assignees
Labels
No labels