[web2py] small bug in 1.96.3

2011-06-07 Thread Gabriele Alberti
Hello, it seems in latest web2py version, gluon/utils.py, line 93, logging is used with no import .. Regards, G.

[web2py] Re: cx_Oracle segfaults

2010-04-05 Thread Gabriele Alberti
connection pooling? That may be why it is needed. > > Massimo > > On Apr 5, 6:23 am, Gabriele  Alberti > wrote: > > > > > Hello, > > I am sorry but I have to disagree. I dont know exactly what happens as > > I am not into the DAL so much, but as I installed

[web2py] Re: cx_Oracle segfaults

2010-04-05 Thread Gabriele Alberti
the threaded=True argument.. If there's anything I can do to help, I'll be glad to. Regards, G. On Apr 5, 12:59 pm, Gabriele Alberti wrote: > Hello, > yes I am running 1.76.1 (2010-03-01 19:56:55); I'll try the latest and > I'll let you know ASAP. > > Thank yo

[web2py] Re: cx_Oracle segfaults

2010-04-05 Thread Gabriele Alberti
are connection between threads. Yet, this is already the > default. You must be running an older version of web2py.You should > upgrade. > > Massimo > > On Apr 4, 11:33 am, Gabriele  Alberti > wrote: > > > > > Hello, > > I have been using web2py with oracle

[web2py] cx_Oracle segfaults

2010-04-04 Thread Gabriele Alberti
Hello, I have been using web2py with oracle since few months now. With small loads everything works fine, but when the load grows, often the python process gets killed with a segfault; after few headaches to understand what was going on, I think I spotted the problem and tried a solution that works

[web2py:35642] Re: Oracle datetime problem (ORA-01830)

2009-11-19 Thread Gabriele Alberti
datetime was > datetime.datetime format and not a string. > I am uploading a fix in trunk, please give it a try. > > On Nov 19, 8:57 am, Gabriele  Alberti > wrote: > > > Hello, > > my model is ok.. I tried to debug a bit, dont know exactly what is > > h

[web2py:35621] Re: Oracle datetime problem (ORA-01830)

2009-11-19 Thread Gabriele Alberti
_date > (..) function. I think you may have incorrectly defined the Field > ('timestamp') as a string. BTW. I do not think 'timestamp' is a valid > field name since it is a reserved keyword. > > On Nov 19, 5:47 am, Gabriele  Alberti > wrote: > > > Hello

[web2py:35609] Oracle datetime problem (ORA-01830)

2009-11-19 Thread Gabriele Alberti
Hello web2py users, I defined a table with one of the fields as datetime type, and when I try to insert a raw it fails with this ORA-01830: date format picture ends before converting entire input string with a raw query looking like this INSERT INTO vals(timestamp, value, type, number) VALUES (

[web2py:35315] Re: Oracle problems (ORA-00972: identifier is too long)

2009-11-13 Thread Gabriele Alberti
Yes now it does work properly, both for auth tables and application tables. I'll let you know if I notice something else wrong.. Thank you very much for your quick support! G. On Nov 14, 1:20 am, mdipierro wrote: > is it fixed now? > > On Nov 13, 4:19 pm, Gabriele  Al

[web2py:35302] Re: Oracle problems (ORA-00972: identifier is too long)

2009-11-13 Thread Gabriele Alberti
Same line, NameError: global name 'field_name' is not defined. I could even guess the patch ;) G. On Nov 13, 10:52 pm, mdipierro wrote: > fixed. try again. > > On Nov 13, 3:06 pm, Gabriele  Alberti > wrote: > > > Uhmmm.. I get this > > > File "

[web2py:35293] Re: Oracle problems (ORA-00972: identifier is too long)

2009-11-13 Thread Gabriele Alberti
g for oracle only if len>30 so it > > is backward compatible. > > > Massimo > > > On Nov 13, 11:29 am, Gabriele  Alberti > > wrote: > > > > Hello, > > > your hack seems to be partially working, for those who need

[web2py:/] Re: Oracle problems (ORA-00972: identifier is too long)

2009-11-13 Thread Gabriele Alberti
gs.table_permission_name = 'auth_perms' > > before > >    auth.define_tables() > > Don't we all love Oracle quirks? > > Massimo > > On Nov 13, 9:59 am, Gabriele  Alberti > wrote: > > > Hi, > > it is 30 chars. I did not read the DAL code yet, but a s

[web2py:35259] Re: Oracle problems (ORA-00972: identifier is too long)

2009-11-13 Thread Gabriele Alberti
length for a constraint name in oracle? > > On Nov 13, 5:29 am, Gabriele  Alberti > wrote: > > > Hello web2py users, > > recently using Oracle as DB I hit the notorious problem "ORA-00972: > > identifier is too long". I understood the problem, I modified my

[web2py:35250] Oracle problems (ORA-00972: identifier is too long)

2009-11-13 Thread Gabriele Alberti
Hello web2py users, recently using Oracle as DB I hit the notorious problem "ORA-00972: identifier is too long". I understood the problem, I modified my code to comply the Oracle limit, then I hit the same problem in "CONSTRAINT auth_membership_user_id__constraint", which is not my code :) I have