svls icon indicating copy to clipboard operation
svls copied to clipboard

VS Code Connection to server got closed. Server will not be restarted.

Open swapnil823 opened this issue 4 years ago • 7 comments

I am getting following prompt with vscode.

[Info  - 6:11:50 pm] Connection to server got closed. Server will restart.
[Error - 6:11:50 pm] Connection to server got closed. Server will not be restarted.

$ svls --version
svls 0.1.25

svls is in path, I tried launching vs code with the shell that could run svls without any issues.

swapnil823 avatar Mar 06 '21 12:03 swapnil823

Could you show the stack trace? I think it will be logged by Help -> Toggle developer tools.

dalance avatar Mar 07 '21 13:03 dalance

Here is the trace.

workbench.desktop.main.js:731 The SystemVerilog language server server crashed 5 times in the last 3 minutes. The server will not be restarted.
onDidChangeNotification @ workbench.desktop.main.js:731
(anonymous) @ workbench.desktop.main.js:731
fire @ workbench.desktop.main.js:57
addNotification @ workbench.desktop.main.js:733
notify @ workbench.desktop.main.js:1725
(anonymous) @ workbench.desktop.main.js:1680
_showMessage @ workbench.desktop.main.js:1680
$showMessage @ workbench.desktop.main.js:1680
_doInvokeHandler @ workbench.desktop.main.js:1687
_invokeHandler @ workbench.desktop.main.js:1687
_receiveRequest @ workbench.desktop.main.js:1687
_receiveOneMessage @ workbench.desktop.main.js:1687
(anonymous) @ workbench.desktop.main.js:1687
fire @ workbench.desktop.main.js:57
fire @ workbench.desktop.main.js:76
_receiveMessage @ workbench.desktop.main.js:76
(anonymous) @ workbench.desktop.main.js:76
fire @ workbench.desktop.main.js:57
acceptChunk @ workbench.desktop.main.js:76
(anonymous) @ workbench.desktop.main.js:76
I @ workbench.desktop.main.js:2760
emit @ events.js:315
addChunk @ _stream_readable.js:295
readableAddChunk @ _stream_readable.js:271
Readable.push @ _stream_readable.js:212
onStreamRead @ internal/stream_base_commons.js:186

swapnil823 avatar Mar 07 '21 13:03 swapnil823

Thanks. I can't reproduce this issue yet. Does this issue happen always? Otherwise the specific source code? Could you tell me your platform?

dalance avatar Mar 08 '21 13:03 dalance

Yes, This issue is persistent. I am using lubuntu.

uname -a
Linux  5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
code --version
1.54.3
svls-code 0.0.1

swapnil823 avatar Mar 16 '21 13:03 swapnil823

I had the same problem, I installed svls using snap when I installed it via cargo it worked just fine

ka98 avatar Aug 31 '22 19:08 ka98

@ka98 @swapnil823 Have you figured out what your issue was? Or found an acceptable workaround?

DaveMcEwan avatar Nov 21 '22 16:11 DaveMcEwan

As I already mentioned I just used cargo to install the package, for some reason snap seems to lack a dependency but I didn't do any further troubleshooting 😄

ka98 avatar Nov 22 '22 10:11 ka98