-
Notifications
You must be signed in to change notification settings - Fork 205
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: Connection got disposed #430
Comments
This bug just popped up for me as well. OS:
VScode info:
VScode Julia extension v0.9.1 log available in this gist |
Same here:
VSCode:
Extension v0.9.1 Log is basically the same, let me know if you need it. This seems to be happening whenever I alt+enter and there is an error in my block i.e. missed parentheses or something like that. Sometimes it also just happens while parsing new files, not sure if it's related to the first case. |
Anyone know a workaround for this? It only started recently, and it's very distracting. Also, I don't know if this is related, but the handy latex unicode completion stopped working around the same time. It works fine in the REPL (which maybe isn't controlled by this plugin?) but not in the editor. |
No workaround, I’m afraid. This is a bug that crashes the language server, and that also explains why the latex completion stop working. We are adding crash reporting to the next release that should make it easier for us to identify and fix such bugs. |
This is happening on my portable device. The funny thing is it happens on files (stored in onedrive) that open without problems on my desktop so I believe it is an install/machine based and not a source based problem. Also the files I am running it on are not very complex one has one line of julia code and the other is a two page .jmd file with three chunks in it. The problem also is persistent through uninstalling and re-installing the julia extension. If I have time today I will look at this a bit more and see if I can dig up the root cause. |
There's a check for file permissions that I've added which may help with this, could you try again when the beta is released? |
Sure. It is easy enough to turn files on demand back on. |
Beta is now out: https://discourse.julialang.org/t/vs-code-extension-v0-10-0-beta-release/8497. Would be great if you could try again! |
Still crashes, I submitted crash reports. |
@davidanthoff For me it works intermittently. Seems to take a bit to load, after which code completion and latex work for a while. Then there was a crash message, but it didn't fill my terminal with log output as it had before. I clicked to submit my information as well. Thank you for your work on this! VS code is great, and I think this can have a big impact for Julia users. |
I get a similar error on Linux without OneDrive.
Output:
|
Did it offer you an option to send a crash report? That would be the most helpful in a case like this. |
Yes, you should have received ~30 or more crash reports, since I've restarted vscode several times. |
Thanks! |
the beta cannot be downloaded because of version problems. Here are the errors: |
You are trying to download a way outdated beta version. Just try to install the extension from the marketplace inside VS Code, and you'll get a newer version. |
I'm going to close this issue. If there are still problems, please open a new issue. |
OS INFO
Edition Windows 10 Enterprise
Version 1709
OS Build 16299.125
Julia-vscode version:
0.8.1 (also reproduce on 0.9.0-beta1)
I assume the main reason is that, my project folder has a symlink to a folder in OneDrive.
I create a new folder and the error disappears.
After searching for related issues, I find the following discussions:
JuliaLang/julia#24483
I'm not very sure about the relationship between the following error and the about issue.
May it be useful for debugging.
The text was updated successfully, but these errors were encountered: