Open ikeshel opened 9 months ago
Is there a workaround for this error?
Is there a workaround for this error?
I don't think so, unfortunately. I tried with latest Debian too and also there the same error...
src/ch_utils.erl:none: error in parse transform 'lager_transform': exception error: bad argument in function integer_to_list/1 called as integer_to_list({65,14}) *** argument 1: not an integer in call from lager_transform:make_varname/2 (src/lager_transform.erl, line 241) in call from lager_transform:do_transform/5 (src/lager_transform.erl, line 180)
Any possible workaround or update for this issue?
I tried fixing this for Debian 12 and the following seems to work. Update the erlang dependencies in controlhub/rebar.config
{deps, [
{lager, "3\.9\.2", {git, "https://github.com/erlang-lager/lager.git", {tag, "3.9.2"}}},
{syslog, "1\.0\.5", {git, "https://github.com/Vagabond/erlang-syslog.git", {tag, "1.0.5"}}},
{lager_syslog, "2\.1\.2", {git, "https://github.com/erlang-lager/lager_syslog.git", {tag, "3.0.3"}}}
]}.
Apart from a later problem with the python bindings, this works for me on multiple devices. I have no experience with erlang, this was just a brute-force fix.
Cold you please advice how to proceed?