Skip to content

Instantly share code, notes, and snippets.

@chewbranca
Created July 19, 2011 17:53
Show Gist options
  • Save chewbranca/1093259 to your computer and use it in GitHub Desktop.
Save chewbranca/1093259 to your computer and use it in GitHub Desktop.
curl -X PUT http://localhost:5984/test
erica create-app app-id=test
cd test
erica push http://localhost:5984/test
cd /tmp
couchapp clone http://localhost:5984/test/_design/test
errors out with:
2011-07-19 10:50:01 [CRITICAL] '_id'
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/Couchapp-0.6.2-py2.6.egg/couchapp/dispatch.py", line 48, in dispatch
return _dispatch(args)
File "/usr/local/lib/python2.6/dist-packages/Couchapp-0.6.2-py2.6.egg/couchapp/dispatch.py", line 90, in _dispatch
return fun(conf, *args, **opts)
File "/usr/local/lib/python2.6/dist-packages/Couchapp-0.6.2-py2.6.egg/couchapp/commands.py", line 204, in clone
clone_app.clone(source, dest, rev=opts.get('rev'))
File "/usr/local/lib/python2.6/dist-packages/Couchapp-0.6.2-py2.6.egg/couchapp/clone_app.py", line 201, in clone
util.write(idfile, doc['_id'])
KeyError: '_id'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment