*change gluon/contrib/memcache/__init__.py*
class MemcacheClientObj(Client):
    def initialize(self):
        pass

*start web2py*
python ~/web2py/web2py.py --nogui --no-banner -a 'a' -i 0.0.0.0 -p 8000

*create new webapp and add code on top of models/db.py*
from gluon.contrib.memcache import MemcacheClient
memcache_servers = ['127.0.0.1:11211']
cache.memcache = MemcacheClient(request, memcache_servers)
cache.ram = cache.disk = cache.memcache

*error traceback*
ram_stats = cache.ram.stats[request.application]
KeyError: 'a'

error traceback is different from first posted

thanks and best regards,
stifan

-- 
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