Skip to content

[Bug]: windows run COMMAND : openviking-server --with-bot EXCEPTION: #477

@pickonebyone

Description

@pickonebyone

Bug Description

windows could not be startup with bot
openviking-server --with-bot

Steps to Reproduce

PS C:\Users\Administrator> openviking-server --with-bot
C:\Program Files\Python310\lib\site-packages\requests_init_.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (7.0.1)/charset_normalizer (3.4.5) doesn't match a supported version!
warnings.warn(
Loading config file: C:\Users\Administrator.openviking\ov.conf
2026-03-08 22:18:30,026 - openviking.server.app - INFO - Bot API proxy enabled, forwarding to http://localhost:18790
OpenViking HTTP Server is running on 127.0.0.1:1933
Bot API proxy enabled, forwarding to http://localhost:18790
Starting vikingbot gateway...
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Program Files\Python310\Scripts\openviking-server.exe_main
.py", line 5, in
sys.exit(main())
File "C:\Program Files\Python310\lib\site-packages\openviking_cli\server_bootstrap.py", line 31, in main
_real_main()
File "C:\Program Files\Python310\lib\site-packages\openviking\server\bootstrap.py", line 139, in main
bot_process = _start_vikingbot_gateway(enable_bot_logging, args.bot_log_dir)
File "C:\Program Files\Python310\lib\site-packages\openviking\server\bootstrap.py", line 155, in _start_vikingbot_gateway
if subprocess.run(["which", "vikingbot"], capture_output=True).returncode == 0:
File "C:\Program Files\Python310\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Program Files\Python310\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\Python310\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

Expected Behavior

STARTUP WITHOUT ERROR.

Actual Behavior

COULD NOT STARTUP.

Minimal Reproducible Example

Error Logs

OpenViking Version

main

Python Version

Python 3.10.11

Operating System

Windows

Model Backend

None

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions