On Fri, Apr 19, 2013 at 10:01 AM, BlueShadow <[email protected]> wrote:
> I did now and I can't import it in python:
> ImportError: No module named gubby
>
Dont know if is a copy paste typo, but is guppy not gubby
Anyway:
Since you are using cache.disk,
the cache file is simply a shelve file you can inspect it with
from datetime import datetime
import shelve
items = shelve.open('cache.shelve')
stats = None
for item in items.items():
#print key, ts, repr(content[:50])
if item[0] == 'web2py_cache_statistics':
stats = repr(item)
else:
key, (ts, content) = item
print key, "%s(%s)" % (datetime.fromtimestamp(ts), ts),
len(content), repr(content[:20])
if stats:
print stats
run this script inside you app/cache folder
Ricardo
--
---
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/groups/opt_out.