Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erica clone fails #109

Open
gdamjan opened this issue Aug 19, 2015 · 3 comments
Open

erica clone fails #109

gdamjan opened this issue Aug 19, 2015 · 3 comments

Comments

@gdamjan
Copy link

gdamjan commented Aug 19, 2015

$ erica clone https://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}]}]}}
@benoitc
Copy link
Owner

benoitc commented Aug 27, 2015

can you eventually provide a copy of the JSON? Soudns like merging changes in the _couchapp metadata is wrong.

@gdamjan
Copy link
Author

gdamjan commented Aug 31, 2015

it fails on a completely empty design doc too:

$ mkdir /tmp/testing
$ cd /tmp/testing/
$ curl -X PUT https://localhost:5984/demo
$ curl -X PUT https://localhost:5984/demo/_design/demo -d '{}'
$ erica clone https://localhost:5984/demo/_design/demo

@benoitc
Copy link
Owner

benoitc commented Aug 31, 2015

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 https://localhost:5984/demo
$ curl -X PUT https://localhost:5984/demo/_design/demo -d '{}'
$ erica clone https://localhost:5984/demo/_design/demo


Reply to this email directly or view it on GitHub
#109 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants