You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an erlang project which I am migrating to use the rebar3_plugin, but the project does not use lager. If I don't include lager in the root rebar.config then the application will not start. I appears as though a dependency of lager, within the cuttlefish plugin, does not start.
As a workaround including lager in the rebar.config of the project fixes the issue.
CUTTLEFISH_CONFIG=escript: exception error: {app_start_failed,syntax_tools,
{"no such file or directory",
"syntax_tools.app"}}
in function lager:start_ok/2 (/home/geib/git/cse.spooler.v2/_build/default/plugins/lager/src/lager.erl, line 58)
in call from lager:start_ok/2 (/home/geib/git/cse.spooler.v2/_build/default/plugins/lager/src/lager.erl, line 55)
in call from lager:start_ok/2 (/home/geib/git/cse.spooler.v2/_build/default/plugins/lager/src/lager.erl, line 55)
in call from cuttlefish_escript:main/1 (/home/geib/git/cse.spooler.v2/_build/default/plugins/cuttlefish/src/cuttlefish_escript.erl, line 83)
in call from escript:run/2 (escript.erl, line 757)
in call from escript:start/1 (escript.erl, line 277)
in call from init:start_it/1
in call from init:start_em/1
Cuttlefish does depend on lager, I think it should be changed to not do so. Since the other solution is changing cuttlefish's .app.src https://github.com/basho/cuttlefish/blob/develop/src/cuttlefish.app.src to have lager properly in the applications list. But then that forces anyone who wants to use cuttlefish to use lager.
I have an erlang project which I am migrating to use the rebar3_plugin, but the project does not use lager. If I don't include lager in the root rebar.config then the application will not start. I appears as though a dependency of lager, within the cuttlefish plugin, does not start.
As a workaround including lager in the rebar.config of the project fixes the issue.
Here is a snippet of the error on the console:
{"no such file or directory",
"syntax_tools.app"}}
in function lager:start_ok/2 (/home/geib/git/cse.spooler.v2/_build/default/plugins/lager/src/lager.erl, line 58)
in call from lager:start_ok/2 (/home/geib/git/cse.spooler.v2/_build/default/plugins/lager/src/lager.erl, line 55)
in call from lager:start_ok/2 (/home/geib/git/cse.spooler.v2/_build/default/plugins/lager/src/lager.erl, line 55)
in call from cuttlefish_escript:main/1 (/home/geib/git/cse.spooler.v2/_build/default/plugins/cuttlefish/src/cuttlefish_escript.erl, line 83)
in call from escript:run/2 (escript.erl, line 757)
in call from escript:start/1 (escript.erl, line 277)
in call from init:start_it/1
in call from init:start_em/1
Cuttlefish failed! Oh no!
The text was updated successfully, but these errors were encountered: