Please try again. You do not need to copy dal.py over sql.py. As of yesterday they are the same in trunk.
Massimo On Dec 8, 4:13 pm, howesc <how...@umich.edu> wrote: > i just pulled from trunk, copied dal.py to sql.py, and did not get past > logging in to my app to test for you. i got this error: > > ERROR 2010-12-08 22:09:31,819 restricted.py:151] Traceback (most recent > call last): > File "/home/cfhowes/tools/web2py_src/web2py/gluon/restricted.py", line > 188, in restricted > exec ccode in environment > File > "/home/cfhowes/tools/web2py_src/web2py/applications/pump/controllers/default.py:user", > line 63, in <module> > File "/home/cfhowes/tools/web2py_src/web2py/gluon/globals.py", line 95, > in <lambda> > self._caller = lambda f: f() > File > "/home/cfhowes/tools/web2py_src/web2py/applications/pump/controllers/default.py:user", > line 40, in user > File "/home/cfhowes/tools/web2py_src/web2py/gluon/tools.py", line 1025, > in __call__ > return self.login() > File "/home/cfhowes/tools/web2py_src/web2py/gluon/tools.py", line 1516, > in login > self.log_event(log % self.user) > File "/home/cfhowes/tools/web2py_src/web2py/gluon/tools.py", line 1268, > in log_event > origin=origin, user_id=user_id) > File "/home/cfhowes/tools/web2py_src/web2py/gluon/sql.py", line 3711, > in insert > return self._db._adapter.insert(self, new_fields) > File "/home/cfhowes/tools/web2py_src/web2py/gluon/sql.py", line 2666, > in insert > tmp = table._tableobj(**fields) > TypeError: PropertiedClass object argument after ** must be a dictionary > > did i do something wrong in setting up the app to use the new DAL? > > cfh