Seems the epp module can no longer read beam files?

1 view
Skip to first unread message

Steve Davis

unread,
Jul 23, 2021, 8:21:28 PMJul 23
to erlang-q...@erlang.org
1> epp:parse_file("base64.beam", []).
{ok,[{attribute,1,file,{"base64.beam",1}},
     {error,{1,file_io_server,invalid_unicode}},
     {error,{1,epp,cannot_parse}},
     {eof,1}]}

Steve Davis

unread,
Jul 24, 2021, 10:06:35 AMJul 24
to Łukasz Niemier, erlang-q...@erlang.org

Thank you for the response. You are of course correct. I got confused by a module I wrote ages ago and didn’t do my homework - my bad!

> On Jul 24, 2021, at 2:08 AM, Łukasz Niemier <luk...@niemier.pl> wrote:
>
> It could read them in the past? That meant it was buggy in the past as `epp` is meant for text `.erl` files, not binary `.beam` files.
>
> --
> Łukasz Jan Niemier
Reply all
Reply to author
Forward
0 new messages