[erlang-questions] escript: exception error: undefined function etap:plan/1

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Fri Dec 15 16:02:20 CET 2017

The function `etap:plan/1` doesn't exist. In this case the error report is
a bit off, since it is more likely that the module `etap` doesn't exist.
What is likely to be wrong is that the -pa execution you set doesn't
include a path to a module named `etap` and this then makes the escript you
are trying to run exit with an exception. Try searching for that module
(etap.erl) and make sure it's compiled form (etap.beam) is part of the -pa

On Fri, Dec 15, 2017 at 12:08 PM Meghali Dhoble <dhoblem@REDACTED> wrote:

> Hi,
> I am working one of the opensource project and trying to build it from
> source.
> Erlang is also being built for this as one of the dependency and while
> running the integrated tests for it; I am getting this error.
> The version of Erlang being used. : Erlang/OTP 17 [erts-6.3]
> The detailed log is as below:
> ERL_FLAGS="-pa
> /root/meghali/couchbase_master/build/couchdb/src/../test/etap
> /root/meghali/couchbase_master/build/couchdb/src/couch_set_view/test
> /root/meghali/couchbase_master/build/couchdb/src/couchdb
> /root/meghali/couchbase_master/build/couchdb/src/lhttpc
> /root/meghali/couchbase_master/build/couchdb/src/CMakeFiles
> /root/meghali/couchbase_master/build/couchdb/src/couch_set_view"
> escript: exception error: undefined function etap:plan/1
> in function erl_eval:do_apply/6 (erl_eval.erl, line 657)
> in call from escript:eval_exprs/5 (escript.erl, line 865)
> in call from erl_eval:local_func/5 (erl_eval.erl, line 544)
> in call from escript:interpret/4 (escript.erl, line 781)
> in call from escript:start/1 (escript.erl, line 276)
> in call from init:start_it/1
> in call from init:start_em/1
> Any pointers to understand when should I expect this error or if I have
> missed something.
> Thanks,
> Meghali Dhoble
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171215/dddb077f/attachment.htm>

More information about the erlang-questions mailing list