Just tried to:
erica clone
http://jchrisa.net/drl/_design/sofa (want to work through
the example in CouchDB, The Definitive Guide, again)
got the following error:
ERROR: clone failed while processing /usr/local/src:
{'EXIT',{{badmatch,{error,{ok,"404",
[{"Server","CouchDB/1.2.1 (Erlang
OTP/R15B03)"},
{"Date","Tue, 22 Jan 2013 01:21:21 GMT"},
{"Content-Type","application/json"},
{"Content-Length","41"},
{"Cache-Control","must-revalidate"}],
<<"{\"error\":\"not_found\",\"reason\":\"missing\"}\n">>}}},
[{erica_util,parse_couchapp_url,1,
[{file,"src/erica_util.erl"},{line,114}]},
{erica_clone,clone1,3,[{file,"src/erica_clone.erl"},{line,30}]},
{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,741}]},
{escript,start,1,[{file,"escript.erl"},{line,277}]},
{init,start_it,1,[]}]}}
this is with a newly installed copy of erica, pulled from github
tried the same with couchapp:
couchapp clone
http://jchrisa.net/drl/_design/sofa
Worked just fine.
Suggestions?
Thanks,
Miles Fidelman
--
In theory, there is no difference between theory and practice.
In practice, there is. .... Yogi Berra