erica push fails with bad args
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:[email protected]: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}]}]}}
same thing here, but with local push; worked three weeks bevore erica version: 0.5.0
which version of couchdb?
1.5.1.
Benoit, I'd like to talk more about Erica, CouchBeam, and Hackney. Can we email or do IRC or would you prefer communication via github issues?
Thanks
On Fri, Sep 5, 2014 at 12:33 AM, Benoit Chesneau [email protected] wrote:
which version of couchdb?
— Reply to this email directly or view it on GitHub https://github.com/benoitc/erica/issues/99#issuecomment-54593716.
the news wire of the 21st century - twitchy.com
@mcqueenorama we can discuss via email if you want to, i won't be available directly during this week. i will check for that bug tomorrow anyway.
Same problem here. Just installed and updated everything from scratch.
- erica 0.5.0
- couchdb 1.6.1
- Erlang OTP/17
process:
$ erica create-webapp appid=bugged $ cd bugged $ erica push bugged
==> bugged (push)
ERROR: push failed while processing /Users/ghabiger/dev/uulm-pripare/pattern-platform/tmp/bugged: {'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,44}]},
{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,752}]}]}}