<type 'exceptions.IOError'> [Errno 13] Permission denied
Version
web2py™ Version 2.10.1-stable+timestamp.2015.03.31.22.17.00
Python Python 2.7.9: D:\programs\open\python27\python.exe (prefix: D:\programs\open\python27)
Traceback
Traceback (most recent call last):
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\restricted.py", line 227, in restricted
exec ccode in environment
File "C:/Users/subbaraman/Downloads/web2py_src/web2py/applications/sd/controllers/default.py", line 75, in <module>
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\globals.py", line 393, in <lambda>
self._caller = lambda f: f()
File "C:/Users/subbaraman/Downloads/web2py_src/web2py/applications/sd/controllers/default.py", line 22, in index
rows = db(db.t1.id > 0).select(**cache_settings)
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\packages\dal\pydal\objects.py", line 2093, in select
return adapter.select(self.query,fields,attributes)
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\packages\dal\pydal\adapters\base.py", line 1237, in select
time_expire)
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\cache.py", line 459, in __call__
item = self.storage.get(key)
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\cache.py", line 413, in get
return self[key]
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\cache.py", line 356, in __getitem__
value = pickle.load(recfile.open(key, 'rb', path=self.folder))
IOError: [Errno 13] Permission denied
Function argument list
(self=<gluon.cache.PersistentStorage object>, key='GUZWGOJXGAZWGMBTGA3DSNJRHEZTGOJZHA4GMNJSGQ4WINRTMNSQ====')
Code listing
val_file = recfile.open(key, mode='rb', path=self.folder)
except IOError:
raise KeyError
self.wait_portalock(val_file)
value = pickle.load(recfile.open(key, 'rb', path=self.folder))
val_file.close()
return value
Variables
global pickle <module 'cPickle' (built-in)>
self <gluon.cache.PersistentStorage object>
value undefined
pickle.load <built-in function load>
recfile.open <function open>
self.folder r'C:\Users\subbaraman\Downloads\web2py_src\web2py\applications\sd\cache'
key 'GUZWGOJXGAZWGMBTGA3DSNJRHEZTGOJZHA4GMNJSGQ4WINRTMNSQ===='
path undefined
global recfile <module 'gluon.recfile' from 'C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\recfile.pyc'>
Error ticket for "admin"
Ticket ID
127.0.0.1.2015-04-01.05-01-31.706d8e9c-ad53-4b25-9e56-5dab5a36bbbb
<type 'exceptions.WindowsError'> [Error 32] The process cannot access the file because it is being used by another process: 'C:/Users/subbaraman/Downloads/web2py_src/web2py/applications/sd/cache/088\\1f4\\GUZWGOJXGAZWGMBTGA3DSNJRHEZTGOJZHA4GMNJSGQ4WINRTMNSQ===='
Version
web2py™ Version 2.10.1-stable+timestamp.2015.03.31.22.17.00
Python Python 2.7.9: D:\programs\open\python27\python.exe (prefix: D:\programs\open\python27)
Traceback
Traceback (most recent call last):
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\restricted.py", line 227, in restricted
exec ccode in environment
File "C:/Users/subbaraman/Downloads/web2py_src/web2py/applications/admin/controllers/default.py", line 1944, in <module>
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\globals.py", line 393, in <lambda>
self._caller = lambda f: f()
File "C:/Users/subbaraman/Downloads/web2py_src/web2py/applications/admin/controllers/default.py", line 448, in cleanup
clean = app_cleanup(app, request)
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\admin.py", line 124, in app_cleanup
if f[:1] != '.': recursive_unlink(os.path.join(path, f))
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\fileutils.py", line 181, in recursive_unlink
recursive_unlink(os.path.join(f, s))
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\fileutils.py", line 181, in recursive_unlink
recursive_unlink(os.path.join(f, s))
File "C:\Users\subbaraman\Downloads\web2py_src\web2py\gluon\fileutils.py", line 184, in recursive_unlink
os.unlink(f)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'C:/Users/subbaraman/Downloads/web2py_src/web2py/applications/sd/cache/088\\1f4\\GUZWGOJXGAZWGMBTGA3DSNJRHEZTGOJZHA4GMNJSGQ4WINRTMNSQ===='
Error snapshot help
<type 'exceptions.WindowsError'>([Error 32] The process cannot access the file because it is being used by another process: 'C:/Users/subbaraman/Downloads/web2py_src/web2py/applications/sd/cache/088\\1f4\\GUZWGOJXGAZWGMBTGA3DSNJRHEZTGOJZHA4GMNJSGQ4WINRTMNSQ====')
________________________________________ Kiran Subbaraman http://subbaraman.wordpress.com/about/
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thank you for trying to replicate the issue - am guessing you replicated the "cleaning up of the cache issue", and not the "issue while using the cache itself"?
Here is the screenshot of the message I see, when I try to clean the app, via the admin app. This is not something that I see all the time, but does occur frequently enough