<div dir='auto'>Hi Frank,<div dir="auto">Did you compiled your project first ? Otherwise you have to export a env variable telling geas to use source files.</div><div dir="auto">If this doesn't solve your problem,  please open an issue on github with the structure of your project. </div><div dir="auto">Regards </div></div><div class="gmail_extra"><br><div class="gmail_quote">Le 31 déc. 2016 11:15 AM, Frank Muller <frank.muller.erl@gmail.com> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi Eric</div><div><br /></div><div>Geas from master on a toy project:</div><div><br /></div><div><span style="font-family:'uictfonttextstylebody';font-size:17px">$ erl -pa ebin -pa deps/*/ebin </span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">Erlang/OTP 17 [erts-6.4] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px"></span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">Eshell V6.4  (abort with ^G)</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">1> geas:compat(".", global).</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">** exception error: no case clause matching</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                   {'EXIT',</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                       {function_clause,</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                           [{string,substr,["dir",0],[{file,"string.erl"},{line,195}]},</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                            {geas,get_src_from_beam,1,</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                                [{file,"src/geas.erl"},{line,1350}]},</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                            {geas,get_abstract,2,[{file,"src/geas.erl"},{line,1303}]},</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                            {geas,get_erlang_compat_beam,1,</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                                [{file,"src/geas.erl"},{line,875}]},</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                            {geas,'-get_erlang_compat/1-fun-0-',2,</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                                [{file,"src/geas.erl"},{line,840}]},</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                            {lists,flatmap,2,[{file,"lists.erl"},{line,1248}]},</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                            {lists,flatmap,2,[{file,"lists.erl"},{line,1248}]},</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                            {geas,get_erlang_compat,1,</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">                                [{file,"src/geas.erl"},{line,840}]}]}}</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">    in function  geas:'-compat/2-fun-1-'/1 (src/geas.erl, line 1124)</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">    in call from lists:flatmap/2 (lists.erl, line 1248)</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">    in call from lists:flatmap/2 (lists.erl, line 1248)</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">    in call from geas:compat/2 (src/geas.erl, line 1123)</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px">    in call from geas:compat/2 (src/geas.erl, line 1088)</span><br style="font-family:'uictfonttextstylebody';font-size:17px" /><span style="font-family:'uictfonttextstylebody';font-size:17px"></span><br />Am I using it correctly?</div><div><br /><span style="font-family:'uictfonttextstylebody';font-size:17px">/Frank</span><br /></div><div><span style="font-family:'uictfonttextstylebody';font-size:17px"><br /></span></div><div><div class="elided-text"><div>Le ven. 30 déc. 2016 à 12:13, PAILLEAU Eric <<a href="mailto:eric.pailleau@wanadoo.fr">eric.pailleau@wanadoo.fr</a>> a écrit :<br /></div><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br /><br /><br /><br />Geas 2.0.10 has been released.<br /><br /><br /><br />This is only an update for Erlang 19.2 database.<br /><br /><br /><br />Geas is a tool that will detect the runnable official Erlang release<br /><br />window for your project, including dependancies, either from source code<br /><br />or beam files.<br /><br /><br /><br />Geas will tell you what are the offending functions in the beam/source<br /><br />files that reduce the available window.<br /><br /><br /><br />Geas will tell you if some beam files are compiled native.<br /><br /><br /><br />Geas is available as a module, <a href="http://erlang.mk">erlang.mk</a> and rebar 2/3 plugins.<br /><br /><br /><br /><a href="https://github.com/crownedgrouse/geas">https://github.com/crownedgrouse/geas</a><br /><br /><br /><br />Cheers, and Happy New Year !<br /><br /><br /><br />Eric<br /><br />_______________________________________________<br /><br />erlang-questions mailing list<br /><br /><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br /><br /><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br /><br /></blockquote></div></div>
</blockquote></div><br></div>