Weird.
I downloaded a fresh copy of web2py-src, and copied an existing app into it. Started web2py, then using the windows explorer I deleted the contents of the application's cache folder. I had to resort to a manual delete, because when I used the admin to "clean" the application, I encountered a "Access denied" exception. So, yes, the cache is clean. I tried the app without a cache, and with cache.ram, and both those work as expected. The cache.disk is the one that causes the issues mentioned.

If you are curious about the access-denied exception, then here are the details:

   <type 'exceptions.WindowsError'> [Error 5] Access is denied:
   
'C:/Users/subbaraman/Downloads/web2py_src_001/web2py/applications/cache2912_issue/cache/092'
   Version
   web2py™     Version 2.9.12-stable+timestamp.2015.01.17.06.11.03
   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_001\web2py\gluon\restricted.py",
   line 224, in restricted
        exec ccode in environment
      File
   
"C:\Users\subbaraman\Downloads\web2py_src_001\web2py\applications\admin\controllers/default.py",
   line 1945, in <module>
      File
   "C:\Users\subbaraman\Downloads\web2py_src_001\web2py\gluon\globals.py",
   line 393, in <lambda>
        self._caller = lambda f: f()
      File
   
"C:\Users\subbaraman\Downloads\web2py_src_001\web2py\applications\admin\controllers/default.py",
   line 448, in cleanup
        clean = app_cleanup(app, request)
      File
   "C:\Users\subbaraman\Downloads\web2py_src_001\web2py\gluon\admin.py", line
   124, in app_cleanup
        if f[:1] != '.': os.unlink(os.path.join(path, f))
   WindowsError: [Error 5] Access is denied:
   
'C:/Users/subbaraman/Downloads/web2py_src_001/web2py/applications/cache2912_issue/cache/092'


________________________________________
Kiran Subbaraman
http://subbaraman.wordpress.com/about/

On Mon, 19-01-2015 9:59 PM, Leonel Câmara wrote:
Humm that test application gave no error for me. Are you sure you cleared everything in the cache folder before upgrading?
--
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 [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to