[erlang-questions] Strange module loading issue

Håkan Mattsson <>
Tue Feb 7 15:00:15 CET 2012


It seems like you are running the system in embedded mode.
See the man-page for code.

/Håkan

On Tue, Feb 7, 2012 at 14:55, Adam Rutkowski <> wrote:
> Hey List,
>
> ()1> dynx_sms:send("666", "bah").
> ** exception error: undefined function dynx_sms:send/2
> ()2> l(dynx_sms).
> {module,dynx_sms}
> ()3> dynx_sms:send("666", "bah").
> 14:09:16.272 [info] Sending "bah" to "666"
>
> Can someone explain me this behaviour?
>
> Some additional information:
>
> 1. This a rebar generated release, running on RH5 with R14B03
> 2. The module dynx_sms is listed within the app file (triple-checked now)
> 3. I have bunch of other dynx_* modules that load automatically with no issue
> 4. The issue reproduces on application restart, crashing with 'module cannot be loaded' reason (after a call from another module). Loading the module manually solves the problem.
>
> Would appreciate your thoughts on this.
> Thanks
> --
> AR
>
>
>
>
>
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list