Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-117668

qmlls in the blog article is not working on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.6
    • Qt Language Server
    • None
    • Windows

    Description

      I'm trying the process written in the blog article : https://www.qt.io/blog/whats-new-in-qml-language-server-qmlls-shipped-with-qt-6.6

      I'm using Windows 11 and it's not working with this error when the qmlls-vscode is started.

      activating extension
      extensionHostProcess.js:113starting language server
      extensionHostProcess.js:113(node:7096) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
      (Use `Code --trace-deprecation ...` to show where the warning was created)
      extensionHostProcess.js:113Activating QMLLS!
      extensionHostProcess.js:113rejected promise not handled within 1 second: Error: Connection to server got closed. Server will not be restarted.
      extensionHostProcess.js:113stack trace: Error: Connection to server got closed. Server will not be restarted.
      	at LanguageClient.handleConnectionClosed (c:\work\qmlls_research\qmlls-vscode\client\node_modules\vscode-languageclient\lib\common\client.js:2442:47)
      	at LanguageClient.handleConnectionClosed (c:\work\qmlls_research\qmlls-vscode\client\node_modules\vscode-languageclient\lib\node\main.js:155:15)
      	at closeHandler (c:\work\qmlls_research\qmlls-vscode\client\node_modules\vscode-languageclient\lib\common\client.js:2411:18)
      	at CallbackList.invoke (c:\work\qmlls_research\qmlls-vscode\client\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
      	at Emitter.fire (c:\work\qmlls_research\qmlls-vscode\client\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
      	at closeHandler (c:\work\qmlls_research\qmlls-vscode\client\node_modules\vscode-jsonrpc\lib\common\connection.js:256:26)
      	at CallbackList.invoke (c:\work\qmlls_research\qmlls-vscode\client\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
      	at Emitter.fire (c:\work\qmlls_research\qmlls-vscode\client\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
      	at StreamMessageReader.fireClose (c:\work\qmlls_research\qmlls-vscode\client\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
      	at Socket.<anonymous> (c:\work\qmlls_research\qmlls-vscode\client\node_modules\vscode-jsonrpc\lib\common\messageReader.js:125:42)
      	at Socket.emit (node:events:525:35)
      	at Pipe.<anonymous> (node:net:322:12)
      	at Pipe.callbackTrampoline (node:internal/async_hooks:130:17)
      extensionHostProcess.js:113ApplicationInsights:An invalid instrumentation key was provided. There may be resulting telemetry loss (1) [undefined]
      extensionHostProcess.js:113No debugger available, can not send 'variables'[CMakeTools] 2023-09-29T02:17:13.530Z [debug] [extension] Deactivate CMakeTools
      extensionHostProcess.js:113clearing timestamp log
      extensionHostProcess.js:113deactivating extension 

      qmlls.exe exists and the path specified in extension.ts seems to be correct.

       

       

      I attached my environment in the ticket. (qmlls_reserch.zip)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sami.shalayel Sami Shalayel
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes