-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Pipeline fails during 'dump' phase if UserProfile path contains non-ASCII characters #996
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingeditor/integrationEditor compatibility and CLI integrationEditor compatibility and CLI integrationparsing/qualityGraph extraction bugs, false positives, missing edgesGraph extraction bugs, false positives, missing edgespriority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.Needs near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.stability/performanceServer crashes, OOM, hangs, high CPU/memoryServer crashes, OOM, hangs, high CPU/memorywindowsWindows-specific issuesWindows-specific issues
Milestone
Description
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingeditor/integrationEditor compatibility and CLI integrationEditor compatibility and CLI integrationparsing/qualityGraph extraction bugs, false positives, missing edgesGraph extraction bugs, false positives, missing edgespriority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.Needs near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.stability/performanceServer crashes, OOM, hangs, high CPU/memoryServer crashes, OOM, hangs, high CPU/memorywindowsWindows-specific issuesWindows-specific issues
Version
codebase-memory-mcp --0.9.0
Platform
Windows (x64)
Install channel
GitHub release archive / install.sh / install.ps1
Binary variant
standard
What happened, and what did you expect?
Describe the bug
When running
index_repositoryon Windows, the pipeline consistently fails during thedumpphase. This happens because my Windows user profile path contains non-ASCII characters (for example:C:\Users\Kovács János).The SQLite/storage engine seems to fail when attempting to write the
graph.dbartifact to~/.codebase-memorydue to character encoding issues with accented letters in the path.Expected behavior
The server should properly handle UTF-8/non-ASCII characters in Windows file paths when resolving the cache or storage directories.
Reproduction
Use a Windows machine where the
USERPROFILEpath contains non-ASCII characters (e.g.C:\Users\Kovács János).Install the MCP server using the official PowerShell installer.
Run the
index_repositoryMCP tool on any project.The extraction and resolution phases complete successfully.
It crashes exactly at the end with
level=error msg=pipeline.err phase=dump.The code being indexed:
This is not related to the codebase itself. Any standard project (e.g. an empty Laravel or Node.js project) will trigger this if the Windows
USERPROFILEpath contains non-ASCII characters (e.g.C:\Users\Kovács János).The exact command or MCP tool call:
Via MCP tool call (
index_repository):{ "repo_path": "c:\\xampp\\htdocs\\myproject", "mode": "fast" } ### Logs ```text level=error msg=pipeline.err phase=dump {"project":"C-xampp-htdocs-myproject","status":"error","hint":"Pipeline failed. Check repo_path exists and contains source files. Try mode='fast' for a quicker diagnostic run."}Diagnostics trajectory (memory / performance / leak issues)
Project scale (if relevant)
No response
Confirmations