Have you restarted web2py after the change?

 Paolo

2017-04-10 0:02 GMT+02:00 黄祥 <steve.van.chris...@gmail.com>:

> after adding the code, still got the same error : AttributeError:
> 'MemcacheClientObj' object has no attribute 'initialize'
> *e.g.*
> class MemcacheClientObj(Client):
>     def initialize(self):
>         pass
>
> btw the problem is fixed when not assigned it into cache.ram and cache.disk
> *e.g.*
> #cache.ram = cache.disk = cache.memcache
>
> the same problem occured when using redis too
> *e.g. problem accessing ccache using redis*
> cache.ram = cache.disk = cache.redis
>
> for problem used by another server fixed by allowing the bind host to
> another machine and allow memcache port in firewall (memcache configuration
> on server)
> *e.g.*
> bind 0.0.0.0
>
> for clear memcache clear by restarting the memcache service, flush_all it
> can't do it.
>
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/web2py/ycOvyOBPCMQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to