erlog
erlog copied to clipboard
error in erlog_io:read/2 in OTP 22
I just found a bug that cause erlog repl fail which the following error:
| ?- write('Hello World').
*** ERROR: Shell process terminated! (^G to start new job) ***
=ERROR REPORT==== 16-Oct-2019::15:00:00.684960 ===
Error in process <0.77.0> with exit value:
{{case_clause,{error,tokens}},
[{erlog_io,read,2,[{file,"src/erlog_io.erl"},{line,101}]},
{erlog_shell,server_loop,1,[{file,"src/erlog_shell.erl"},{line,42}]}]}
Sorry I don't get this error error at all.
| ?- write('Hello World').
Hello WorldYes
| ?-
I tried with both the master branch and the develop branch. Which version of Erlog are you using and on which OS?
Sorry for the late reply. I'm using Erlang/OTP 22 [erts-10.5.5] on both MacOS 10.15.1 and FreeBSD 12.1. The same error occurs on both OS. I thought the problem might be too much apps in ERL_LIBS path, so I tried to disable ERL_LIBS variable, but the error still there.