benoitc / benoitc/erica

erica clone fails

Open
#109 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
264
Forks
30
PR merge metrics
No merged PRs in 30d

Description

```
$ 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}]}]}}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the shown erica clone command, then start at src/erica_util.erl line 124 and follow the call into couchbeam_util.erl line 109 and couchbeam.erl line 358. Confirm the cause of the dict:from_list/1 failure and verify that cloning the CouchDB design document completes without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.