erica
erica copied to clipboard
erica clone fails
$ erica clone http://localhost:5984/paste/_design/paste
==> paste (clone)
ERROR: clone failed while processing /home/damjan/my-work/paste: {'EXIT',
{function_clause,
[{dict,'-from_list/1-fun-0-',
[insecure,
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}}],
[{file,"dict.erl"},{line,111}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1262}]},
{couchbeam_util,propmerge,3,
[{file,"src/couchbeam_util.erl"},{line,109}]},
{couchbeam,open_db,3,[{file,"src/couchbeam.erl"},{line,358}]},
{erica_util,parse_couchapp_url,2,
[{file,"src/erica_util.erl"},{line,124}]},
{erica_clone,clone1,3,[{file,"src/erica_clone.erl"},{line,30}]},
{erica_core,run_modules,4,[{file,"src/erica_core.erl"},{line,98}]},
{erica_core,execute,4,[{file,"src/erica_core.erl"},{line,68}]}]}}
can you eventually provide a copy of the JSON? Soudns like merging changes in the _couchapp metadata is wrong.
it fails on a completely empty design doc too:
$ mkdir /tmp/testing
$ cd /tmp/testing/
$ curl -X PUT http://localhost:5984/demo
$ curl -X PUT http://localhost:5984/demo/_design/demo -d '{}'
$ erica clone http://localhost:5984/demo/_design/demo
sorry just noticed it. i will check against barrel later in the day On Mon 31 Aug 2015 at 15:51 Дамјан Георгиевски [email protected] wrote:
it fails on a completely empty design doc too:
$ mkdir /tmp/testing $ cd /tmp/testing/ $ curl -X PUT http://localhost:5984/demo $ curl -X PUT http://localhost:5984/demo/_design/demo -d '{}' $ erica clone http://localhost:5984/demo/_design/demo
— Reply to this email directly or view it on GitHub https://github.com/benoitc/erica/issues/109#issuecomment-136377330.