Coder Social home page Coder Social logo

Comments (11)

bstaletic avatar bstaletic commented on June 20, 2024

https://gist.github.com/airglow923/def642bffafb6b4bd42ec760fce3718e#file-ycm-core-lsp-examples-issue-log-3-L19

You should recompile YCM.

https://gist.github.com/airglow923/def642bffafb6b4bd42ec760fce3718e#file-ycm-core-lsp-examples-issue-log-3-L47

The server died.

https://gist.github.com/airglow923/4e4a0a686d66fefb88f5d59714f879ab#file-ycm-core-lsp-examples-issue-log-1-L5

For that reason.

For further debugging, turn on debug logs.

from lsp-examples.

airglow923 avatar airglow923 commented on June 20, 2024

Recompilation did not solve the issue. libclang.so.11 does exist in YouCompleteMe/third_party/ycmd/third_party/clang/lib/libclang.so.11. Can it be a linking problem?

from lsp-examples.

bstaletic avatar bstaletic commented on June 20, 2024

Remove that files and recompile without --clang-completer.

from lsp-examples.

airglow923 avatar airglow923 commented on June 20, 2024

Installed with:

./install.py --clangd-completer

The libclang.so.11 error is now gone, but the r [Error]: Method not found for vue still persists.

Output of ycmd stderr:

2021-02-27 00:40:57,685 - INFO - Completion config: 50, detailing -1 candiates
2021-02-27 00:40:57,685 - INFO - Completion config: 50, detailing -1 candiates
2021-02-27 00:40:57,686 - INFO - Completion config: 50, detailing -1 candiates
2021-02-27 00:40:57,686 - INFO - Completion config: 50, detailing -1 candiates
2021-02-27 00:40:57,729 - INFO - Received ready request
2021-02-27 00:40:57,744 - INFO - Received signature help available request
2021-02-27 00:40:57,746 - INFO - Completion config: 50, detailing -1 candiates
2021-02-27 00:40:57,754 - INFO - Received event notification
2021-02-27 00:40:57,760 - INFO - Received event notification
2021-02-27 00:40:57,761 - INFO - Adding buffer identifiers for file: /home/hyundeok/Programming/JavaScript/rest-api-example/js/client/src/components/UserList.vue
2021-02-27 00:40:57,764 - INFO - Starting vueCompleter: ['/home/hyundeok/git/lsp-examples/vue/node_modules/.bin/vls']
2021-02-27 00:40:57,781 - INFO - vueCompleter started with PID 10037
2021-02-27 00:40:57,858 - INFO - Received filetype completion available request
2021-02-27 00:40:59,175 - INFO - None: Language server requires resolve request
2021-02-27 00:40:59,176 - INFO - None: Language server requires sync type of Incremental
2021-02-27 00:40:59,176 - INFO - vue: Using trigger characters for semantic triggers: .,:,<,",',/,@,*, 
2021-02-27 00:40:59,176 - INFO - vue: Using characters for signature triggers: (
2021-02-27 00:40:59,766 - ERROR - The language server communication channel closed unexpectedly. Issue a RestartServer command to recover.
Traceback (most recent call last):
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 363, in run
    self._ReadMessages()
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 482, in _ReadMessages
    data, read_bytes, headers = self._ReadHeaders( data )
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 546, in _ReadHeaders
    data = self.ReadData()
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 744, in ReadData
    raise RuntimeError( "Connection to server died" )
RuntimeError: Connection to server died
2021-02-27 00:41:01,611 - INFO - Received defined subcommands request
2021-02-27 00:41:01,612 - INFO - Found executeCommandProvider support for command ExecuteCommand in vue
2021-02-27 00:41:01,612 - INFO - Found codeActionProvider support for command FixIt in vue
2021-02-27 00:41:01,612 - INFO - Found definitionProvider support for command GoToDefinition in vue
2021-02-27 00:41:01,612 - INFO - Found definitionProvider support for command GoToDeclaration in vue
2021-02-27 00:41:01,613 - INFO - Found definitionProvider support for command GoTo in vue
2021-02-27 00:41:01,613 - INFO - No support for GoToType command in server for vue
2021-02-27 00:41:01,613 - INFO - No support for GoToImplementation command in server for vue
2021-02-27 00:41:01,613 - INFO - Found referencesProvider support for command GoToReferences in vue
2021-02-27 00:41:01,613 - INFO - No support for RefactorRename command in server for vue
2021-02-27 00:41:01,613 - INFO - No support for Format command in server for vue
2021-02-27 00:41:01,613 - INFO - No support for GoToSymbol command in server for vue
2021-02-27 00:41:01,613 - INFO - Always supporting StopServer for vue
2021-02-27 00:41:01,613 - INFO - Always supporting RestartServer for vue
2021-02-27 00:41:01,614 - INFO - Always supporting GetHover for vue
2021-02-27 00:41:01,623 - INFO - Received command request
2021-02-27 00:41:01,623 - INFO - Found executeCommandProvider support for command ExecuteCommand in vue
2021-02-27 00:41:01,623 - INFO - Found codeActionProvider support for command FixIt in vue
2021-02-27 00:41:01,623 - INFO - Found definitionProvider support for command GoToDefinition in vue
2021-02-27 00:41:01,624 - INFO - Found definitionProvider support for command GoToDeclaration in vue
2021-02-27 00:41:01,624 - INFO - Found definitionProvider support for command GoTo in vue
2021-02-27 00:41:01,624 - INFO - No support for GoToType command in server for vue
2021-02-27 00:41:01,624 - INFO - No support for GoToImplementation command in server for vue
2021-02-27 00:41:01,624 - INFO - Found referencesProvider support for command GoToReferences in vue
2021-02-27 00:41:01,624 - INFO - No support for RefactorRename command in server for vue
2021-02-27 00:41:01,624 - INFO - No support for Format command in server for vue
2021-02-27 00:41:01,624 - INFO - No support for GoToSymbol command in server for vue
2021-02-27 00:41:01,624 - INFO - Always supporting StopServer for vue
2021-02-27 00:41:01,625 - INFO - Always supporting RestartServer for vue
2021-02-27 00:41:01,625 - INFO - Always supporting GetHover for vue
Traceback (most recent call last):
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/bottle/bottle.py", line 868, in _handle
    return route.call(**args)
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/bottle/bottle.py", line 1748, in wrapper
    rv = callback(*a, **ka)
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/watchdog_plugin.py", line 97, in wrapper
    return callback( *args, **kwargs )
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/hmac_plugin.py", line 62, in wrapper
    body = callback( *args, **kwargs )
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/handlers.py", line 94, in RunCompleterCommand
    return _JsonResponse( completer.OnUserCommand(
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/completer.py", line 472, in OnUserCommand
    return command( self, request_data, arguments[ 1: ] )
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/generic_lsp_completer.py", line 70, in <lambda>
    self._GetHover( request_data ) }
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/generic_lsp_completer.py", line 74, in _GetHover
    raw_hover = self.GetHoverResponse( request_data )
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 2330, in GetHoverResponse
    raise RuntimeError( 'Server is initializing. Please wait.' )
RuntimeError: Server is initializing. Please wait.
2021-02-27 00:41:05,829 - INFO - Received command request
2021-02-27 00:41:05,829 - INFO - Found executeCommandProvider support for command ExecuteCommand in vue
2021-02-27 00:41:05,829 - INFO - Found codeActionProvider support for command FixIt in vue
2021-02-27 00:41:05,829 - INFO - Found definitionProvider support for command GoToDefinition in vue
2021-02-27 00:41:05,830 - INFO - Found definitionProvider support for command GoToDeclaration in vue
2021-02-27 00:41:05,830 - INFO - Found definitionProvider support for command GoTo in vue
2021-02-27 00:41:05,830 - INFO - No support for GoToType command in server for vue
2021-02-27 00:41:05,830 - INFO - No support for GoToImplementation command in server for vue
2021-02-27 00:41:05,830 - INFO - Found referencesProvider support for command GoToReferences in vue
2021-02-27 00:41:05,830 - INFO - No support for RefactorRename command in server for vue
2021-02-27 00:41:05,830 - INFO - No support for Format command in server for vue
2021-02-27 00:41:05,830 - INFO - No support for GoToSymbol command in server for vue
2021-02-27 00:41:05,830 - INFO - Always supporting StopServer for vue
2021-02-27 00:41:05,830 - INFO - Always supporting RestartServer for vue
2021-02-27 00:41:05,830 - INFO - Always supporting GetHover for vue
Traceback (most recent call last):
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/bottle/bottle.py", line 868, in _handle
    return route.call(**args)
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/bottle/bottle.py", line 1748, in wrapper
    rv = callback(*a, **ka)
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/watchdog_plugin.py", line 97, in wrapper
    return callback( *args, **kwargs )
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/hmac_plugin.py", line 62, in wrapper
    body = callback( *args, **kwargs )
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/handlers.py", line 94, in RunCompleterCommand
    return _JsonResponse( completer.OnUserCommand(
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/completer.py", line 472, in OnUserCommand
    return command( self, request_data, arguments[ 1: ] )
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/generic_lsp_completer.py", line 70, in <lambda>
    self._GetHover( request_data ) }
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/generic_lsp_completer.py", line 74, in _GetHover
    raw_hover = self.GetHoverResponse( request_data )
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 2330, in GetHoverResponse
    raise RuntimeError( 'Server is initializing. Please wait.' )
RuntimeError: Server is initializing. Please wait.
2021-02-27 00:41:17,526 - INFO - Received debug info request
2021-02-27 00:44:47,684 - INFO - Received health request
2021-02-27 00:50:13,477 - INFO - Received debug info request

from lsp-examples.

bstaletic avatar bstaletic commented on June 20, 2024

Like I said, you'll need to set g:ycm_log_level to 'debug' to make the logs useful.

from lsp-examples.

puremourning avatar puremourning commented on June 20, 2024

from lsp-examples.

airglow923 avatar airglow923 commented on June 20, 2024

Output of ycmd stderr after setting g:ycm_log_level to debug:

2021-02-27 09:37:16,204 - DEBUG - Global extra conf not loaded or no function YcmCorePreload
2021-02-27 09:37:16,233 - INFO - Completion config: 50, detailing -1 candiates
2021-02-27 09:37:16,233 - INFO - Completion config: 50, detailing -1 candiates
2021-02-27 09:37:16,233 - INFO - Completion config: 50, detailing -1 candiates
2021-02-27 09:37:16,234 - INFO - Completion config: 50, detailing -1 candiates
2021-02-27 09:37:16,312 - INFO - Received ready request
2021-02-27 09:37:16,327 - INFO - Received signature help available request
2021-02-27 09:37:16,329 - INFO - Completion config: 50, detailing -1 candiates
2021-02-27 09:37:16,345 - INFO - Received event notification
2021-02-27 09:37:16,346 - DEBUG - Event name: FileReadyToParse
2021-02-27 09:37:16,346 - INFO - Adding buffer identifiers for file: /home/hyundeok/Programming/JavaScript/rest-api-example/js/client/src/components/UserList.vue
2021-02-27 09:37:16,349 - INFO - Received event notification
2021-02-27 09:37:16,349 - DEBUG - Event name: BufferVisit
2021-02-27 09:37:16,355 - INFO - Starting vueCompleter: ['/home/hyundeok/git/lsp-examples/vue/node_modules/.bin/vls']
2021-02-27 09:37:16,369 - INFO - vueCompleter started with PID 11926
2021-02-27 09:37:16,370 - DEBUG - TX: Sending message: b'Content-Length: 1132\r\n\r\n{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["plaintext","markdown"]},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"contentFormat":["plaintext","markdown"]},"signatureHelp":{"signatureInformation":{"documentationFormat":["plaintext","markdown"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true}},"workspace":{"applyEdit":true,"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"workspaceEdit":{"documentChanges":true}}},"initializationOptions":{},"processId":11871,"rootPath":"/home/hyundeok/Programming/JavaScript/rest-api-example/js/client","rootUri":"file:///home/hyundeok/Programming/JavaScript/rest-api-example/js/client"}}'
2021-02-27 09:37:16,450 - INFO - Received filetype completion available request
2021-02-27 09:37:17,883 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"Vetur initialized"}}'
2021-02-27 09:37:17,884 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":2,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":true}},"completionProvider":{"resolveProvider":true,"triggerCharacters":[".",":","<","\\"","\'","/","@","*"," "]},"signatureHelpProvider":{"triggerCharacters":["("]},"documentFormattingProvider":false,"hoverProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentSymbolProvider":true,"definitionProvider":true,"referencesProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"],"resolveProvider":true},"colorProvider":true,"executeCommandProvider":{"commands":[]},"foldingRangeProvider":true}}}'
2021-02-27 09:37:17,884 - INFO - None: Language server requires resolve request
2021-02-27 09:37:17,884 - INFO - None: Language server requires sync type of Incremental
2021-02-27 09:37:17,885 - DEBUG - vue: Server declares trigger characters: ['.', ':', '<', '"', "'", '/', '@', '*', ' ']
2021-02-27 09:37:17,885 - INFO - vue: Using trigger characters for semantic triggers: .,:,<,",',/,@,*, 
2021-02-27 09:37:17,885 - DEBUG - vue: Server declares signature trigger characters: ['(']
2021-02-27 09:37:17,885 - INFO - vue: Using characters for signature triggers: (
2021-02-27 09:37:17,886 - DEBUG - TX: Sending notification: b'Content-Length: 52\r\n\r\n{"jsonrpc":"2.0","method":"initialized","params":{}}'
2021-02-27 09:37:17,886 - DEBUG - TX: Sending notification: b'Content-Length: 86\r\n\r\n{"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{}}}'
2021-02-27 09:37:17,886 - DEBUG - Refreshing file /home/hyundeok/Programming/JavaScript/rest-api-example/js/client/src/components/UserList.vue: State is Open/action Open
2021-02-27 09:37:17,887 - DEBUG - TX: Sending notification: b'Content-Length: 2996\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"vue","text":"<template>\\n    <input\\n      v-model=\\"title\\"\\n      type=\\"text\\"\\n      class=\\"form-control\\"\\n      placeholder=\\"Email\\"\\n    >\\n      <button\\n        class=\\"btn btn-outline-secondary\\"\\n        type=\\"button\\"\\n        @click=\\"searchByEmail\\"\\n      >\\n        Search\\n      </button>\\n  <h4>User List</h4>\\n  <ul class=\\"list-group\\">\\n    <li\\n      v-for=\\"(user, index) in users\\"\\n      :key=\\"index\\"\\n      class=\\"list-group-item\\"\\n      :class=\\"{ active: index == currentIndex }\\"\\n      @click=\\"setActiveUser(user, index)\\"\\n    >\\n      {{ user.email + \' | \' + user.password }}\\n    </li>\\n  </ul>\\n\\n  <button\\n    class=\\"m-3 btn btn-sm btn-danger\\"\\n    @click=\\"removeAllUsers\\"\\n  >\\n    Remove All\\n  </button>\\n  <div v-if=\\"currentUser\\">\\n    <h4>Tutorial</h4>\\n    <div>\\n      <label><strong>Title:</strong></label> {{ currentUser.title }}\\n    </div>\\n    <div>\\n      <label><strong>Description:</strong></label> {{ currentUser.description }}\\n    </div>\\n    <div>\\n      <label><strong>Status:</strong></label>\\n      {{ currentUser.published ? \\"Published\\" : \\"Pending\\" }}\\n    </div>\\n\\n    <a\\n      class=\\"badge badge-warning\\"\\n      :href=\\"\'/users/\' + currentUser.id\\"\\n    >\\n      Edit\\n    </a>\\n  </div>\\n  <div v-else>\\n    <br>\\n    <p>Please click on a user...</p>\\n  </div>\\n</template>\\n\\n<script>\\nimport UserDataService from \'../services/UserDataService\';\\nimport { Console } from \'../commons\';\\n\\nexport default {\\n  name: \'TutorialsList\',\\n  data() {\\n    return {\\n      users: [],\\n      currentUser: null,\\n      currentIndex: -1,\\n      email: \'\',\\n    };\\n  },\\n  mounted() {\\n    this.retrieveUsers();\\n  },\\n  methods: {\\n    retrieveUsers() {\\n      UserDataService.getAllUsers()\\n        .then((res) => {\\n          this.users = res.data;\\n        })\\n        .catch((e) => {\\n          Console.error(e);\\n        });\\n    },\\n\\n    refreshList() {\\n      this.retrieveUsers();\\n      this.currentUser = null;\\n      this.currentIndex = -1;\\n    },\\n\\n    setActiveUser(user, index) {\\n      this.currentUser = user;\\n      this.currentIndex = index;\\n    },\\n\\n    removeUser({ commit }) {\\n      UserDataService.unregisterByUser(this.currentUser)\\n        .then(() => {\\n          commit(\'DELETE_CURRENT_USER\');\\n        });\\n    },\\n\\n    removeAllUsers() {\\n      UserDataService.unregisterAll()\\n        .then(() => {\\n          this.refreshList();\\n        })\\n        .catch((e) => {\\n          Console.error(e);\\n        });\\n    },\\n\\n    searchByEmail() {\\n      UserDataService.search(this.email)\\n        .then((res) => {\\n          this.users = res.data;\\n        })\\n        .catch((e) => {\\n          Console.error(e);\\n        });\\n    },\\n  },\\n};\\n</script>\\n\\n<style>\\n</style>\\n","uri":"file:///home/hyundeok/Programming/JavaScript/rest-api-example/js/client/src/components/UserList.vue","version":1}}}'
2021-02-27 09:37:17,888 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":0,"method":"client/registerCapability","params":{"registrations":[{"id":"46261606-742c-40d6-bf28-139d620c6c73","method":"textDocument/formatting","registerOptions":{"documentSelector":[{"language":"vue"}]}}]}}'
2021-02-27 09:37:17,888 - DEBUG - TX: Sending response: b'Content-Length: 38\r\n\r\n{"id":0,"jsonrpc":"2.0","result":null}'
2021-02-27 09:37:17,945 - DEBUG - Server reported: Vetur initialized
2021-02-27 09:37:18,359 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[INFO ] Find node_modules paths in /home/hyundeok/Programming/JavaScript/rest-api-example/js/client - 200ms"}}'
2021-02-27 09:37:18,359 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[INFO ] Loaded bundled [email protected]."}}'
2021-02-27 09:37:18,359 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[INFO ] Loaded bundled prettier."}}'
2021-02-27 09:37:18,360 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[INFO ] Loaded bundled @starptech/prettyhtml."}}'
2021-02-27 09:37:18,360 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[INFO ] Loaded bundled prettier-eslint."}}'
2021-02-27 09:37:18,360 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[INFO ] Loaded bundled prettier-tslint."}}'
2021-02-27 09:37:18,360 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[INFO ] Loaded bundled stylus-supremacy."}}'
2021-02-27 09:37:18,360 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[INFO ] Loaded bundled @prettier/plugin-pug."}}'
2021-02-27 09:37:18,360 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":1,"method":"window/showMessageRequest","params":{"type":2,"message":"Vetur can\'t find `tsconfig.json` or `jsconfig.json` in /home/hyundeok/Programming/JavaScript/rest-api-example/js/client.","actions":[{"title":"Learn More"}]}}'
2021-02-27 09:37:18,360 - DEBUG - TX: Sending response: b'Content-Length: 77\r\n\r\n{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}'
2021-02-27 09:37:18,360 - DEBUG - Server reported: [INFO ] Find node_modules paths in /home/hyundeok/Programming/JavaScript/rest-api-example/js/client - 200ms
2021-02-27 09:37:18,361 - DEBUG - Server reported: [INFO ] Loaded bundled [email protected].
2021-02-27 09:37:18,361 - DEBUG - Server reported: [INFO ] Loaded bundled prettier.
2021-02-27 09:37:18,361 - DEBUG - Server reported: [INFO ] Loaded bundled @starptech/prettyhtml.
2021-02-27 09:37:18,361 - DEBUG - Server reported: [INFO ] Loaded bundled prettier-eslint.
2021-02-27 09:37:18,361 - DEBUG - Server reported: [INFO ] Loaded bundled prettier-tslint.
2021-02-27 09:37:18,361 - DEBUG - Server reported: [INFO ] Loaded bundled stylus-supremacy.
2021-02-27 09:37:18,361 - DEBUG - Server reported: [INFO ] Loaded bundled @prettier/plugin-pug.
2021-02-27 09:37:21,171 - ERROR - The language server communication channel closed unexpectedly. Issue a RestartServer command to recover.
Traceback (most recent call last):
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 363, in run
    self._ReadMessages()
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 482, in _ReadMessages
    data, read_bytes, headers = self._ReadHeaders( data )
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 546, in _ReadHeaders
    data = self.ReadData()
  File "/home/hyundeok/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 744, in ReadData
    raise RuntimeError( "Connection to server died" )
RuntimeError: Connection to server died
2021-02-27 09:37:22,182 - INFO - Received debug info request

from lsp-examples.

puremourning avatar puremourning commented on June 20, 2024

What about the vue completer logs?

from lsp-examples.

airglow923 avatar airglow923 commented on June 20, 2024

With or without --clang-completer, the result has not changed from the initial run.

from lsp-examples.

puremourning avatar puremourning commented on June 20, 2024

Well that’s clearly the vue language server bugging and crashing.

Apologies for not seeing that in your excellent detailed issue report!

I think this needs to be taken up with the upstream server.

from lsp-examples.

airglow923 avatar airglow923 commented on June 20, 2024

Thank you for your kind participation. I will file a bug for vetur instead.

from lsp-examples.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.