[erlang-questions] Didn't get it to work. The erlcount app from <Learn you some erlang for great good> chapter 20 the count of application

Hao jusfeel@REDACTED
Sat Dec 19 05:27:12 CET 2015


Hi


I tried the erlcount example. when I downloaded the source code from website http://learnyousomeerlang.com/
Then when I run, I had a bad_return, any idea why?


-----------  
[jusfeel@REDACTED learn-you-some-erlang]$ erl -env ERL_LIBS "."
Erlang R16B02-basho5 (erts-5.10.3) [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V5.10.3  (abort with ^G)
1> application:load(ppool).
ok
2> application:start(ppool).
{error,{bad_return,{{ppool,start,[normal,[]]},
                    {'EXIT',{undef,[{ppool,start,[normal,[]],[]},
                                    {application_master,start_it_old,4,
                                                        [{file,"application_master.erl"},{line,269}]}]}}}}}
3> 
=INFO REPORT==== 19-Dec-2015::12:18:27 ===
    application: ppool
    exited: {bad_return,
                {{ppool,start,[normal,[]]},
                 {'EXIT',
                     {undef,
                         [{ppool,start,[normal,[]],[]},
                          {application_master,start_it_old,4,
                              [{file,"application_master.erl"},
                               {line,269}]}]}}}}
    type: temporary


3> 




--


王 昊
Hao WANG
86 186 0086 9737
为学日益 为道日损
http://blog.jusfeel.cn



  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151219/432aa77b/attachment.htm>


More information about the erlang-questions mailing list