Have you compiled modules in another environment? If memory serves, I got similar problems when I did that.<br><br>CGS<br><br><br><br><br><div class="gmail_quote">On Tue, Sep 4, 2012 at 7:20 AM, Zabrane Mickael <span dir="ltr"><<a href="mailto:zabrane3@gmail.com" target="_blank">zabrane3@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
I want to test code coverage of my code on OSX 10.7.4.<br>
<br>
So:<br>
$ make    ### with "debug_info"<br>
<br>
Then:<br>
$ erl -pa ebin<br>
Eshell V5.9.1  (abort with ^G)<br>
<br>
1> cover:compile_beam_directory("ebin/").<br>
<br>
=ERROR REPORT==== 4-Sep-2012::07:01:03 ===<br>
Error in process <0.35.0> with exit value: {{case_clause,{error,beam_lib,{missing_chunk,'/usr/lib/erlang/lib/pimco-1.0.0/ebin/pimco_rat.beam',"Abst"}}},[{cover,do_compile_beam,3,[{file,"cover.erl"},{line,1277}]},{cover,main_process_loop,1,[{file,"cover.erl"},{line,629}]}]}...<br>

<br>
** exception exit: {{case_clause,{error,beam_lib,<br>
                                        {missing_chunk,'/usr/lib/erlang/lib/pimco-1.0.0/ebin/pimco_rat.beam',<br>
                                                       "Abst"}}},<br>
                    [{cover,do_compile_beam,3,[{file,"cover.erl"},{line,1277}]},<br>
                     {cover,main_process_loop,1,<br>
                            [{file,"cover.erl"},{line,629}]}]}<br>
     in function  cover:call/1 (cover.erl, line 521)<br>
     in call from cover:compile_beams/2 (cover.erl, line 341)<br>
<br>
2>  q().<br>
<br>
<br>
What I'm doing wrong?<br>
<br>
N.B: unfortunately, I can't share the company's code!<br>
<br>
Regards,<br>
Zabrane<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br>