incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bryan rasmussen <rasmussen.br...@gmail.com>
Subject Re: couchapp clone problem
Date Fri, 25 Mar 2011 13:09:09 GMT
Ah, I guess it only allows me to clone an app.

best regards,
bryan Rasmusssen

On Fri, Mar 25, 2011 at 1:53 PM, bryan rasmussen
<rasmussen.bryan@gmail.com> wrote:
> I am trying to run clone on the following url:
> http://127.0.0.1:5984/uris/_design/viewalluri
> which when ran in the browser returns the following:
>
> {"_id":"_design/viewalluri","_rev":"4-48ac43d9020113f482ed43fe81d2970f","language":"javascript","views":{"viewalluri":{"map":"function(doc)
> {\n  emit(doc.type,doc.value)\n}"},"usersdocs":{"map":"function(doc)
> {\n  emit(doc.id, 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 http://127.0.0.1:5984/uris/_design/viewalluri
>
> 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
>

Mime
View raw message