couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bryan rasmussen <>
Subject couchapp clone problem
Date Fri, 25 Mar 2011 12:53:52 GMT
I am trying to run clone on the following url:
which when ran in the browser returns the following:

{\n  emit(doc.type,doc.value)\n}"},"usersdocs":{"map":"function(doc)
{\n  emit(, doc.user);\n}"}},"shows":"{\"res_per_user\" :
function (doc, req) { \t }, \"res2\" : function (doc, req) {
emit(null,req);\t }}"}

which seems to be correct json...

When I run couchapp clone

I get:

2011-03-25 13:48:17 [CRITICAL] 'unicode' object has no attribute 'iteritems'

Traceback (most recent call last):
  File "couchapp\dispatch.pyc", line 48, in dispatch
  File "couchapp\dispatch.pyc", line 94, in _dispatch
  File "couchapp\commands.pyc", line 206, in clone
  File "couchapp\clone_app.pyc", line 164, in clone
AttributeError: 'unicode' object has no attribute 'iteritems'

This is on Windows with Python 2.7

 Best Regards,
Bryan Rasmussen

View raw message