benoitc / benoitc/erica

erica push fails with bad args

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

Description

I followed the git hub intro. I did not do a local push and have no local couchdb. I skipped the local push and deployed to the remote couch, specifying the admin username/password in the url. It created the database, but pushed nothing else. It threw this error:

bash-3.2$ erica push http://xxxx:xxx@pg-rel01.sv.zup.com:5984/testdb
==> myapp (push)
ERROR: push failed while processing /Users/bmcquee/git/myapp: {'EXIT',{badarg,[{couchbeam,save_doc,4,
[{file,"src/couchbeam.erl"},{line,587}]},
{erica_push,do_push,4,
[{file,"src/erica_push.erl"},{line,91}]},
{erica_push,push2,3,[{file,"src/erica_push.erl"},{line,53}]},
{erica_push,push1,3,[{file,"src/erica_push.erl"},{line,40}]},
{erica_core,run_modules,4,
[{file,"src/erica_core.erl"},{line,98}]},
{erica_core,execute,4,
[{file,"src/erica_core.erl"},{line,68}]},
{erica,main,1,[{file,"src/erica.erl"},{line,12}]},
{escript,run,2,[{file,"escript.erl"},{line,747}]}]}}

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the documented erica push command against a remote CouchDB URL, then inspect src/erica_push.erl at lines 40, 53, 91 and couchbeam's src/couchbeam.erl at line 587. Determine why the remote push reaches the badarg failure without a local CouchDB; done means the reported deployment creates the database and pushes the app contents successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang, javascript
Domain
cli, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.