i am using vscode + nrf connect for vscode , nrf kconfig, ... on different machines, windows (11) and linux (ubuntu current lts)
i often had the problem that nrf kconfig didn't open. now i tried to narrow it down.
i cloned the same projects in a workspace folder on a) windows and b) linux
i had tried some differently named builds but at the end only used "build"
on windows one of the projects in the workspace (2.6.0 / 2.6.0) allowed to open kconfig gui, but that didn't work for all projects -> kconfig gui can work on that machine
on linux none of the projects in the workspace (2.6.0 / 2.6.0) allowed to open kconfig gui, anyway kconfig gui worked on that machine in other workspaces -> kconfig gui can work on that machine
on linux:
on windows:
error looks the same on linux and windows
the vscode logs are not really helpfull. the only related info is :
- C:\Users\user\AppData\Roaming\Code\logs\20240323T145841\window1\exthost\exthost.log
2024-03-23 15:07:50.158 [error] Error: Exception: "expected string or bytes-like object" at Pt (c:\Users\user\.vscode\extensions\nordic-semiconductor.nrf-kconfig-2024.3.21\dist\extension.js:4:223) at xn (c:\Users\user\.vscode\extensions\nordic-semiconductor.nrf-kconfig-2024.3.21\dist\extension.js:3:11254) at Immediate.<anonymous> (c:\Users\user\.vscode\extensions\nordic-semiconductor.nrf-kconfig-2024.3.21\dist\extension.js:3:11104) at process.processImmediate (node:internal/timers:476:21) at process.callbackTrampoline (node:internal/async_hooks:130:17)
- C:\Users\user\AppData\Roaming\Code\logs\20240323T145841\window1\exthost\output_logging_20240323T145842\3-Kconfig.log
[Info - 3:07:48 PM] Server starting [Info - 3:07:48 PM] workspaceFolders: [{'uri': 'file:///c%3A/code/workspace-nordic_26_', 'name': 'workspace-nordic_26_'}]