Hi! This is my first experiment with web2py, and I'm hoping to use a CouchDB Futon at couchone.com. I'm running on OS X 10.3.9 with couchdb- python version 0.8. I tried the current stable trunk version of web2py but couldn't bring up the welcome app because of hitting the bug reported here in January about the Server object not having the attribute 'commit', so I downloaded the development branch to get the fix. In the welcome app's db.py, I commented out the sqlite usage and substituted:
db = DAL('couchdb://username:passw...@myaccount.couchone.com/ _utils') I successfully brought up the welcome app and created a new trial application. Then I tried to insert an authorized user in order to check if the database was working. The app gave me a ticket saying: web2py™ Version 1.91.6 (2011-02-06 09:39:31) Python Python 2.7.1: /Library/Frameworks/Python.framework/Versions/ 2.7/Resources/Python.app/Contents/MacOS/Python Traceback Traceback (most recent call last): File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/ restricted.py", line 188, in restricted exec ccode in environment File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/applications/ bibserver/controllers/appadmin.py", line 412, in <module> File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/globals.py", line 95, in <lambda> self._caller = lambda f: f() File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/applications/ bibserver/controllers/appadmin.py", line 127, in insert if form.accepts(request.vars, session): File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/sqlhtml.py", line 1015, in accepts hideerror=hideerror, File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/html.py", line 1713, in accepts status = self._traverse(status,hideerror) File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/html.py", line 713, in _traverse newstatus = c._traverse(status,hideerror) and newstatus File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/html.py", line 713, in _traverse newstatus = c._traverse(status,hideerror) and newstatus File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/html.py", line 713, in _traverse newstatus = c._traverse(status,hideerror) and newstatus File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/html.py", line 713, in _traverse newstatus = c._traverse(status,hideerror) and newstatus File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/html.py", line 720, in _traverse newstatus = self._validate() File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/html.py", line 1490, in _validate (value, errors) = validator(value) File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/ validators.py", line 508, in __call__ rows = self.dbset(field == value).select(limitby=(0, 1)) File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/dal.py", line 4593, in select return self.db._adapter.select(self.query,fields,attributes) File "/Users/poplar/Desktop/Code/bzr-2.3.0/devel/gluon/dal.py", line 2941, in select ctable = self.connection[tablename] File "build/bdist.macosx-10.3-ppc/egg/couchdb/client.py", line 137, in __getitem__ db.resource.head() # actually make a request to the database File "build/bdist.macosx-10.3-ppc/egg/couchdb/http.py", line 377, in head return self._request('HEAD', path, headers=headers, **params) File "build/bdist.macosx-10.3-ppc/egg/couchdb/http.py", line 419, in _request credentials=self.credentials) File "build/bdist.macosx-10.3-ppc/egg/couchdb/http.py", line 304, in request raise ResourceNotFound(error) ResourceNotFound Function argument list (self=<couchdb.http.Session object>, method='HEAD', url='http:// myaccount.couchone.com/_utils/auth_user', body=None, headers={'Accept': 'application/json', 'Content-Length': '0', 'User- Agent': 'CouchDB-Python/0.8'}, credentials=None, num_redirects=0) Thanks for any help!