[erlang-questions] trying to run line_server and pcount with tbray sample data

Russell King masterofquestions@REDACTED
Fri Jan 11 17:25:56 CET 2008


I am not at the stage to run with Erlang yet, but crawling day by day.
I have ran pcount.erl inside the shell.  I am not quite sure about the error.

data file I am using: www.tbray.org/tmp/o10k.ap

I did a make (erl -make -pa ebin) without -smp since I don't have
multicore.  The file: o10k.ap has valid rw access to the user and the
group and placed in the same directory as the beam files.

Error I am getting is "case_clause, <<0 bytes>>":

5> pcount:main("o10k.ap",4).

=ERROR REPORT==== 7-Jan-2008::20:47:07 ===
Error in process <0.39.0> with exit value: {{case_clause,<<0 bytes>>},[]}

** exited: {{case_clause,<<>>},[]} **

=ERROR REPORT==== 7-Jan-2008::20:47:07 ===
Error in process <0.40.0> with exit value: {{case_clause,<<0 bytes>>},[]}


=ERROR REPORT==== 7-Jan-2008::20:47:07 ===
Error in process <0.41.0> with exit value: {{case_clause,<<0 bytes>>},[]}

6>
=ERROR REPORT==== 7-Jan-2008::20:47:07 ===
Error in process <0.42.0> with exit value: {{case_clause,<<0 bytes>>},[]}

thanks,
russ



More information about the erlang-questions mailing list