Hey!
I'm having the same issue here, however not in appadmin, but using
cache.disk.clear in a controller instead. What did you change to fix this?
Traceback (most recent call last):
File "/web2py/gluon/restricted.py", line 224, in restricted
exec ccode in environment
File "/web2pyapplications/myapp/controllers/test.py", line 145, in
<module>
File "/web2py/gluon/globals.py", line 392, in <lambda>
self._caller = lambda f: f()
File "/web2py/gluon/tools.py", line 3439, in f
return action(*a, **b)
File "/web2py/applications/myapp/controllers/test.py", line 57, in
cache_clear
cache.disk.clear(None)
File "/web2py/gluon/cache.py", line 394, in clear
storage.clear()
File "/web2py/gluon/cache.py", line 334, in clear
del self[key]
File "/web2py/gluon/cache.py", line 316, in __delitem__
recfile.remove(key, path=self.folder)
File "/web2py/gluon/recfile.py", line 36, in remove
raise IOError
IOError
Den torsdag 16 oktober 2014 kl. 17:13:08 UTC+2 skrev Leonel Câmara:
>
> I have found the problem in appadmin.py and fixed it. You can put it in
> your applications controllers replacing the one in controllers/appadmin.py
> to fix the problem.
>
> Here are the steps:
> 1. Replace appadmin.py with the one attached here.
> 2. Delete everything in the cache folder.
> 3. Problem Solved!
>
> I'll make a pull request later so we can close the issue.
>
--
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.