[web2py] Re: SQLFORM.factory and list:integer error

2013-06-20 Thread Niphlod
you upgraded, but the patch isn't there. as you may notice, the exception raises at the exact same line as before. I just sent an email to Massimo to let him know that ATM the fix isn't in trunk http://code.google.com/p/web2py/issues/detail?id=1547 On Thursday, June 20, 2013 4:29:51 PM UTC+2,

[web2py] Re: SQLFORM.factory and list:integer error

2013-06-20 Thread Martin Barnard
Upgraded, but the error is still there. It's failing at the SQLFORM validation in dal.py, I don't even get the chance to access session variables myself. Also, list:integer fields leave an empty field behind Is there a way from within the DAL to remove empty entries on list:integer (as I can't

[web2py] Re: SQLFORM.factory and list:integer error

2013-06-20 Thread Martin Barnard
That code listing is from dal.py. I didn't really want to poke too much at that as I haven't had time to examine it too deeply. I should probably upgrade to latest web2py before trying anything else :) */scurries off to upgrade the server...* On Thursday, June 20, 2013 12:45:28 AM UTC+3, Niphl

[web2py] Re: SQLFORM.factory and list:integer error

2013-06-19 Thread Niphlod
it's a bug reproduceable only if you leave one empty field. BTW, you're parsing it wrong given a single field filled with 1234, you get [1,2,3,4] back. you should do vars = form.vars.employees if vars: if form.vars.employees: if On Wednesday, June 19, 2013 8:22:52 PM UTC+2, Martin B