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 push fails with bad args #99

Open
mcqueenorama opened this issue Jul 7, 2014 · 5 comments
Open

erica push fails with bad args #99

mcqueenorama opened this issue Jul 7, 2014 · 5 comments

Comments

@mcqueenorama
Copy link

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 https://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}]}]}}

@billyongit
Copy link

same thing here, but with local push; worked three weeks bevore
erica version: 0.5.0

@benoitc
Copy link
Owner

benoitc commented Sep 5, 2014

which version of couchdb?

@mcqueenorama
Copy link
Author

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
#99 (comment).

the news wire of the 21st century - twitchy.com

@benoitc
Copy link
Owner

benoitc commented Sep 7, 2014

@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.

@ghabiger
Copy link

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

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

4 participants