Fail to install windows 11 AI Workbench

fail this command:

Command failed: wsl -u workbench -d NVIDIA-Workbench – /home/workbench/.nvwb/bin/wb-svc -gid 1000 -uid 1000 check-host
panic: runtime error: index out of range [-1]

follow the full log:

[2024-02-22 00:19:36.104] [info] (tray) initTray
[2024-02-22 00:19:36.107] [info] (main) NVWB_CLI_VERSION 0.13.14 WB_SVC_VERSION 0.18.7 CREDENTIAL_MANAGER_VERSION 1.1.1
[2024-02-22 00:19:36.109] [info] (tab-registry) cleared project-tag-registry store
[2024-02-22 00:19:36.122] [info] (window-context-registry) cleared window-context-registry-store
[2024-02-22 00:19:36.130] [info] (main) async() Start electron main
[2024-02-22 00:19:36.180] [info] (menu) initMenu
[2024-02-22 00:19:36.182] [info] (main) message with user scope
[2024-02-22 00:19:36.183] [info] (createWindow-installer)
createWindow(
windowName: installer,
windowIndex: ./installer/index.html,
options {“width”:952,“height”:650},
)
[2024-02-22 00:19:36.210] [info] (createWindow-installer) resetToDefaults(windowState: [object Object])
[2024-02-22 00:19:36.210] [info] (createWindow-installer) windowWithinBounds()
[2024-02-22 00:19:36.247] [info] (new-window-events) event { preventDefault: ‘[function] preventDefault(){}’ }
[2024-02-22 00:19:36.248] [info] (new-window-events) data {
setBounds: ‘[function] (e,…t)=>{e={…this.getBounds(),…e},s.call(this,e,…t)}’,
_events: {
blur: ‘[function] t=>{e.emit(“browser-window-blur”,t,this)}’,
focus: ‘[function] t=>{e.emit(“browser-window-focus”,t,this)}’,
show: ‘[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(i!==e){i=e;const t=i?“visible”:“hidden”;this.webContents.emit(“-window-visibility-change”,t)}}’,
hide: ‘[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(i!==e){i=e;const t=i?“visible”:“hidden”;this.webContents.emit(“-window-visibility-change”,t)}}’,
minimize: ‘[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(i!==e){i=e;const t=i?“visible”:“hidden”;this.webContents.emit(“-window-visibility-change”,t)}}’,
maximize: ‘[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(i!==e){i=e;const t=i?“visible”:“hidden”;this.webContents.emit(“-window-visibility-change”,t)}}’,
restore: ‘[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(i!==e){i=e;const t=i?“visible”:“hidden”;this.webContents.emit(“-window-visibility-change”,t)}}’
},
_eventsCount: 7
}
[2024-02-22 00:19:36.277] [info] (channel-registry) registerIpcChannels() Register ipc channels
[2024-02-22 00:19:36.278] [info] (open-workbench) open_window
[2024-02-22 00:19:36.279] [info] (open-file-picker-channel) open_file_picker
[2024-02-22 00:19:36.279] [info] (project-tab-registry-channel) project_tab_registry_channel
[2024-02-22 00:19:36.279] [info] (open-file-picker-channel) open-external-link
[2024-02-22 00:19:36.280] [info] (open-file-picker-channel) open_file
[2024-02-22 00:19:36.280] [info] (open-folder-picker-channel) open_folder
[2024-02-22 00:19:36.281] [info] (renderer) electron-log
[2024-02-22 00:19:36.281] [info] (open-in-context-channel) open_project_in_context
[2024-02-22 00:19:36.892] [info] (renderer) Installer App() Loading
[2024-02-22 00:19:36.938] [info] (renderer) Navigating to transition, /
[2024-02-22 00:19:36.940] [info] (renderer) SERVICE: workbenchServiceInstalledCheck(), CHANNEL: [get_storage, service_install_check]
[2024-02-22 00:19:36.940] [info] (get-app-storage) {
_deserialize: ‘[function] e=>JSON.parse(e)’,
_serialize: ‘[function] e=>JSON.stringify(e,void 0,“\t”)’,
events: { _events: {}, _eventsCount: 0 },
path: ‘C:\Users\simof\AppData\Local\NVIDIA Corporation\AI Workbench\registries\workbench-config.json’
} installer.workbenchServiceState
[2024-02-22 00:19:36.941] [info] (get-app-storage) {
firstLoad: true,
isInstalled: false,
remoteOnly: null,
location: null,
rebootFromWSL2: true,
installationHasRunSuccessfully: false
}
[2024-02-22 00:19:36.943] [info] (service-installed-check-channel) ServiceInstalledCheck.handle()
[2024-02-22 00:19:36.943] [info] (service-installed-check) serviceInstalledCheck()
[2024-02-22 00:19:36.950] [info] (renderer) Navigating to transition, /
[2024-02-22 00:19:39.455] [info] (service-installed-check) wsl -u workbench -d NVIDIA-Workbench – ls /home/workbench/.nvwb/bin/ nvwb-cli
wb-svc

[2024-02-22 00:19:40.434] [info] (service-utilities) {
stdout: ‘\n’ +
’ nvwb 0.13.14 (stable; linux; amd64; go1.21.3; Wed Jan 10 20:09:13 UTC 2024) \n’ +
‘\n’,
stderr: ‘’
} 0.13.14
[2024-02-22 00:19:40.435] [error] (service-utilities) ensureLatest: stdout
nvwb 0.13.14 (stable; linux; amd64; go1.21.3; Wed Jan 10 20:09:13 UTC 2024)

[2024-02-22 00:19:40.750] [info] (service-utilities) {
stdout: ‘wb-svc 0.18.7 (stable; linux; amd64; go1.21.3; Wed Jan 10 20:04:19 UTC 2024)\n’,
stderr: ‘’
} 0.18.7
[2024-02-22 00:19:40.750] [error] (service-utilities) ensureLatest: stdout wb-svc 0.18.7 (stable; linux; amd64; go1.21.3; Wed Jan 10 20:04:19 UTC 2024)

[2024-02-22 00:19:40.932] [info] (service-installed-check) credentialManagerPathCheck bin
cli.yaml
logs
true
[2024-02-22 00:19:40.933] [info] (check-if-exists) “C:\Users\simof\AppData\Local\NVIDIA Corporation\AI Workbench\credential-manager.exe”
[2024-02-22 00:19:40.934] [error] (check-if-exists) checkIfExists ENOENT: no such file or directory, access ‘C:\Program Files\NVIDIA AI Workbench"C:\Users\simof\AppData\Local\NVIDIA Corporation\AI Workbench\credential-manager.exe"’
[2024-02-22 00:19:40.934] [info] (service-installed-check) isCredentialManagerInstalled false
[2024-02-22 00:19:40.993] [info] (service-utilities) {
stdout: ‘credential-manager 1.1.1 (stable; windows; amd64; go1.21.3; Tue Jan 2 22:49:32 UTC 2024)\n’,
stderr: ‘’
} 1.1.1
[2024-02-22 00:19:40.993] [error] (service-utilities) ensureLatest: stdout credential-manager 1.1.1 (stable; windows; amd64; go1.21.3; Tue Jan 2 22:49:32 UTC 2024)

[2024-02-22 00:19:41.173] [info] (service-installed-check) credential_manager.path true /mnt/c/Users/simof/AppData/Local/NVIDIA Corporation/AI Workbench/credential-manager.exe /mnt/c/Users/simof/AppData/Local/NVIDIA Corporation/AI Workbench/credential-manager.exe
[2024-02-22 00:19:41.174] [info] (service-installed-check) serviceInstalledCheck(): isWBInstalled = true
[2024-02-22 00:19:41.175] [info] (service-installed-check) serviceInstalledCheck(): isCLIInstalled = true
[2024-02-22 00:19:41.175] [info] (service-installed-check) serviceInstalledCheck(): isCredentialInstalled = true
[2024-02-22 00:19:41.175] [info] (service-installed-check-channel) {
workbench: {
isInstalled: true,
location: ‘\\wsl.localhost\NVIDIA-Workbench\home\workbench\.nvwb\bin\wb-svc’
},
cli: {
isInstalled: true,
location: ‘\\wsl.localhost\NVIDIA-Workbench\home\workbench\.nvwb\bin\nvwb-cli’
},
credentialManager: {
isInstalled: true,
location: ‘“C:\Users\simof\AppData\Local\NVIDIA Corporation\AI Workbench\credential-manager.exe”’
}
}
[2024-02-22 00:19:41.178] [info] (check-host-channel) check_host
[2024-02-22 00:19:41.178] [info] (check-host) checkHost()
[2024-02-22 00:19:43.703] [error] (check-host) Command failed: wsl -u workbench -d NVIDIA-Workbench – /home/workbench/.nvwb/bin/wb-svc -gid 1000 -uid 1000 check-host
panic: runtime error: index out of range [-1]

goroutine 1 [running]:
gitlab-master.nvidia.com/workbench/workbench-service/pkg/introspect.getHostInfo()
/builds/workbench/workbench-service/pkg/introspect/host.go:254 +0xddc
gitlab-master.nvidia.com/workbench/workbench-service/pkg/introspect.InitHostState({0x34630b8a000?, 0x0?}, 0x0?, 0x0?)
/builds/workbench/workbench-service/pkg/introspect/host.go:312 +0x65
main.main()
/builds/workbench/workbench-service/main.go:204 +0x1326

[2024-02-22 00:19:43.704] [info] (renderer) SERVICE: hostCheck(), CHANNEL: check_host
[2024-02-22 00:19:43.705] [error] (renderer) error.platform.installer.get_initial_state:invocation[0] {
type: ‘app_error’,
data: { message: ‘Something went wrong please restart your installer’ }
}
[2024-02-22 00:19:43.705] [info] (renderer) Navigating to app-error, /transition

Hi all,

I also got the same error in Windows 11 and the build is 22631.3227.

Does anyone have solutions for this?

main.log (8.8 KB)

Hi

sorry for taking so long to get back to you.

can you try to install the latest GA version?

you can get it here.

Tyler