Skip to content

Rust panic at Claude Desktop Start #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SpeedySH opened this issue May 29, 2025 · 1 comment · Fixed by #20
Closed

Rust panic at Claude Desktop Start #19

SpeedySH opened this issue May 29, 2025 · 1 comment · Fixed by #20
Labels
bug Something isn't working

Comments

@SpeedySH
Copy link

thread 'main' panicked at src\fs_service.rs:516:53:
range end index 41 out of range for slice of length 2
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2025-05-29T16:48:53.413Z [filesystem] [info] Message from client: {"jsonrpc":"2.0","method":"notifications/cancelled","params":{"requestId":175,"reason":"Error: MCP error -32001: Request timed out"}}
2025-05-29T16:48:53.417Z [filesystem] [info] Server transport closed
2025-05-29T16:48:53.418Z [filesystem] [info] Client transport closed
2025-05-29T16:48:53.418Z [filesystem] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-05-29T16:48:53.418Z [filesystem] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
2025-05-29T16:48:53.419Z [filesystem] [info] Client transport closed
2025-05-29T16:55:57.953Z [filesystem] [info] Initializing server...
2025-05-29T16:55:57.993Z [filesystem] [error] spawn rust-mcp-filesystem ENOENT {"context":"connection","stack":"Error: spawn rust-mcp-filesystem ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}
2025-05-29T16:55:57.994Z [filesystem] [error] spawn rust-mcp-filesystem ENOENT {"stack":"Error: spawn rust-mcp-filesystem ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}
2025-05-29T16:55:58.031Z [filesystem] [info] Server transport closed
2025-05-29T16:55:58.032Z [filesystem] [info] Client transport closed
2025-05-29T16:55:58.032Z [filesystem] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-05-29T16:55:58.032Z [filesystem] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
2025-05-29T16:57:22.206Z [filesystem] [info] Initializing server...
2025-05-29T16:57:22.245Z [filesystem] [error] spawn rust-mcp-filesystem ENOENT {"context":"connection","stack":"Error: spawn rust-mcp-filesystem ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}
2025-05-29T16:57:22.246Z [filesystem] [error] spawn rust-mcp-filesystem ENOENT {"stack":"Error: spawn rust-mcp-filesystem ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}
2025-05-29T16:57:22.293Z [filesystem] [info] Server transport closed
2025-05-29T16:57:22.293Z [filesystem] [info] Client transport closed
2025-05-29T16:57:22.294Z [filesystem] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-05-29T16:57:22.294Z [filesystem] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
@hashemix hashemix added the bug Something isn't working label May 29, 2025
@hashemix
Copy link
Member

Interesting, that is an edge case when LLM requests an invalid/impossible edit operation. Will be fixed in the upcoming version soon. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants