Error when starting
Closed this issue · 4 comments
I'm on Linux Mint 15, and when I run kjell it gives me this error. I get the same error whether I run it from zsh or bash.
Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:8:8] [async-threads:0] [kernel-poll:false]
^[[1;37mKjell v.0.2.2
^[[0m*** ERROR: Shell process terminated! (^G to start new job) ***
=ERROR REPORT==== 24-Jun-2014::23:24:16 ===
Error in process <0.36.0> with exit value: {undef,[{io_lib,format_prompt,[[27,91,51,50,109,27,91,49,75,27,91,48,68,49,62,32,27,91,48,109],unicode],[]},{k_group,prompt_bytes,2,[{file,"src/k_group.erl"},{line,856}]},{k_group,get_chars,7,[{file,"src/k_group.erl"},{line,467}]},{k_group,io_request,5,[{file,"src/k_g...
The line that the error is referencing is:
prompt_bytes(Prompt, Encoding) ->
lists:flatten(io_lib:format_prompt(Prompt, Encoding)).
I swapped no_debug_info with debug_info in the rebar.config and got a slightly longer error report.
Error in process <0.34.0> with exit value: {undef,[{io_lib,format_prompt,[[27,91,51,50,109,27,91,49,75,27,91,48,68,49,62,32,27,91,48,109],unicode],[]},{k_group,prompt_bytes,2,[{file,"src/k_group.erl"},{line,856}]},{k_group,get_chars,7,[{file,"src/k_group.erl"},{line,467}]},{k_group,io_request,5,[{file,"src/k_g...
line 467 the second line of
get_chars(Prompt, M, F, Xa, Drv, Buf, Encoding) ->
Pbs = prompt_bytes(Prompt, Encoding),
get_chars_loop(Pbs, M, F, Xa, Drv, Buf, start, Encoding).
I don't really know erlang yet, so my troubleshooting fu is kind of weak at the moment, but I figured I post this for reference any ways.
Edit: I double-checked, and the error is not in fact longer. My bad. 😕
Hi!
Thanks for the feedback! I see that you're using Erlang R15B01, could you try with R16B01 or later?
Phew! That was an ordeal to figure out how to remove the old release, but now I'm on R17 and I'm lovin' those green integers! Thanks for pointing me in the right direction. 😃
Great!