[web2py] new DAL

2017-01-19 Thread Andrea Fae'
Can anyone explain exatly this? db = DAL(myconf.get('db.uri'), pool_size=myconf.get('db.pool_size'), migrate_enabled=myconf.get('db.migrate'), check_reserved=['all']) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.

[web2py] New Dal causing a problem

2012-05-07 Thread Johann Spies
After updating my web2py from the trunc about two hours ago, the following happened when I tried to access an existing app: Database drivers available: pysqlite2, pymysql, psycopg2, pg8000, IMAP Traceback (most recent call last): File "/home/js/web2py/gluon/restricted.py", line 205, in restricte

[web2py] new DAL doesn't like functions as represents

2010-12-07 Thread Fran
Traceback (most recent call last): File "C:\Bin\web2py\gluon\restricted.py", line 188, in restricted exec ccode in environment File "C:/Bin/web2py/applications/eden/models/02_pr.py", line 316, in requires = IS_NULL_OR(IS_IN_DB(db, "pr_person.id", shn_pr_person_represent)), File "C:\B

[web2py] new dal

2010-12-04 Thread mdipierro
The good news... I have finished the new DAL for RDBMs. If you now replace gluon/sql.py with gluon/dal.py as long as you do not use GAE, everything should work fine. All tests pass. The new dal should have all the features as the old dal but no more. It just comes with a better more modular desig

Re: [web2py] new dal

2010-02-05 Thread Alexey Nezhdanov
I_can_test_with_Oracle_if_new_DAL_supports_@(connector)_and_.(schema)_in_tablenames, I_had_to_modify_old_DAL_for_this. Sorry_for_underscores._Space_looks_broken. On Fri, Feb 5, 2010 at 7:14 PM, mdipierro wrote: > > I encourage eveybody running from source to try the new dal: > > cd gluon > cp s

Re: [web2py] new dal

2010-02-05 Thread Wes James
On Fri, Feb 5, 2010 at 9:14 AM, mdipierro wrote: > I encourage eveybody running from source to try the new dal: > > cd gluon > cp sql.py sql.py.bak > cp dal.py sal.py do you mean cp dal.py sql.py ? > > and restart web2py. > Let me know what works or does not work. > > Massimo > -- You received

Re: [web2py] new dal

2010-02-05 Thread Thadeus Burgess
I will only be able to test the new dal with sqlite and postgres. -Thadeus On Fri, Feb 5, 2010 at 10:14 AM, mdipierro wrote: > I encourage eveybody running from source to try the new dal: > > cd gluon > cp sql.py sql.py.bak > cp dal.py sal.py > > and restart web2py. > Let me know what works

[web2py] new dal

2010-02-05 Thread mdipierro
I encourage eveybody running from source to try the new dal: cd gluon cp sql.py sql.py.bak cp dal.py sal.py and restart web2py. Let me know what works or does not work. Massimo -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this g