[erlang-questions] Trouble with OTP

Matthias Lang matthias@REDACTED
Fri Jul 4 23:20:12 CEST 2008


On Friday, July 04, Tom Ayerst wrote:

> I am running Kevin Smith's Mochiweb OTP example (
> http://weblog.hypotheticalabs.com/?p=226) but I cannot get it to start.
> Could anyone give me some hints on interpreting the error messages?  I am
> running it on Windows.  I am not very familiar with debugging OTP yet.

I know nothing about mochiweb specifically, but

>                          {'EXIT',
>                              {undef,
>                                  [{mime_typer_app,start,[normal,[]]},
>                                   {application_master,start_it_old,4}]}}}}

this means that the function mime_typer_app:start(normal, []) couldn't
be called.

Without knowing anything about your level of experience, my
stab-in-the-dark guess would be that you haven't compiled the code.

Another likely reason would be a broken code path. Try

  code:get_path().

A less likely but possible reason is that you can't compile the code
because of a broken or outdated erlang install.

Matt



More information about the erlang-questions mailing list