incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject Re: Upgrading an existing Couch's authentication
Date Tue, 09 Feb 2010 12:20:07 GMT
> >> Once again, props to @jchris for getting the authentication up to
> >> snuff. I was able to get a simple authentication system built for my
> >> little couchapp Swinger: http://github.com/quirkey/swinger

I'm keen to try this, but I'm getting the following error:

$ couchapp push . http://localhost:5984/swinger
[INFO] Visit your CouchApp here:
http://localhost:5984/swinger/_design/swinger/index.html
[CRITICAL] 
Traceback (most recent call last):
  File "/usr/bin/couchapp", line 5, in <module>
    pkg_resources.run_script('Couchapp==0.5.3', 'couchapp')
  File "/usr/lib/python2.5/site-packages/distribute-0.6.8-py2.5.egg/pkg_resources.py", line
452, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.5/site-packages/distribute-0.6.8-py2.5.egg/pkg_resources.py", line
1179, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/lib/python2.5/site-packages/Couchapp-0.5.3-py2.5.egg/EGG-INFO/scripts/couchapp",
line 28, in <module>
    couchapp.dispatch.run()
  File "/usr/lib/python2.5/site-packages/Couchapp-0.5.3-py2.5.egg/couchapp/dispatch.py", line
29, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/python2.5/site-packages/Couchapp-0.5.3-py2.5.egg/couchapp/dispatch.py", line
40, in dispatch
    return _dispatch(ui, args)
  File "/usr/lib/python2.5/site-packages/Couchapp-0.5.3-py2.5.egg/couchapp/dispatch.py", line
85, in _dispatch
    return fun(ui, path, *args, **opts)    
  File "/usr/lib/python2.5/site-packages/Couchapp-0.5.3-py2.5.egg/couchapp/commands.py", line
80, in push
    pushdocs(ui, docspath, dest, *args, **opts)
  File "/usr/lib/python2.5/site-packages/Couchapp-0.5.3-py2.5.egg/couchapp/commands.py", line
171, in pushdocs
    db.save_docs(docs1)
  File "/usr/lib/python2.5/site-packages/Couchapp-0.5.3-py2.5.egg/couchapp/couchdbclient.py",
line 443, in save_docs
    raise BulkSaveError(errors)
couchapp.errors.BulkSaveError

I have couchapp installed from git, and I had also uninstalled the
couchapp-0.1.7 gem to be on the safe side.  couchapp passes its own
testsuite.

Having said that, the app does appear to work at first glance, although the
"welcome" presentation it invites me to view isn't there.

couchdb is current trunk:

$ curl http://127.0.0.1:5984/
{"couchdb":"Welcome","version":"0.11.0bcc31819f-git"}

Regards,

Brian.

Mime
View raw message