[erlang-questions] No crypto:module_info/0,1

Leo Liu sdl.web@REDACTED
Wed Jun 3 11:36:48 CEST 2015


On 2015-06-03 16:32 +0800, Hynek Vychodil wrote:
> 2> crypto:module_info().
> [{exports,[{version,0},
>            {stop,0},
>            {supports,0},
>            {info_lib,0},
>            {hash,2},
>            ...

On 2015-06-03 16:32 +0800, Loïc Hoguin wrote:
> They exist here. In the shell, m(crypto). doesn't work for you?

Thanks for the confirmation. I have a node somehow missing this.

Erlang/OTP 18 [RELEASE CANDIDATE 2] [erts-7.0] [source-23501295]
[64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe]
[kernel-poll:false]

m(crypto) prints

** exception error: undefined function crypto:module_info/0
     in function  c:m/1 (c.erl, line 509)

But I can't reproduce this in a newly-started node.

Leo




More information about the erlang-questions mailing list