Closed helllamer closed 12 years ago
Hi. Thanks for submitting the issue. Try
./rebar clean update-deps get-deps compile -vvv
and insert the output log here if an error is occurred, please.
$ git checkout origin/master
$ ./rebar clean update-deps get-deps compile -vvv
DEBUG: Rebar location: "/home/user/project/deps/i18n/rebar"
DEBUG: Consult config file
"/home/user/project/deps/i18n/rebar.config"
DEBUG: is_app_available, looking for App triq with Path
"/home/user/project/deps/i18n/deps/triq"
DEBUG: vcs_vsn: Unknown VCS atom in vsn field: "0.1.0"
INFO: Looking for triq-.* ; found triq-0.1.0 at /home/user/project/deps/i18n/deps/triq
DEBUG: is_app_available, looking for App rebar_i18n_plugin with Path
"/home/user/project/deps/i18n/deps/rebar_i18n_plugin"
DEBUG: vcs_vsn: Unknown VCS atom in vsn field: "1"
INFO: Looking for rebar_i18n_plugin-.* ; found rebar_i18n_plugin-1
at /home/user/project/deps/i18n/deps/rebar_i18n_plugin
DEBUG: is_app_available, looking for App edown with Path
"/home/user/project/deps/i18n/deps/edown"
DEBUG: vcs_vsn: Primary vcs used for /home/user/project/deps/i18n/deps/edown
INFO: sh info:
cwd: "/home/user/project/deps/i18n"
cmd: git describe --always --tags `git log -n 1 --pretty=format:%h .`
DEBUG: opts: [{cd,"/home/user/project/deps/i18n/deps/edown"},
{use_stdout,false}]
INFO: Looking for edown-.* ; found edown-0.2.9-3-g36f52c7
at /home/user/project/deps/i18n/deps/edown
DEBUG: Available deps:
[{dep,"/home/user/project/deps/i18n/deps/triq", triq, ".*",
{git,"git://github.com/krestenkrab/triq.git",
"master"}},
{dep,"/home/user/project/deps/i18n/deps/rebar_i18n_plugin",
rebar_i18n_plugin,".*",
{git,"git://github.com/freeakk/rebar_i18n_plugin.git", "master"}},
{dep,"/home/user/project/deps/i18n/deps/edown", edown,".*", {git,"git://github.com/esl/edown.git","HEAD"}}]
DEBUG: Missing deps : []
DEBUG: is_app_available, looking for App triq with Path
"/home/user/project/deps/i18n/deps/triq"
INFO: Looking for triq-.* ; found triq-0.1.0
at /home/user/project/deps/i18n/deps/triq
DEBUG: Adding /home/user/project/deps/i18n/deps/triq/ebin to code path
DEBUG: is_app_available, looking for App rebar_i18n_plugin with Path
"/home/user/project/deps/i18n/deps/rebar_i18n_plugin"
INFO: Looking for rebar_i18n_plugin-.* ; found rebar_i18n_plugin-1
at /home/user/project/deps/i18n/deps/rebar_i18n_plugin
DEBUG: Adding /home/user/project/deps/i18n/deps/rebar_i18n_plugin/ebin
to code path
DEBUG: is_app_available, looking for App edown with Path
"/home/user/project/deps/i18n/deps/edown"
INFO: Looking for edown-.* ; found edown-0.2.9-3-g36f52c7
at /home/user/project/deps/i18n/deps/edown
DEBUG: Adding /home/user/project/deps/i18n/deps/edown/ebin to
code path
DEBUG: Associate sub_dir /home/user/project/deps/i18n/deps/triq
with /home/user/project/deps/i18n
DEBUG: Associate
sub_dir /home/user/project/deps/i18n/deps/rebar_i18n_plugin
with /home/user/project/deps/i18n
DEBUG: Associate sub_dir /home/user/project/deps/i18n/deps/edown
with /home/user/project/deps/i18n
INFO: Loading plugin rebar_i18n_plugin from
deps/rebar_i18n_plugin/src/rebar_i18n_plugin.erl
DEBUG: Loaded plugins: [rebar_i18n_plugin]
DEBUG: Preprocess i18n Uncaught error in rebar_core:
{'EXIT',
{{badmatch,ok},
[{rebar_core,acc_modules,5, [{file,"src/rebar_core.erl"}, {line,467}]},
{rebar_core,process_dir0,6, [{file,"src/rebar_core.erl"}, {line,190}]},
{rebar_core,process_commands,2, [{file,"src/rebar_core.erl"}, {line,88}]},
{rebar,main,1, [{file,"src/rebar.erl"}, {line,53}]},
{escript,run,2, [{file,"escript.erl"}, {line,727}]},
{escript,start,1, [{file,"escript.erl"}, {line,277}]},
{init,start_it,1,[]},
{init,start_em,1,[]}]}}
Could you remove /home/user/project/deps/i18n/deps/rebar_i18n_plugin
and try this again?
Hmm, i've removed it, and this error gone away. Sorry for bad report:)
It is not bad, you just upgrade on the bad version of the plugin, where preprocess
returns ok
and not {ok, []}
. That is why update-deps
was not working. This bug was already fixed.
Good luck!