You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to use hamler 0.5 (installed via hamler_0.5_amd64.deb, using erlang/otp 24) for my project.
I just wanted to let you know that it seems like the problem I mentioned in "module could not be loaded" (Curry) in GenServer example" #448 still exists. I basically get the same error, which can be resolved by building hamler from source:
{"init terminating in do_boot",{undef,[{'Control.Behaviour.GenServer',initOk,[{'State',20}],[]},{'Server',start,0,[]},{'Main',main,0,[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,680}]},{erl_eval,expr,5,[{file,"erl_eval.erl"},{line,428}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{Control.Behaviour.GenServer,initOk,[{}],[]},{Server,start,0,[]},{Main,main,0,[]},{erl_eval,do_apply,6,[{},{}]},{erl_eval,expr,5,[{},{_}]},{init,start_it,1,[]}
Crash dump is being written to: erl_crash.dump...done
hamler:
Ran commands:
erl -pa /home/qgo/hamler_curry_bug/ebin -noshell -eval io:setopts([{encoding, unicode}]), ('Main':main())() -s init stop
which erl
Exception: error running: erl -pa /home/qgo/hamler_curry_bug/ebin -noshell -eval io:setopts([{encoding, unicode}]), ('Main':main())() -s init stop
exit status: 1
stderr: init terminating in do_boot ({undef,[{Control.Behaviour.GenServer,initOk,[{}],[]},{Server,start,0,[]},{Main,main,0,[]},{erl_eval,do_apply,6,[{},{}]},{erl_eval,expr,5,[{},{_}]},{init,start_it,1,[]}
I also tested this with a fresh kubuntu 21.10 installation in a vm. After building from source (GHCup, erlang/otp 23) the error disappeared there as well.
I just tried to use hamler 0.5 (installed via hamler_0.5_amd64.deb, using erlang/otp 24) for my project.
I just wanted to let you know that it seems like the problem I mentioned in "module could not be loaded" (Curry) in GenServer example" #448 still exists. I basically get the same error, which can be resolved by building hamler from source:
I also tested this with a fresh kubuntu 21.10 installation in a vm. After building from source (GHCup, erlang/otp 23) the error disappeared there as well.
I used this code for testing.
The text was updated successfully, but these errors were encountered: