After upgrade to 2023.9.169, many things broken

After I upgraded to nRF connect for VS code version 2023.9.169, I'm no longer able to choose examples when creating a new application.

According to the changelog a new Toolchain Management Menu is to be found. But I haven't found it anywhere?

The show "Welcome page" link is gone.

There's a new link called "Manage toolchains" which only lists the Zephyr toolchains like ~/zephyr-sdk-0.16.0 and not the NCS toolchains (see the screenshots in the changelog like nRF Connect SDK Toolchain v2.4.0 ) (when choosing set default toolchain).

This update breaks all my projects with the error "cannot find toolchain".

Create new build configuration no longer works ("Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..").

Sometimes the item "Manage SDKs" is missing under Welcome.

I found somewhat of a workaround. Try the following steps:
1) close all vscode instances
2) close all Nordic programs
3) source $HOME/ncs2/v2.4.1/zephyr/zephyr-env.sh
4) start nrfconnect
5) start toolchain manager

I think this nRF connect for VS code is not been tested for Linux?

After the workaround, I was able to get "choose examples" when creating a new application.
Also my projects were able to find the toolchain again.

Healthcheck:
I think that if both "Manage toolchains" and "Manage SDKs" are visible in the menu, your environment is ok and working.

Parents
  • Hello,

    I am a linux user myself, currently on Ubuntu 22.04 and it works fine for me. If you could provide the screenshots of your issues that would help me with investigating them.

    I have noticed that you are on a previous version. Please try to update to 2023.9.336 first and see if that fixes anything.

    The show "Welcome page" link is gone.

    Yes, its features have been now integrated directly into the sidebar. This is how the sidebar should look like:

    If you have installed your NCS instances manually, you may want to run west zephyr-export from your NCS folder for it to be auto-detected. Otherwise you can also use the "Browse" button (at least in the newest version):

    Best regards,

    Michal

  • 2023.9.336

    I'm currently using this version.

    west zephyr-export

    I ran it, but the toolchain version is still not automatically listed. These are the steps I tried:
    1. Close VS Code
    2. Close Nordic Toolchain Manager
    3. Close nRF Connect for Desktop
    4. source ./v2.4.1/zephyr/zephyr-env.sh
    5. cd ./v2.4.1/
    6. west zephyr-export
    7. Start nRF Connect for Desktop v4.2.1
    8. Start Toolchain Manager v1.2.5
    9. Open VS Code with SDK v2.4.1
    10. nRF Connect button
    11. Manage Toolchains - Set Active Toolchain

    I'm using VS Code version 1.82.3

  • I have mixed up a bit and posted the instructions for detecting NCS and not the toolchain, sorry.

    You could also try maybe disabling all the other plugins then the nRF Connect extension and opening a new, clear workspace and see if that changes anything?

    Best regards,

    Michal

Reply Children
Related