From: Joe Armstrong <erl...@gmail.com>
Date: Wed, 25 Jul 2012 10:25:18 +0200
Local: Wed, Jul 25 2012 4:25 am
Subject: Re: [erlang-questions] How can I debug this?
> {"init terminating in
This error message means Erlang cannot find the file boss.beam - some
> do_boot",{undef,[{boss,start,[],[],{init,start_it,1,[{file > ,"init.erl"},[line,1041}]},{init,start_em,1,[{file,"init.erl"},{line,1022}] }]}} code has tried to evaluate the function boss:start() (That's what the cryptic error message means) and the module boss is not loaded. When this happens the system tries to find a file called boss.beam - this must be one of the files in the code load path. To debug this - start erlang (If you can't start erlang at all) you're screwed.
When I do this I see this:
1 > io:format("~p~n",[code:get_path()]).
One of these directories should contain the file boss.beam
Since boss.beam is not in your path you have to find and add it to your path.
If boss.beam is in the directory DIR then you can evaluate this:
> code:add_pathz(Dir).
in the shell
Better is to add it to the erlang startup file.
On a unix or mac you just make a file called ".erlang" which is either
I tried to do this on windows but I have no evironment variable HOME
(( Actually I'd like to keep an up-to-date install guide on the erlang
Once we know how to make a .erlang file I can fill in the details of
Just keep mailing back to this thread every time you have a problem
Cheers
/Joe
On Fri, Jul 20, 2012 at 4:05 PM, Ian <hobso...@gmail.com> wrote:
_______________________________________________
> Hi All, > I am attempting to work through the Chicago Boss quickstart tutorial at
> I am using Windows 7 - 64 bit, and the R15B release of Erlang. New to
> First a minor bug - I think I installed the 32 bit version, removed it, and
> After that was corrected, I created the project and set up the file in Step
> A few tries later I was able to catch it in a screen dump. The error message
> {"init terminating in
> (copied by hand)
> I know this means the server did not start up. But why, and what have I done
> My project is called erlian and is in d:\erlian . The file
> -module(erlian_greeting_controller, [Req]).
> hello('GET', []) ->
> (copy/pasted)
> Help much appreciated.
> Ian
> _______________________________________________
erlang-questions mailing list erlang-questi...@erlang.org http://erlang.org/mailman/listinfo/erlang-questions You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||