-
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 #208
Comments
Same issue, different cause: I randomly chose "Language Idris: Make with" just to see what it does. |
Is this reproducible when you stop and restart Atom? If no, my guess would
be that reconfiguring the keyboard settings somehow "refreshed" atom and
the connection to the idris process was somehow lost. The follow up error
code 1 is just a consequence of this.. I could at least reproduce the
plus_assoc example without a problem.
Am So., 2. Sep. 2018 um 22:56 Uhr schrieb Buck Evan <
[email protected]>:
… Same issue, different cause: I randomly chose "Language Idris: Make with"
just to see what it does.
Atom reported that the interpreter crashed with code 1 (but what was the
error message?) and subsequent operations report the above Uncaught
socket-closed error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAX75PRIVYUpvuxPTr_4OMaMCEZTIL3iks5uXEXtgaJpZM4WWu-A>
.
|
Yes, in comment-2 I show that the error recurred after restart. The "make with" crash reproduced just now, but didn't after I restarted. |
This makes me believe that you did maybe never set the path in the
settings of the idris plugin.
The REDMAE can be impoprived here: The package should work after
installation. The only thing you might need to set is the path to the
idris executable in the config of this package. If it doesn't work
it's probably a bug.
And a Developer Console is available via CMD-Alt-I (on Mac OS X) -
this might be Ctl-Alt-I or Ctrl-Shift-I on ubuntu.
Am Mo., 3. Sep. 2018 um 02:17 Uhr schrieb Buck Evan <[email protected]>:
…
Yes, in comment-2 I show that the error recurred after restart.
Not exactly a reproduction though...
The "make with" crash reproduced just now, but didn't after I restarted.
Are there any logs I can collect / enable?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@justjoheinz Idris was already on the $PATH so the default setting (just I do recall seeing something to the effect of "it should work, perhaps after setting the path to idris" in some part of the documentation, so that bit's good enough, for me at least. I wasn't able to get any variation of |
Ah, it's |
It seems to crash pretty reliably if I put my cursor on the last (empty) line of this script, then "idris: find holes" and then "idris: make with".
Also, I captured a log of the described crash: atom-idris-crash.log |
@bukzor thanks for the detailed steps to reproduce. I will fix this in Atom but the problem originates in idris itself. As for the with clauses -have a look at http://docs.idris-lang.org/en/latest/tutorial/views.html to understand how they are used. |
Ah I see this is the fix, rather than the PR that's linked above: c98aabd But isn't there an additional bug wherein atom-idris fails to restart idris when it crashes? |
Yes, that is true, we still fail to restart idris. And sorry for linking
wrong PRs, I had som many changes in a branch and had a good time this
Friday to fix some long outstanding issues, that I mangled up some numbers
probably.
Am So., 9. Sep. 2018 um 01:37 Uhr schrieb Buck Evan <
[email protected]>:
… Ah I see this is the fix, rather than the PR that's linked above: c98aabd
<c98aabd>
But isn't there an additional bug wherein atom-idris fails to restart
idris when it crashes?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAX75HA8me5E4g28uZ1KDSb-szuE3F1Zks5uZFSygaJpZM4WWu-A>
.
|
No problem! I just got a little confused. |
Atom says this issue was already reported, but the ticket it gives (#51) was closed years ago.
Idris: 1.3.0
Atom: 1.30.0 x64
Electron: 2.0.5
OS: Ubuntu 18.04.1
Thrown From: language-idris package 0.4.10
Stack Trace
Uncaught Error: This socket has been ended by the other party
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: