You cannot store in a session the result of a select(). On Feb 26, 2:39 pm, szimszon <szims...@gmail.com> wrote: > The table has upload field and blob to hold file. Can it cause the > problem? > > On febr. 26, 21:22, szimszon <szims...@gmail.com> wrote: > > > This is the cached select which caused the trouble: > > > SELECT invoice.id, invoice.seller_id, invoice.number, invoice.date, > > invoice.document, invoice.invoicedata, seller.id, seller.name, > > seller.address, seller.email, seller.phone, seller.description FROM > > invoice, seller WHERE ((invoice.id>0 AND invoice.seller_id=seller.id) > > AND invoice.id=370) ORDER BY seller.name; > > > On febr. 26, 16:22, szimszon <szims...@gmail.com> wrote: > > > > Error traceback > > > > Traceback (most recent call last): > > > File "gluon/restricted.py", line 173, in restricted > > > exec ccode in environment > > > File "applications/raktar/compiled/controllers_lista_szamla.py", > > > line 360, in <module> > > > File "gluon/globals.py", line 96, in <lambda> > > > self._caller = lambda f: f() > > > File "gluon/tools.py", line 1850, in f > > > return action(*a, **b) > > > File "applications/raktar/compiled/controllers_lista_szamla.py", > > > line 74, in szamla > > > File "gluon/sql.py", line 3048, in select > > > rows = cache_model(key, lambda : response(query), time_expire) > > > File "gluon/cache.py", line 305, in __call__ > > > storage[key] = (time.time(), value) > > > File "/usr/lib/python2.5/shelve.py", line 123, in __setitem__ > > > p.dump(value) > > > File "/usr/lib/python2.5/copy_reg.py", line 69, in _reduce_ex > > > raise TypeError, "can't pickle %s objects" % base.__name__ > > > TypeError: can't pickle buffer objects
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.