Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in erlog_io:read/2 in OTP 22 #59

Open
lin7sh opened this issue Oct 16, 2019 · 2 comments
Open

error in erlog_io:read/2 in OTP 22 #59

lin7sh opened this issue Oct 16, 2019 · 2 comments

Comments

@lin7sh
Copy link

lin7sh commented Oct 16, 2019

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}]}]}
@rvirding
Copy link
Owner

rvirding commented Nov 19, 2019

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?

@lin7sh
Copy link
Author

lin7sh commented Nov 27, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants