-
Notifications
You must be signed in to change notification settings - Fork 7
Silently crashes but keeps the VM running on stable SDK #20
Comments
That's not a request that should be sent to the language server. Looks like something within neovim or the plugin? I'm guessing some kind of client/server architecture within the editor.
Not sure what kind of timeout would exist, is this timing out while trying to start the process maybe? You might want to ask for help from the plugin authors narrowing in on the error as it relates to the Some stuff you can do to verify outside of the plugin:
I know that I've had problems in the past where if I change my Dart SDK I need to |
Sorry for reply so late.
This is thrown by LanguageClient-neovim,because I start client service twice. I try to run |
If it appears to hang it's probably working correctly. It waits until it sees input in the right format before sending any output. If you download this file and run the server like Taking another look at the errors I see that the timeout is regarding a call with a sensible method: Perhaps you can ask for help from the plugin authors with getting more information here on whether and how something with |
Interesting. Next things to check:
|
|
Ah, bitten by dart-lang/sdk#30761 I am able to repro this on the 1.24.3 SDK. I probably made a mistake claiming to support the 1.24 SDK since I'm using the new function syntax (which should work but doesn't). I will need some changes in note to self - when diagnosing issues remember to check /tmp/lsp-error.log since it was obvious once I remembered to look there. |
@PangPangPangPangPang - I was able to get this running with the 1.24.3 SDK using version 0.1.5+1 Can you please |
Hello, I updated dart_language_server to 0.1.5+ and got this log.
|
Hmm, it looks like maybe the client you are using is sending I published 0.1.5+2 which I think should handle this. |
Thx! All the features work fine! |
Thx for your work.
It works fine with my mac,but I get a 'timeout' error in my Manjaro desktop.
The followings are the log throwed by LanguageClient-neovim.
2018-01-02T22:49:37.738955633+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 17, "jsonrpc": "2.0", "method": "languageClient/startServer", "params": {"cmdargs": [], "languageId": "dart", "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(ErrorMessage { msg: "Language client has already started for language dart." })
2018-01-02T22:50:18.000177297+08:00 WARN languageclient::languageclient - timed out waiting on channel
2018-01-02T22:50:18.931421363+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 1, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 6, "handle": true, "languageId": "dart", "line": 2, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:19.082985606+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 2, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 6, "handle": true, "languageId": "dart", "line": 2, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:19.225805287+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 3, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 6, "handle": true, "languageId": "dart", "line": 2, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:19.906160190+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 4, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 25, "handle": true, "languageId": "dart", "line": 2, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:20.050025580+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 5, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 25, "handle": true, "languageId": "dart", "line": 2, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:20.194509349+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 6, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 25, "handle": true, "languageId": "dart", "line": 2, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:20.330020405+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 7, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 25, "handle": true, "languageId": "dart", "line": 2, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:21.899436921+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 8, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 25, "handle": true, "languageId": "dart", "line": 8, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:22.051085845+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 9, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 25, "handle": true, "languageId": "dart", "line": 8, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:22.210625306+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 10, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 25, "handle": true, "languageId": "dart", "line": 8, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:23.370028077+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 11, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 40, "handle": true, "languageId": "dart", "line": 8, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:23.521750794+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 12, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 40, "handle": true, "languageId": "dart", "line": 8, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:23.666274836+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 13, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 40, "handle": true, "languageId": "dart", "line": 8, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:24.834615024+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 14, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 40, "handle": true, "languageId": "dart", "line": 11, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:24.978162073+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 15, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 40, "handle": true, "languageId": "dart", "line": 11, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
2018-01-02T22:50:25.139964124+08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 16, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"character": 40, "handle": true, "languageId": "dart", "line": 11, "buftype": "", "filename": "/home/max/v2ex-flutter/lib/detail.dart"}}. Error: Err(Timeout)
The text was updated successfully, but these errors were encountered: