Dive icon indicating copy to clipboard operation
Dive copied to clipboard

[Bug] Got blank screen and application is not starting

Open wolverinex24 opened this issue 1 year ago • 22 comments

How to start this on Windows? I installed the exe, and I got Dive.exe. I ran this, kept rolling the animation, and got a blank white screen ...

Image

wolverinex24 avatar Jun 15 '25 16:06 wolverinex24

@wolverinex24 Please provide the log file at: %LOCALAPPDATA%\Dive\Log\main.log

ckaznable avatar Jun 16 '25 01:06 ckaznable

Same problem after updating ollama on computer. Have error in runtime logs:

  File "/tmp/.mount_diveoTMXan/resources/python/lib/python3.12/site-packages/httpx/_config.py", line 214, in __init__
    raise ValueError(f"Unknown scheme for proxy URL {url!r}")
ValueError: Unknown scheme for proxy URL URL('socks://127.0.0.1:2080/')

I removed ~/.config/dive and ~/.dive (on ubuntu, don't know how it's on windows), restarted and now it's working.

UPD: No, it's not. After adding a model it's failing with same old error.

warmaris avatar Jun 16 '25 15:06 warmaris

@warmaris This needs to wait for dive-mcp-host to support proxy settings.

johnfunmula avatar Jun 18 '25 02:06 johnfunmula

Same issue. Blank white screen. Running on Windows 11 Pro.

Log file entries:

[2025-06-20 09:13:05.156] [info]  migrating prebuilt scripts
[2025-06-20 09:13:13.108] [info]  installing host dependencies
[2025-06-20 09:13:13.119] [info]  httpd executing path:  C:\Users\comme\AppData\Local\Programs\Dive\resources\python\python.exe
[2025-06-20 09:13:13.120] [info]  spawn host with C:\Users\comme\AppData\Local\Programs\Dive\resources\python\python.exe -I -c import sys; sys.path.extend(['C:\\Users\\comme\\AppData\\Local\\Programs\\Dive\\resources\\mcp-host', 'C:\\Users\\comme\\.dive\\host_cache\\deps']); from dive_mcp_host.httpd._main import main; main() --port 0 --report_status_file C:\Users\comme\.dive\host_cache\bus --cors * --log_dir C:\Users\comme\AppData\Local\dive\Log\host --log_level DEBUG
[2025-06-20 09:13:13.140] [info]  host process spawned
[2025-06-20 09:13:15.593] [info]  [dived] DEBUG asyncio:__init__:634 :: Using proactor: IocpProactor

[2025-06-20 09:13:15.611] [info]  [dived] INFO uvicorn.error:_serve:83 :: Started server process [20540]

[2025-06-20 09:13:15.611] [info]  [dived] INFO uvicorn.error:startup:48 :: Waiting for application startup.
INFO dive_mcp_host.httpd.server:prepare:118 :: Server Prepare
INFO dive_mcp_host.httpd.server:_load_configs:108 :: Loading configs
INFO dive_mcp_host.httpd.conf.mcp_servers:initialize:80 :: Initializing MCPServerManager from C:\Users\comme\.dive\config\mcp_config.json

[2025-06-20 09:13:15.616] [info]  [dived] INFO dive_mcp_host.httpd.conf.models:initialize:35 :: Initializing ModelManager from C:\Users\comme\.dive\config\model_config.json

[2025-06-20 09:13:15.616] [info]  [dived] INFO dive_mcp_host.httpd.conf.prompt:initialize:42 :: Initializing PromptManager from C:\Users\comme\.dive\config\custom_rules
INFO dive_mcp_host.httpd.conf.command_alias:initialize:50 :: Initializing CommandAliasManager from C:\Users\comme\.dive\config\command_alias.json

[2025-06-20 09:13:15.621] [info]  [dived] INFO dive_mcp_host.httpd.server:_load_configs:113 :: Configs loaded

[2025-06-20 09:13:15.622] [info]  [dived] INFO dive_mcp_host.httpd.database.migrate:db_migration:24 :: running migration

[2025-06-20 09:13:15.625] [info]  [dived] INFO alembic.runtime.migration:__init__:207 :: Context impl SQLiteImpl.

[2025-06-20 09:13:15.625] [info]  [dived] INFO alembic.runtime.migration:__init__:210 :: Will assume non-transactional DDL.

[2025-06-20 09:13:15.632] [info]  [dived] INFO dive_mcp_host.httpd.database.migrate:db_migration:29 :: finish migration

[2025-06-20 09:13:15.633] [info]  [dived] INFO dive_mcp_host.httpd.store.cache:__init__:34 :: LocalCache directory: C:\Users\comme\.dive\host_cache\cache

[2025-06-20 09:13:15.633] [info]  [dived] INFO dive_mcp_host.httpd.store.cache:__init__:35 :: LocalCache file prefix: dive_mcp_host
INFO dive_mcp_host.httpd.store.cache:__init__:37 :: LocalCache directory prepared

[2025-06-20 09:13:15.634] [info]  [dived] DEBUG dive_mcp_host.models:load_model:43 :: Loading model fake with provider dive, kwargs: {'disable_streaming': False}

[2025-06-20 09:13:15.638] [info]  [dived] DEBUG aiosqlite:run:104 :: executing <function connect.<locals>.connector at 0x000001E0AD24F920>

[2025-06-20 09:13:15.638] [info]  [dived] DEBUG aiosqlite:run:106 :: operation <function connect.<locals>.connector at 0x000001E0AD24F920> completed

[2025-06-20 09:13:15.638] [info]  [dived] DEBUG aiosqlite:run:104 :: executing functools.partial(<built-in method executescript of sqlite3.Connection object at 0x000001E0AD252110>, "\n                PRAGMA journal_mode=WAL;\n                CREATE TABLE IF NOT EXISTS checkpoints (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    parent_checkpoint_id TEXT,\n                    type TEXT,\n                    checkpoint BLOB,\n                    metadata BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id)\n                );\n                CREATE TABLE IF NOT EXISTS writes (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    task_id TEXT NOT NULL,\n                    idx INTEGER NOT NULL,\n                    channel TEXT NOT NULL,\n                    type TEXT,\n                    value BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id, task_id, idx)\n                );\n                ")

[2025-06-20 09:13:15.639] [info]  [dived] DEBUG aiosqlite:run:106 :: operation functools.partial(<built-in method executescript of sqlite3.Connection object at 0x000001E0AD252110>, "\n                PRAGMA journal_mode=WAL;\n                CREATE TABLE IF NOT EXISTS checkpoints (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    parent_checkpoint_id TEXT,\n                    type TEXT,\n                    checkpoint BLOB,\n                    metadata BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id)\n                );\n                CREATE TABLE IF NOT EXISTS writes (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    task_id TEXT NOT NULL,\n                    idx INTEGER NOT NULL,\n                    channel TEXT NOT NULL,\n                    type TEXT,\n                    value BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id, task_id, idx)\n                );\n                ") completed

[2025-06-20 09:13:15.639] [info]  [dived] DEBUG aiosqlite:run:104 :: executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001E0AD252110>)
DEBUG aiosqlite:run:106 :: operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001E0AD252110>) completed
DEBUG aiosqlite:run:104 :: executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001E0AD25ADC0>)

[2025-06-20 09:13:15.640] [info]  [dived] DEBUG aiosqlite:run:106 :: operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001E0AD25ADC0>) completed
INFO dive_mcp_host.httpd.server:prepare:164 :: Server Prepare Complete
INFO dive_mcp_host.httpd.server:report_status:267 :: Report status to file: C:\Users\comme\.dive\host_cache\bus

[2025-06-20 09:13:15.640] [info]  [dived] INFO uvicorn.error:startup:62 :: Application startup complete.

[2025-06-20 09:13:15.641] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_stdio_client_watcher:347 :: Attempting to initialize client echo

[2025-06-20 09:13:15.645] [info]  received message from host service {
  timestamp: '2025-06-19T23:13:15.640583+00:00',
  server: { listen: { ip: '127.0.0.1', port: 61990 } },
  status: { state: 'UP', last_error: null, error_code: null }
}
[2025-06-20 09:13:15.647] [info]  received message from host service {
  timestamp: '2025-06-19T23:13:15.640583+00:00',
  server: { listen: { ip: '127.0.0.1', port: 61990 } },
  status: { state: 'UP', last_error: null, error_code: null }
}
[2025-06-20 09:13:15.648] [info]  [dived] INFO uvicorn.error:_log_started_message:215 :: Uvicorn running on http://127.0.0.1:61990 (Press CTRL+C to quit)

[2025-06-20 09:13:15.648] [info]  [dived] INFO dive_mcp_host.host.tools.stdio_server:_create_platform_compatible_process:188 :: launched process: C:\Users\comme\AppData\Local\Programs\Dive\resources\node\node.EXE, pid: 15420

[2025-06-20 09:13:16.029] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:53527 - "GET /api/ping HTTP/1.1" 404

[2025-06-20 09:13:16.030] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:53527 - "GET /api/ping HTTP/1.1" 404

[2025-06-20 09:13:16.031] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:53527 - "GET /api/ping HTTP/1.1" 404

[2025-06-20 09:13:16.032] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:53527 - "GET /api/ping HTTP/1.1" 404

[2025-06-20 09:13:16.034] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:53527 - "GET /api/config/model HTTP/1.1" 200

[2025-06-20 09:13:16.035] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:53527 - "GET /api/ping HTTP/1.1" 404

[2025-06-20 09:13:16.036] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:53527 - "GET /api/ping HTTP/1.1" 404

[2025-06-20 09:13:16.036] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:53527 - "GET /api/ping HTTP/1.1" 404

[2025-06-20 09:13:17.269] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:__change_state:261 :: client status changed, echo running, error: None

[2025-06-20 09:13:17.269] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_init_tool_info:181 :: Client echo initialized successfully with 1 tools

[2025-06-20 09:14:18.940] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:53694 - "GET / HTTP/1.1" 404

[2025-06-20 09:14:18.981] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:53694 - "GET /favicon.ico HTTP/1.1" 404

[2025-06-20 09:15:32.817] [info]  cleanup
[2025-06-20 09:15:32.817] [info]  killing host process

boukamp avatar Jun 19 '25 23:06 boukamp

@boukamp Can it function properly if you use version 0.8.7?

johnfunmula avatar Jun 20 '25 02:06 johnfunmula

@johnfunmula : Yep. I can confirm that replacing version 0.8.8 with version 0.8.7 fixes the blank screen issue on my machine...

boukamp avatar Jun 20 '25 11:06 boukamp

@warmaris This needs to wait for dive-mcp-host to support proxy settings.

I don't understand. I don't use proxy, and it was working before, where did it get from? However, v0.8.8 works for me. Model added and verified without errors.

warmaris avatar Jun 20 '25 17:06 warmaris

Same problem here: blank screen. Windows 11 Pro, installed using Dive-0.8.8-win-x64.exe. First-time installation, no proxies. Installed as a local user in user space. Can confirm that 0.8.7 works fine after rolling back from 0.8.8.

aroslanov avatar Jun 29 '25 04:06 aroslanov

@warmaris @aroslanov I still can't reproduce this issue on my Windows, but I will fix some parts that might cause this issue in the next version.

johnfunmula avatar Jun 30 '25 01:06 johnfunmula

I confirm the same: installed 0.8.8 on Windows 11 Pro, got the blank screen. Checked the logs, no errors. Uninstalled and installed 0.8.7 and it worked.

bluesman80 avatar Jul 06 '25 09:07 bluesman80

Same issue on Windows 11 when installing in user space and for all users

exalsch avatar Jul 08 '25 07:07 exalsch

same issue on windows 11 sometimes can work via wsl but the mcp configs doesn't work as expected

ayushxx7 avatar Jul 14 '25 09:07 ayushxx7

Tried in Windows11 pro and in wsl (ubuntu) but no luck! I've noticed "uvicorn.error" in the startup log ( and in @boukamp log too ).

LucioPg avatar Jul 14 '25 17:07 LucioPg

https://github.com/OpenAgentPlatform/Dive/releases/tag/v0.8.9-rc.1

I have added more error logging in v0.8.9-rc.1. Can someone help me reproduce the issue and provide the logs?

johnfunmula avatar Jul 15 '25 07:07 johnfunmula

https://github.com/OpenAgentPlatform/Dive/releases/tag/v0.8.9-rc.1

I have added more error logging in v0.8.9-rc.1. Can someone help me reproduce the issue and provide the logs?

@johnfunmula here you are:

[2025-07-15 22:02:35.310] [info]  migrating prebuilt scripts
[2025-07-15 22:02:37.252] [info]  installing host dependencies
[2025-07-15 22:02:38.790] [info]  httpd executing path:  C:\Users\Lucio\AppData\Local\Programs\Dive\resources\python\python.exe
[2025-07-15 22:02:38.791] [info]  spawn host with C:\Users\Lucio\AppData\Local\Programs\Dive\resources\python\python.exe -I -c import sys; sys.path.extend(['C:\\Users\\Lucio\\AppData\\Local\\Programs\\Dive\\resources\\mcp-host', 'C:\\Users\\Lucio\\.dive\\host_cache\\deps']); from dive_mcp_host.httpd._main import main; main() --port 0 --report_status_file C:\Users\Lucio\.dive\host_cache\bus --cors * --log_dir C:\Users\Lucio\AppData\Local\dive\Log\host --log_level DEBUG
[2025-07-15 22:02:38.797] [info]  host process spawned
[2025-07-15 22:02:40.215] [info]  [dived] DEBUG asyncio:__init__:634 :: Using proactor: IocpProactor

[2025-07-15 22:02:40.225] [info]  [dived] INFO uvicorn.error:_serve:83 :: Started server process [28416]
INFO uvicorn.error:startup:48 :: Waiting for application startup.

[2025-07-15 22:02:40.225] [info]  [dived] INFO dive_mcp_host.httpd.server:prepare:118 :: Server Prepare
INFO dive_mcp_host.httpd.server:_load_configs:108 :: Loading configs
INFO dive_mcp_host.httpd.conf.mcp_servers:initialize:80 :: Initializing MCPServerManager from C:\Users\Lucio\.dive\config\mcp_config.json
INFO dive_mcp_host.httpd.conf.models:initialize:35 :: Initializing ModelManager from C:\Users\Lucio\.dive\config\model_config.json

[2025-07-15 22:02:40.226] [info]  [dived] INFO dive_mcp_host.httpd.conf.prompt:initialize:42 :: Initializing PromptManager from C:\Users\Lucio\.dive\config\custom_rules

[2025-07-15 22:02:40.226] [info]  [dived] INFO dive_mcp_host.httpd.conf.command_alias:initialize:50 :: Initializing CommandAliasManager from C:\Users\Lucio\.dive\config\command_alias.json
INFO dive_mcp_host.httpd.server:_load_configs:113 :: Configs loaded
INFO dive_mcp_host.httpd.database.migrate:db_migration:24 :: running migration

[2025-07-15 22:02:40.229] [info]  [dived] INFO alembic.runtime.migration:__init__:207 :: Context impl SQLiteImpl.
INFO alembic.runtime.migration:__init__:210 :: Will assume non-transactional DDL.

[2025-07-15 22:02:40.242] [info]  [dived] INFO dive_mcp_host.httpd.database.migrate:db_migration:29 :: finish migration

[2025-07-15 22:02:40.243] [info]  [dived] INFO dive_mcp_host.httpd.store.cache:__init__:34 :: LocalCache directory: C:\Users\Lucio\.dive\host_cache\cache
INFO dive_mcp_host.httpd.store.cache:__init__:35 :: LocalCache file prefix: dive_mcp_host

[2025-07-15 22:02:40.243] [info]  [dived] INFO dive_mcp_host.httpd.store.cache:__init__:37 :: LocalCache directory prepared

[2025-07-15 22:02:40.244] [info]  [dived] DEBUG dive_mcp_host.models:load_model:43 :: Loading model qwen14_max:latest with provider ollama, kwargs: {'disable_streaming': False, 'base_url': 'http://localhost:11434'}

[2025-07-15 22:02:40.811] [info]  [dived] DEBUG aiosqlite:run:104 :: executing <function connect.<locals>.connector at 0x000001F11C0A8A40>

[2025-07-15 22:02:40.812] [info]  [dived] DEBUG aiosqlite:run:106 :: operation <function connect.<locals>.connector at 0x000001F11C0A8A40> completed

[2025-07-15 22:02:40.812] [info]  [dived] DEBUG aiosqlite:run:104 :: executing functools.partial(<built-in method executescript of sqlite3.Connection object at 0x000001F11C2409A0>, "\n                PRAGMA journal_mode=WAL;\n                CREATE TABLE IF NOT EXISTS checkpoints (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    parent_checkpoint_id TEXT,\n                    type TEXT,\n                    checkpoint BLOB,\n                    metadata BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id)\n                );\n                CREATE TABLE IF NOT EXISTS writes (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    task_id TEXT NOT NULL,\n                    idx INTEGER NOT NULL,\n                    channel TEXT NOT NULL,\n                    type TEXT,\n                    value BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id, task_id, idx)\n                );\n                ")

[2025-07-15 22:02:40.813] [info]  [dived] DEBUG aiosqlite:run:106 :: operation functools.partial(<built-in method executescript of sqlite3.Connection object at 0x000001F11C2409A0>, "\n                PRAGMA journal_mode=WAL;\n                CREATE TABLE IF NOT EXISTS checkpoints (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    parent_checkpoint_id TEXT,\n                    type TEXT,\n                    checkpoint BLOB,\n                    metadata BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id)\n                );\n                CREATE TABLE IF NOT EXISTS writes (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    task_id TEXT NOT NULL,\n                    idx INTEGER NOT NULL,\n                    channel TEXT NOT NULL,\n                    type TEXT,\n                    value BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id, task_id, idx)\n                );\n                ") completed

[2025-07-15 22:02:40.813] [info]  [dived] DEBUG aiosqlite:run:104 :: executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001F11C2409A0>)
DEBUG aiosqlite:run:106 :: operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001F11C2409A0>) completed
DEBUG aiosqlite:run:104 :: executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001F11C28ECC0>)
DEBUG aiosqlite:run:106 :: operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001F11C28ECC0>) completed
INFO dive_mcp_host.httpd.server:prepare:164 :: Server Prepare Complete

[2025-07-15 22:02:40.814] [info]  [dived] INFO dive_mcp_host.httpd.server:report_status:267 :: Report status to file: C:\Users\Lucio\.dive\host_cache\bus
INFO uvicorn.error:startup:62 :: Application startup complete.

[2025-07-15 22:02:40.815] [info]  received message from host service {
  timestamp: '2025-07-15T20:02:40.813677+00:00',
  server: { listen: { ip: '127.0.0.1', port: 61990 } },
  status: { state: 'UP', last_error: null, error_code: null }
}
[2025-07-15 22:02:40.815] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_stdio_client_watcher:347 :: Attempting to initialize client echo

[2025-07-15 22:02:40.816] [info]  received message from host service {
  timestamp: '2025-07-15T20:02:40.813677+00:00',
  server: { listen: { ip: '127.0.0.1', port: 61990 } },
  status: { state: 'UP', last_error: null, error_code: null }
}
[2025-07-15 22:02:40.817] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_stdio_client_watcher:347 :: Attempting to initialize client fetch

[2025-07-15 22:02:40.818] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_stdio_client_watcher:347 :: Attempting to initialize client filesystem

[2025-07-15 22:02:40.818] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_stdio_client_watcher:347 :: Attempting to initialize client youtubedl
DEBUG dive_mcp_host.host.tools.mcp_server:_stdio_client_watcher:347 :: Attempting to initialize client searxng

[2025-07-15 22:02:40.835] [info]  [dived] INFO uvicorn.error:_log_started_message:215 :: Uvicorn running on http://127.0.0.1:61990 (Press CTRL+C to quit)

[2025-07-15 22:02:40.836] [info]  [dived] INFO dive_mcp_host.host.tools.stdio_server:_create_platform_compatible_process:188 :: launched process: C:\Users\Lucio\AppData\Local\Programs\Dive\resources\node\node.EXE, pid: 8884

[2025-07-15 22:02:40.836] [info]  [dived] INFO dive_mcp_host.host.tools.stdio_server:_create_platform_compatible_process:188 :: launched process: C:\Users\Lucio\AppData\Local\Programs\Dive\resources\uv\uvx.EXE, pid: 28616
INFO dive_mcp_host.host.tools.stdio_server:_create_platform_compatible_process:188 :: launched process: C:\Users\Lucio\AppData\Local\Programs\Dive\resources\node\npx.cmd, pid: 28132
INFO dive_mcp_host.host.tools.stdio_server:_create_platform_compatible_process:188 :: launched process: C:\Users\Lucio\AppData\Local\Programs\Dive\resources\node\npx.cmd, pid: 1592
INFO dive_mcp_host.host.tools.stdio_server:_create_platform_compatible_process:188 :: launched process: C:\Users\Lucio\mcp-servers\mpc-searxng\.venv\Scripts\python.exe, pid: 7284

[2025-07-15 22:02:40.952] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:__change_state:261 :: client status changed, echo running, error: None

[2025-07-15 22:02:40.953] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_init_tool_info:181 :: Client echo initialized successfully with 1 tools

[2025-07-15 22:02:41.356] [error] [dived] [07/15/25 22:02:41] INFO     Processing request of type           server.py:625

                             ListToolsRequest                                  


[2025-07-15 22:02:41.357] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:__change_state:261 :: client status changed, searxng running, error: None

[2025-07-15 22:02:41.357] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_init_tool_info:181 :: Client searxng initialized successfully with 1 tools

[2025-07-15 22:02:41.409] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:__change_state:261 :: client status changed, fetch running, error: None

[2025-07-15 22:02:41.410] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_init_tool_info:181 :: Client fetch initialized successfully with 1 tools

[2025-07-15 22:02:41.772] [error] [dived] Secure MCP Filesystem Server running on stdio

[2025-07-15 22:02:41.773] [error] [dived] Allowed directories: [ 'C:\\Users\\Lucio\\test-dive' ]

[2025-07-15 22:02:41.778] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:__change_state:261 :: client status changed, filesystem running, error: None
DEBUG dive_mcp_host.host.tools.mcp_server:_init_tool_info:181 :: Client filesystem initialized successfully with 12 tools

[2025-07-15 22:02:43.436] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:__change_state:261 :: client status changed, youtubedl running, error: None

[2025-07-15 22:02:43.437] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_init_tool_info:181 :: Client youtubedl initialized successfully with 4 tools

[2025-07-15 22:03:24.533] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:63965 - "GET /api/ping HTTP/1.1" 404

[2025-07-15 22:03:24.537] [info]  [dived] INFO uvicorn.access:send:473 :: 127.0.0.1:63965 - "GET /api/config/model HTTP/1.1" 200

LucioPg avatar Jul 15 '25 20:07 LucioPg

@LucioPg Thank you for providing the log, but unfortunately, I still cannot find the problem. The log appears to be normal.

johnfunmula avatar Jul 17 '25 02:07 johnfunmula

@LucioPg Do you mind helping me test with this version again? I have enabled the debugging tools in this version, and I need to know what happens during startup.

https://github.com/johnfunmula/Dive/releases/tag/test

johnfunmula avatar Jul 17 '25 06:07 johnfunmula

@johnfunmula This seems clean too, sorry I can not help other than just provide these logs

[2025-07-17 22:37:24.387] [info]  cleanup
[2025-07-17 22:37:24.388] [info]  killing host process
[2025-07-17 22:37:44.378] [info]  migrating prebuilt scripts
[2025-07-17 22:37:46.418] [info]  installing host dependencies
[2025-07-17 22:37:46.421] [info]  httpd executing path:  C:\Users\Lucio\AppData\Local\Programs\Dive\resources\python\python.exe
[2025-07-17 22:37:46.422] [info]  spawn host with C:\Users\Lucio\AppData\Local\Programs\Dive\resources\python\python.exe -I -c import sys; sys.path.extend(['C:\\Users\\Lucio\\AppData\\Local\\Programs\\Dive\\resources\\mcp-host', 'C:\\Users\\Lucio\\.dive\\host_cache\\deps']); from dive_mcp_host.httpd._main import main; main() --port 0 --report_status_file C:\Users\Lucio\.dive\host_cache\bus --cors * --log_dir C:\Users\Lucio\AppData\Local\dive\Log\host --log_level DEBUG
[2025-07-17 22:37:46.427] [info]  host process spawned
[2025-07-17 22:37:47.629] [info]  [dived] DEBUG asyncio:__init__:634 :: Using proactor: IocpProactor

[2025-07-17 22:37:47.639] [info]  [dived] INFO uvicorn.error:_serve:83 :: Started server process [11172]
INFO uvicorn.error:startup:48 :: Waiting for application startup.

[2025-07-17 22:37:47.639] [info]  [dived] INFO dive_mcp_host.httpd.server:prepare:118 :: Server Prepare
INFO dive_mcp_host.httpd.server:_load_configs:108 :: Loading configs
INFO dive_mcp_host.httpd.conf.mcp_servers:initialize:80 :: Initializing MCPServerManager from C:\Users\Lucio\.dive\config\mcp_config.json
INFO dive_mcp_host.httpd.conf.models:initialize:35 :: Initializing ModelManager from C:\Users\Lucio\.dive\config\model_config.json

[2025-07-17 22:37:47.640] [info]  [dived] INFO dive_mcp_host.httpd.conf.prompt:initialize:42 :: Initializing PromptManager from C:\Users\Lucio\.dive\config\custom_rules
INFO dive_mcp_host.httpd.conf.command_alias:initialize:50 :: Initializing CommandAliasManager from C:\Users\Lucio\.dive\config\command_alias.json
INFO dive_mcp_host.httpd.server:_load_configs:113 :: Configs loaded
INFO dive_mcp_host.httpd.database.migrate:db_migration:24 :: running migration

[2025-07-17 22:37:47.644] [info]  [dived] INFO alembic.runtime.migration:__init__:207 :: Context impl SQLiteImpl.
INFO alembic.runtime.migration:__init__:210 :: Will assume non-transactional DDL.

[2025-07-17 22:37:47.653] [info]  [dived] INFO dive_mcp_host.httpd.database.migrate:db_migration:29 :: finish migration

[2025-07-17 22:37:47.653] [info]  [dived] INFO dive_mcp_host.httpd.store.cache:__init__:34 :: LocalCache directory: C:\Users\Lucio\.dive\host_cache\cache
INFO dive_mcp_host.httpd.store.cache:__init__:35 :: LocalCache file prefix: dive_mcp_host

[2025-07-17 22:37:47.654] [info]  [dived] INFO dive_mcp_host.httpd.store.cache:__init__:37 :: LocalCache directory prepared

[2025-07-17 22:37:47.654] [info]  [dived] DEBUG dive_mcp_host.models:load_model:43 :: Loading model qwen14_max:latest with provider ollama, kwargs: {'disable_streaming': False, 'base_url': 'http://localhost:11434'}

[2025-07-17 22:37:48.133] [info]  [dived] DEBUG aiosqlite:run:104 :: executing <function connect.<locals>.connector at 0x00000210E65BF6A0>

[2025-07-17 22:37:48.134] [info]  [dived] DEBUG aiosqlite:run:106 :: operation <function connect.<locals>.connector at 0x00000210E65BF6A0> completed

[2025-07-17 22:37:48.134] [info]  [dived] DEBUG aiosqlite:run:104 :: executing functools.partial(<built-in method executescript of sqlite3.Connection object at 0x00000210E66CD6C0>, "\n                PRAGMA journal_mode=WAL;\n                CREATE TABLE IF NOT EXISTS checkpoints (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    parent_checkpoint_id TEXT,\n                    type TEXT,\n                    checkpoint BLOB,\n                    metadata BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id)\n                );\n                CREATE TABLE IF NOT EXISTS writes (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    task_id TEXT NOT NULL,\n                    idx INTEGER NOT NULL,\n                    channel TEXT NOT NULL,\n                    type TEXT,\n                    value BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id, task_id, idx)\n                );\n                ")

[2025-07-17 22:37:48.135] [info]  [dived] DEBUG aiosqlite:run:106 :: operation functools.partial(<built-in method executescript of sqlite3.Connection object at 0x00000210E66CD6C0>, "\n                PRAGMA journal_mode=WAL;\n                CREATE TABLE IF NOT EXISTS checkpoints (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    parent_checkpoint_id TEXT,\n                    type TEXT,\n                    checkpoint BLOB,\n                    metadata BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id)\n                );\n                CREATE TABLE IF NOT EXISTS writes (\n                    thread_id TEXT NOT NULL,\n                    checkpoint_ns TEXT NOT NULL DEFAULT '',\n                    checkpoint_id TEXT NOT NULL,\n                    task_id TEXT NOT NULL,\n                    idx INTEGER NOT NULL,\n                    channel TEXT NOT NULL,\n                    type TEXT,\n                    value BLOB,\n                    PRIMARY KEY (thread_id, checkpoint_ns, checkpoint_id, task_id, idx)\n                );\n                ") completed

[2025-07-17 22:37:48.135] [info]  [dived] DEBUG aiosqlite:run:104 :: executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x00000210E66CD6C0>)
DEBUG aiosqlite:run:106 :: operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x00000210E66CD6C0>) completed
DEBUG aiosqlite:run:104 :: executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x00000210E6762A40>)
DEBUG aiosqlite:run:106 :: operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x00000210E6762A40>) completed

[2025-07-17 22:37:48.136] [info]  [dived] INFO dive_mcp_host.httpd.server:prepare:164 :: Server Prepare Complete
INFO dive_mcp_host.httpd.server:report_status:267 :: Report status to file: C:\Users\Lucio\.dive\host_cache\bus

[2025-07-17 22:37:48.136] [info]  [dived] INFO uvicorn.error:startup:62 :: Application startup complete.

[2025-07-17 22:37:48.137] [info]  received message from host service {
  timestamp: '2025-07-17T20:37:48.135672+00:00',
  server: { listen: { ip: '127.0.0.1', port: 61990 } },
  status: { state: 'UP', last_error: null, error_code: null }
}
[2025-07-17 22:37:48.138] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_stdio_client_watcher:347 :: Attempting to initialize client echo

[2025-07-17 22:37:48.139] [info]  received message from host service {
  timestamp: '2025-07-17T20:37:48.135672+00:00',
  server: { listen: { ip: '127.0.0.1', port: 61990 } },
  status: { state: 'UP', last_error: null, error_code: null }
}
[2025-07-17 22:37:48.139] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_stdio_client_watcher:347 :: Attempting to initialize client fetch

[2025-07-17 22:37:48.140] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_stdio_client_watcher:347 :: Attempting to initialize client filesystem
DEBUG dive_mcp_host.host.tools.mcp_server:_stdio_client_watcher:347 :: Attempting to initialize client youtubedl

[2025-07-17 22:37:48.140] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_stdio_client_watcher:347 :: Attempting to initialize client searxng

[2025-07-17 22:37:48.156] [info]  [dived] INFO uvicorn.error:_log_started_message:215 :: Uvicorn running on http://127.0.0.1:61990 (Press CTRL+C to quit)

[2025-07-17 22:37:48.156] [info]  [dived] INFO dive_mcp_host.host.tools.stdio_server:_create_platform_compatible_process:188 :: launched process: C:\Users\Lucio\AppData\Local\Programs\Dive\resources\node\node.EXE, pid: 37464

[2025-07-17 22:37:48.157] [info]  [dived] INFO dive_mcp_host.host.tools.stdio_server:_create_platform_compatible_process:188 :: launched process: C:\Users\Lucio\AppData\Local\Programs\Dive\resources\uv\uvx.EXE, pid: 41948

[2025-07-17 22:37:48.157] [info]  [dived] INFO dive_mcp_host.host.tools.stdio_server:_create_platform_compatible_process:188 :: launched process: C:\Users\Lucio\AppData\Local\Programs\Dive\resources\node\npx.cmd, pid: 28604
INFO dive_mcp_host.host.tools.stdio_server:_create_platform_compatible_process:188 :: launched process: C:\Users\Lucio\AppData\Local\Programs\Dive\resources\node\npx.cmd, pid: 38428
INFO dive_mcp_host.host.tools.stdio_server:_create_platform_compatible_process:188 :: launched process: C:\Users\Lucio\mcp-servers\mpc-searxng\.venv\Scripts\python.exe, pid: 31512

[2025-07-17 22:37:48.283] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:__change_state:261 :: client status changed, echo running, error: None

[2025-07-17 22:37:48.284] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_init_tool_info:181 :: Client echo initialized successfully with 1 tools

[2025-07-17 22:37:48.686] [error] [dived] [07/17/25 22:37:48] INFO     Processing request of type           server.py:625

                             ListToolsRequest                                  


[2025-07-17 22:37:48.687] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:__change_state:261 :: client status changed, searxng running, error: None

[2025-07-17 22:37:48.687] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_init_tool_info:181 :: Client searxng initialized successfully with 1 tools

[2025-07-17 22:37:49.133] [error] [dived] Secure MCP Filesystem Server running on stdio

[2025-07-17 22:37:49.133] [error] [dived] Allowed directories: [ 'C:\\Users\\Lucio\\test-dive' ]

[2025-07-17 22:37:49.138] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:__change_state:261 :: client status changed, filesystem running, error: None

[2025-07-17 22:37:49.138] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_init_tool_info:181 :: Client filesystem initialized successfully with 12 tools

[2025-07-17 22:37:49.853] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:__change_state:261 :: client status changed, fetch running, error: None

[2025-07-17 22:37:49.853] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_init_tool_info:181 :: Client fetch initialized successfully with 1 tools

[2025-07-17 22:37:51.050] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:__change_state:261 :: client status changed, youtubedl running, error: None

[2025-07-17 22:37:51.051] [info]  [dived] DEBUG dive_mcp_host.host.tools.mcp_server:_init_tool_info:181 :: Client youtubedl initialized successfully with 4 tools


LucioPg avatar Jul 17 '25 20:07 LucioPg

@johnfunmula for what it's worth I can tell you that the console does not show up, even trying with keyboard shortcut, but running it from the source it's ok.

LucioPg avatar Jul 17 '25 20:07 LucioPg

@LucioPg Thank you for your test. We are currently undergoing major internal changes, so it might be better to wait until that version is released before trying again.

johnfunmula avatar Jul 18 '25 01:07 johnfunmula