-
Notifications
You must be signed in to change notification settings - Fork 22
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
Uncaught Error: This socket has been ended by the other party #51
Comments
I just ran
This is against Idris version |
Thanks for reporting this. How about:
I don't think it makes sense to restart instantly because it is very probable that it will just crash again. This way you can make your changes to the file and then use a command. |
In the Emacs mode, Idris is always started as a side effect of a user-issued command, such as "case split this" or "type check this". If it fails to start, or crashes, then the command fails and gives the user an error message. If Idris has crashed, then the next command will attempt to restart it, but it won't get stuck in a loop of repeatedly starting Idris. |
This was what I tried to explain :) |
For what it's worth, this is how Slime and friends work as well. |
So it sounds like the decision was:
This means that each user interaction is effectively a restart attempt if the process has exited. In IRC, davidwlewis reports that sometimes idris starts eating 100% CPU, so they'd like to be able to restart/kill the process from Atom. This suggests that we might actually want a terminate process command, as well. |
That's how it works in Emacs. It's been fairly effective. Emacs also has an |
first draft here: #54 |
this is now in v0.2.5 |
I'm getting crashes ( idris 0.11, language-idris 0.4..4 ) but they link me to this issue saying it has already been reported. Who do I believe? |
could you describe your issue? |
I'm not finding any crash report for the idris executable.
I have no idea how to try to restart the connection short of relaunching the entire editor. Suggestions:
Atom Version: 1.0.5
System: Mac OS X 10.10.4
Thrown From: language-idris package, v0.2.4
Stack Trace
Uncaught Error: This socket has been ended by the other party
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: