Skip to content

Cannot initialized under Windows #1550

Open

Description

@Scorpiour

Windows environment use mingw as terminal. wsl1 is installed correctly.

wsl.exe has no --version parameter provided



# OpenBot troubleshooting logs

Summary: OpenBot Desktop 1.0.2 (Built 2026-11-11 08:55 UTC from cca9f609) on windows x86_64.
Failed: OpenBot could not check the WSL version (wsl.exe --version). Close and reopen OpenBot to try again. / Probe exited with exit code: 0xffffffff
Container engine: none is answering.

Redacted on this computer before copying: API keys, tokens, passwords, cookies, email addresses, and account, organisation, user and installation ids. The home folder is written as ~.

OpenBot Desktop 1.0.2 (Built 2026-11-11 08:55 UTC from cca9f609)
System: windows x86_64

## What failed

OpenBot could not check the WSL version (wsl.exe --version). Close and reopen OpenBot to try again.
Probe exited with exit code: 0xffffffff
stdout:
命令行选项无效: --version

版权所有(c) Microsoft Corporation。保留所有权利。



用法: wsl.exe [Argument] [Options...] [CommandLine]



运行 Linux 二进制文件的参数:



    如果未提供命令行,wsl.exe 将启动默认 shell。



    --exec, -e <CommandLine>

        在不使用默认 Linux Shell 的情况下执行指定的命令。



    --

        按原样传递其余命令行。



选项:

    --cd <Directory>

        将指定目录设置为当前工作目录。

        如果使用了 ~,则将使用 Linux 用户的主页路径。如果路径

        以 / 字符开头,将被解释为绝对 Linux 路径。

        否则,该值一定是绝对 Windows 路径。



    --distribution, -d <Distro>

        运行指定分发。



    --user, -u <UserName>

        以指定用户身份运行。



管理适用于 Linux 的 Windows 子系统的参数:



    --help

        显示用法信息。



    --install [选项]

        安装额外的适用于 Linux 的 Windows 子系统分发。

         要获得有效分发列表,请使用“wsl --list --online”。



        选项: 

            --distribution, -d [参数]

                按名称下载并安装分发。



                参数: 

                    有效分发名称(不区分大小写)。



                示例:

                    wsl --install -d Ubuntu

                    wsl --install --distribution Debian



    --set-default-version <Version>

        更改新分发的默认安装版本。



    --shutdown

         立即终止所有运行的分发及 WSL 2

        轻型实用工具虚拟机。



    --status

        显示适用于 Linux 的 Windows 子系统的状态。



    --update [Options]

        如果未指定任何选项,则将 WSL 2 内核更新

        为最新版本。



        选项:

            --rollback

                恢复为 WSL 2 内核的先前版本。



            --inbox

                仅更新收件箱 WSL 2 内核。不要从 Microsoft Store 下载 WSL。



            --web-download

                从 Internet 而不是 Microsoft Store 下载最新版本的 WSL。



用于管理适用于 Linux 的 Windows 子系统中的分发的参数:



    --export <Distro> <FileName>

        将分发导出到 tar 文件。

        对于标准输出,文件名可以是 -。



    --import <Distro> <InstallLocation> <FileName> [Options]

        将指定的 tar 文件作为新分发导入。

        对于标准输入,文件名可以是 -。



        选项:

            --version <Version>

                指定要用于新分发的版本。



    --list, -l [Options]

        列出分发。



        选项:

            --all

                列出所有分发,包括

                当前正在安装或卸载的分发。



            --running

                仅列出当前正在运行的分发。



            --quiet, -q

                仅显示分发名称。



            --verbose, -v

                显示所有分发的详细信息。



            --online, -o

                显示使用“wsl --install”进行安装的可用分发列表。



    --set-default, -s <分发>

        将分发设置为默认值。



    --set-version <分发> <版本>

        更改指定分发的版本。



    --terminate, -t <分发>

        终止指定的分发。



    --unregister <分发>

        注销分发并删除根文件系统。


stderr:

## Container engine

No container engine is answering.

## OpenBot Desktop log (end)

~\AppData\Local\ai.copilotkit.openbot.desktop\logs\openbot-desktop.log

2026-11-13T05:11:26.867Z INFO [launch] OpenBot Desktop 1.0.2 (Built 2026-11-11 08:55 UTC from cca9f60) on windows x86_64; local time is UTC+08:00; logs in ~\AppData\Local\ai.copilotkit.openbot.desktop\logs
2026-11-13T05:11:27.085Z INFO [app update] up to date
2026-11-13T05:12:33.020Z INFO [logs] gathered troubleshooting logs
2026-11-13T05:12:33.020Z INFO [logs] saved troubleshooting logs in the log folder, stamped 2026-11-13T05-12-33Z


## Backend CLI log (end)

Not found on this computer.

Activity

  1. Ethereal49 commented on Nov 13, 2026

    @Ethereal49

    I'll take this. The registry probe currently reports WSL 2 when DefaultVersion is absent, so the WSL1 blocker is never reached and setup falls through to the unsupported wsl.exe --version probe. I'll treat an absent value as WSL 1 (Windows' default when unset), add a regression test for the unset path, and open a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions