Re: [web2py] Limit Related Field Dropdown List

2010-11-21 Thread Bernardo Botella Corbí
Hi Joe, I don't know if I understood well. I think that you are trying to do a drop list, putting in it the pet_type belonging to an owner? In that case, in this thread: http://groups.google.com/group/web2py/browse_thread/thread/3f2ea9bcd3a2e104/226561a9a21dc588?lnk=gst&q=drop+list#226561a9a21dc5

Re: [web2py] Re: Problems with mail.send()

2010-12-01 Thread Bernardo Botella Corbí
It prints False Bernardo 2010/12/1 mdipierro > try from the shell > > python web2py.py -A yourapp -N -M > > print mail.send(to="@...", message="", subject="...") > > Massimo > > On Dec 1, 11:55 am, Bernardo wrote: > > Hi Massimo, > > > > thanks for your reply. I connected without prob

Re: [web2py] Re: minimal setup on Debian for using Mail()

2010-12-04 Thread Bernardo Botella Corbí
Hi Miguel, which test did you do from command line? does web2py print something? Any error? Try to do the next thing from the command line: tail -f /var/log/mail.log (if you are in ubuntu/debian, don't know where it would be in other distributions...) and see if it complaints about anything whe

Re: [web2py] Re: minimal setup on Debian for using Mail()

2010-12-05 Thread Bernardo Botella Corbí
from telnet. Does that work? Bernardo 2010/12/4 Miguel Lopes > Hi Bernado, > > 2010/12/4 Bernardo Botella Corbí > > Hi Miguel, >> >> which test did you do from command line? >> does web2py print something? Any error? >> >> Try to do the next thi

Re: [web2py] Re: Problem with DAL and Postgres

2011-02-06 Thread Bernardo Botella Corbí
Yes, the error is on my custom auth_user table. So, Do I reduce the leght numbers? Bernardo 2011/2/6 Massimo Di Pierro > Do you have a custom auth_user table? Is seems to miss a length > attribute and default to a number too large. I changed the default to > 32768 in trunk but I am not sure. >

Re: [web2py] Re: Problem with DAL and Postgres

2011-02-07 Thread Bernardo Botella Corbí
ble=False, > > writable=False), > > Field('acepta_registro', 'boolean', requires=IS_IN_SET(['on'], > > error_message=T('You must accept the license terms.')), label=XML(T('I > > \'ve read and I accept the ') + A(T('l

Re: [web2py] Re: Upload file default

2011-02-08 Thread Bernardo Botella Corbí
Hi Massimo, I'm trying it, but maybe I am doing something wrong. in the model I have this: Field('imagen', 'upload', default='auth_user.imagen.a9ea07ced8e92070.56657370615f4c58565f323030375f31315f31303234783736382e6a7067.jpg'), being that jpg file an upload file inside the upload folder. If I le

Re: [web2py] Re: Problem with DAL and Postgres

2011-02-08 Thread Bernardo Botella Corbí
t; > should be > > Field('password', 'password', length=512, readable=False, > label='Password'), > > > > On Feb 8, 2:36 am, Bernardo Botella Corbí wrote: > > Hi Massimo, > > > > please find attached the output you asked for. I mu

Re: [web2py] Re: 1.93.2 broken update_record!

2011-03-08 Thread Bernardo Botella Corbí
Hi Clayton, How did you fix it? Thanks for your help, Bernardo 2011/3/7 Clayton > Issue 210: Typo in gluon.dal.update_record > > Patched it manually to get my app up and running. > > This breaks a lot of apps; how soon can a new release get out? > > Clayton > > On Mar 7, 4:11 pm, Clayton

Re: [web2py] Re: 1.93.2 broken update_record!

2011-03-08 Thread Bernardo Botella Corbí
Ok, On line 4776 should appear the following: colset[k] = v kind regards, Bernardo 2011/3/8 Bernardo Botella Corbí > Hi Clayton, > > How did you fix it? > > Thanks for your help, > Bernardo > > 2011/3/7 Clayton > > Issue 210: Typo in gluon.dal.update_recor