[web2py] Re: Can't deal with MemcachedKeyLengthError in caching selects

2011-02-01 Thread kenji4569
Thanks! That's the right way. It worked. On 2月1日, 午後11:37, Massimo Di Pierro wrote: > I think have a solution in trunk. You will not need to specify length > and should work. > > On Jan 31, 8:40 pm, kenji4569 wrote: > > > When I run the following code: > > > db(db.xxx.id==1).select(cache=(cache.

[web2py] Re: Can't deal with MemcachedKeyLengthError in caching selects

2011-02-01 Thread Massimo Di Pierro
I think have a solution in trunk. You will not need to specify length and should work. On Jan 31, 8:40 pm, kenji4569 wrote: > When I run the following code: > > db(db.xxx.id==1).select(cache=(cache.memcache, 5)) > > I got MemcachedKeyLengthError: Key length is > 250. > > Since xxx table has many