crownedgrouse/geas

Uncaught error: badmatch

Closed this issue · 3 comments

I get the following error when i run rebar3 geas

===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace
===> Uncaught error: {badmatch,
                                {error,
                                    "Application Resource File (.app.src) not found, neither .erl files. Aborting."}}
===> Stack trace to the error location: [{geas,'-compat/2-fun-1-',1,
                                                 [{file,
                                                   "/home/byaruhaf/projects/Erlang_Project/otto/_build/default/plugins/geas/src/geas.erl"},
                                                  {line,1118}]},
                                                {lists,flatmap,2,
                                                 [{file,"lists.erl"},
                                                  {line,1249}]},
                                                {lists,flatmap,2,
                                                 [{file,"lists.erl"},
                                                  {line,1249}]},
                                                {geas,compat,2,
                                                 [{file,
                                                   "/home/byaruhaf/projects/Erlang_Project/otto/_build/default/plugins/geas/src/geas.erl"},
                                                  {line,1117}]},
                                                {geas,compat,2,
                                                 [{file,
                                                   "/home/byaruhaf/projects/Erlang_Project/otto/_build/default/plugins/geas/src/geas.erl"},
                                                  {line,1153}]},
                                                {geas_rebar3,do,1,
                                                 [{file,
                                                   "/home/byaruhaf/projects/Erlang_Project/otto/_build/default/plugins/geas_rebar3/src/geas_rebar3.erl"},
                                                  {line,34}]},
                                                {rebar_core,do,2,
                                                 [{file,
                                                   "/home/travis/build/rebar/rebar3/_build/default/lib/rebar/src/rebar_core.erl"},
                                                  {line,125}]},
                                                {rebar3,main,1,
                                                 [{file,
                                                   "/home/travis/build/rebar/rebar3/_build/default/lib/rebar/src/rebar3.erl"},
                                                  {line,56}]}]

Hi, could you precise on what repo you want to run geas ?
"Application Resource File (.app.src) not found, neither .erl files. Aborting." means that geas does not think it is a valid Erlang project.

I need however to better integrate the error in rebar3 output, anyway. Will do it in rebar3 plugin code

@crownedgrouse sorry this issue was supposed to open on the rebar3 geas plugin not on geas app closing the issue here.