hmmmm.... I think we do not have the same driver. Mine is called CouchDB-0.9dev-py2.5
On Dec 23, 1:05 am, ron_m <[email protected]> wrote: > I copied the welcome application and put the above code into > models/couch_test.py and removed all other model files so there would be no > conflicts. This is in a clone of trunk updated by hg pull and hg update a > few minutes ago. > > I get this traceback > > camcent...@dev64:~/Dev/web2py_hg$ python web2py.py -S test_couch -M > web2py Enterprise Web Framework > Created by Massimo Di Pierro, Copyright 2007-2011 > Version 1.91.4 (2010-12-22 11:22:04) > Database drivers available: SQLite3, pymysql, PostgreSQL, CouchDB > Traceback (most recent call last): > File "/home/camcentral/Dev/web2py_hg/gluon/restricted.py", line 188, in > restricted > exec ccode in environment > File "applications/test_couch/models/couch_test.py", line 7, in <module> > id=db.person.insert(name='Jim') > File "/home/camcentral/Dev/web2py_hg/gluon/dal.py", line 3840, in insert > return self._db._adapter.insert(self,self._listify(fields)) > File "/home/camcentral/Dev/web2py_hg/gluon/dal.py", line 2820, in insert > ctable.save(values) > AttributeError: 'Database' object has no attribute 'save'

