no errors but both (cacheable and not cacheable) are gluon.dal.Rows before 
pickling and list after pickle.dumps()

On Thursday, September 13, 2012 9:18:59 PM UTC+2, Massimo Di Pierro wrote:
>
> try pickle and unpickle this:
> rows = db(db.tests.id>0).select(cache=(cache.disk, 200), cacheable=True)
>
> perhaps something is failing there?
>
>
> On Sep 13, 2012, at 2:14 PM, Niphlod wrote:
>
> uhm. web2py 2.0.8 ... this works 
>
> rows = db(db.tests.id>0).select(cache=(cache.disk, 200))
> rows = db(db.tests.id>0).select(cache=(cache.disk, 200))
> print rows.find(lambda row: row.id == 1)
>
> this don't
>
> rows = db(db.tests.id>0).select(cache=(cache.disk, 200), cacheable=True)
> rows = db(db.tests.id>0).select(cache=(cache.disk, 200), cacheable=True)
> print rows.find(lambda row: row.id == 1)
>
> the same exact thing is happening using cache.redis (cacheable=True 
> doesn't work, the other works)
>
> -- 
> -- mail from:GoogleGroups "web2py-developers" mailing list
> make speech: web2py-d...@googlegroups.com <javascript:>
> unsubscribe: web2py-develop...@googlegroups.com <javascript:>
> details : http://groups.google.com/group/web2py-developers
> the project: http://code.google.com/p/web2py/
> official : http://www.web2py.com/
>  
>  
>
>
>

-- 



Reply via email to