erica push error

152 views
Skip to first unread message

TimAtBeat

unread,
Sep 3, 2013, 10:47:20 AM9/3/13
to couc...@googlegroups.com
Has anyone encountered this error using erica to push a couchapp?

==> test (push)
ERROR: push failed while processing /home/timatbeat/workspace/test: {'EXIT',{{badrecord,url},
         [{erica_util,db_from_string,2,
                      [{file,"src/erica_util.erl"},{line,58}]},
          {erica_push,push2,3,[{file,"src/erica_push.erl"},{line,51}]},
          {erica_push,push1,3,[{file,"src/erica_push.erl"},{line,40}]},
          {erica_core,run_modules,4,[{file,"src/erica_core.erl"},{line,97}]},
          {erica_core,execute,4,[{file,"src/erica_core.erl"},{line,67}]},
          {erica,main,1,[{file,"src/erica.erl"},{line,12}]},
          {escript,run,2,[{file,"escript.erl"},{line,727}]},
          {escript,start,1,[{file,"escript.erl"},{line,277}]}]}}

I'm running:

Ubuntu 13.04, 64-bit

Erlang: R15B01

Couchdb: 1.3.1

Thanks!

Tim

Benoit Chesneau

unread,
Sep 3, 2013, 11:30:56 AM9/3/13
to couc...@googlegroups.com
can you provides the full command line you pass, don't forget to fake the username and passwords if any.


--
You received this message because you are subscribed to the Google Groups "CouchApp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchapp+u...@googlegroups.com.
To post to this group, send email to couc...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchapp.
For more options, visit https://groups.google.com/groups/opt_out.

Tim Anderson

unread,
Sep 3, 2013, 12:44:19 PM9/3/13
to couc...@googlegroups.com
Benoit,

Here is the command line (I also tried erica push default with the parameters contained .couchapprc):

timatbeat@kerouac:~/workspace/test$ erica push username:password@http://127.0.0.1:5984/test

==> test (push)
ERROR: push failed while processing /home/timatbeat/workspace/test: {'EXIT',{{badrecord,url},
         [{erica_util,db_from_string,2,
                      [{file,"src/erica_util.erl"},{line,58}]},
          {erica_push,push2,3,[{file,"src/erica_push.erl"},{line,51}]},
          {erica_push,push1,3,[{file,"src/erica_push.erl"},{line,40}]},
          {erica_core,run_modules,4,[{file,"src/erica_core.erl"},{line,97}]},
          {erica_core,execute,4,[{file,"src/erica_core.erl"},{line,67}]},
          {erica,main,1,[{file,"src/erica.erl"},{line,12}]},
          {escript,run,2,[{file,"escript.erl"},{line,727}]},
          {escript,start,1,[{file,"escript.erl"},{line,277}]}]}}

Any help is appreciated. Thanks!

Tim

Ryan Ramage

unread,
Sep 3, 2013, 1:08:57 PM9/3/13
to couc...@googlegroups.com
Tim, I believe you want your command to look like this:

erica push http://username:password@127.0.0.1:5984/test

Tim Anderson

unread,
Sep 3, 2013, 1:20:14 PM9/3/13
to couc...@googlegroups.com
Ryan,

That was a lame mistake on my part...

Thanks for taking the time!

Tim

Benoit Chesneau

unread,
Sep 3, 2013, 1:23:13 PM9/3/13
to couc...@googlegroups.com
the error message should target the humans anyway. I will fix that.

Tim Anderson

unread,
Sep 3, 2013, 1:33:03 PM9/3/13
to couc...@googlegroups.com
...until the cyborgs take rise up...


Reply all
Reply to author
Forward
0 new messages