Skip to content
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

Exception after success build project #2188

Closed
dmyger opened this issue Oct 18, 2021 · 2 comments
Closed

Exception after success build project #2188

dmyger opened this issue Oct 18, 2021 · 2 comments
Labels
Milestone

Comments

@dmyger
Copy link

dmyger commented Oct 18, 2021

Brief Issue Summary

I just updated CMake Tools to version 1.9.0 and got a problem:
after build project each time it ended with following error:

[build] Build finished with exit code 0
[rollbar] Unhandled exception: Unhandled Promise rejection: Update code model for cpptools Error: Do not activate the extension when IntelliSense is disabled. {}

I has IntelliSense extension is disabled, because I use cquery instead.

How I can turn off this strange message?

CMake Tools Diagnostics

{
  "os": "darwin",
  "vscodeVersion": "1.61.1",
  "cmtVersion": "1.9.0",
  "configurations": [
    {
      "folder": "/Users/d.gertsog/src/space307/chart.cmake",
      "cmakeVersion": "3.21.0",
      "configured": true,
      "generator": "Ninja",
      "usesPresets": false,
      "compilers": {
        "C": "/Users/d.gertsog/src/emsdk/upstream/emscripten/emcc",
        "CXX": "/Users/d.gertsog/src/emsdk/upstream/emscripten/em++"
      }
    }
  ],
  "cpptoolsIntegration": {
    "isReady": false,
    "hasCodeModel": false,
    "requests": [],
    "responses": [],
    "targetCount": 0,
    "executablesCount": 0,
    "librariesCount": 0,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": false
    }
  ]
}

Debug Log

Output about the error did not changed.
@bobbrow
Copy link
Member

bobbrow commented Oct 18, 2021

Someone else reported this too. Ultimately it's a cpptools issue, but we should be able to do something to make the scary warning go away.

@andreeis
Copy link
Contributor

@dmyger, a fix for this problem was included in the CMake Tools 1.9.1 release. Upgrade your extension in VSCode and let us know if you encounter any other issues.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants