[web2py] Re: strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-28 Thread mdipierro
I need to run some tests about this... will let you know soon. On Feb 28, 12:34 pm, szimszon wrote: > What does it mean? Is there a thread about it somewhere? > > Sorry I don't understand this session thing :( I already use > cache.disk instead cache.ram... > > http://groups.google.com/group/web2

[web2py] Re: strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-28 Thread szimszon
What does it mean? Is there a thread about it somewhere? Sorry I don't understand this session thing :( I already use cache.disk instead cache.ram... http://groups.google.com/group/web2py/browse_frm/thread/9993d61782c9b11d/489ca6f2b2b018e0?lnk=gst&q=cache.ram+clear#489ca6f2b2b018e0 What is that

Re: [web2py] Re: strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-28 Thread Jonathan Lundell
On Feb 28, 2010, at 4:45 AM, mdipierro wrote: > You cannot store in a session the result of a select(). This seems to come up a lot. Would it be practical to have Session catch the exception and raise a more helpful (higher-level) one? > > On Feb 26, 2:39 pm, szimszon wrote: >> The table has

[web2py] Re: strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-28 Thread szimszon
Sorry my English isn't the best :-o You mean that I can't cache select with uploaded files? And it seems to me that the trouble is only with one particular select result... This is my actual code: cut --- db.define_table( 'invoice', Field( 'seller_id'

[web2py] Re: strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-28 Thread mdipierro
You cannot store in a session the result of a select(). On Feb 26, 2:39 pm, szimszon wrote: > The table has upload field and blob to hold file. Can it cause the > problem? > > On febr. 26, 21:22, szimszon wrote: > > > This is the cached select which caused the trouble: > > > SELECT invoice.id, i

[web2py] Re: strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-26 Thread szimszon
The table has upload field and blob to hold file. Can it cause the problem? On febr. 26, 21:22, szimszon 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.

[web2py] Re: strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-26 Thread szimszon
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 invoic