Skip to content

Start error due to invalid configuration. #4

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
zcf0508 opened this issue Mar 28, 2025 · 6 comments · Fixed by #5
Closed

Start error due to invalid configuration. #4

zcf0508 opened this issue Mar 28, 2025 · 6 comments · Fixed by #5
Assignees
Labels
bug Something isn't working

Comments

@zcf0508
Copy link

zcf0508 commented Mar 28, 2025

Error: FilesystemServer: invalid config: failed to access directory /Users/cfc4n/Downloads/moling_data: stat /Users/cfc4n/Downloads/moling_data: no such file or directory

I think this case is from the absolute config path here, browser_config.

@Kabochar
Copy link

Same with running on windows system

$ ./moling.exe config
2025-03-28T10:08:58+08:00 INF Start to show config
Error: FilesystemServer: invalid config: failed to access directory D:\Users\cfc4n\Downloads\moling_data: CreateFile D:\Users\cfc4n\Downloads\moling_data: The system cannot find the path specified.

execution file source

https://github.com/gojue/moling/releases/tag/v0.0.3
moling-v0.0.3-windows-amd64.zip

$ ./moling.exe -v
moling version: windows-amd64-20250327162636-fcc4d2a

@shaohongwu
Copy link

moling version: windows-amd64-20250327162636-fcc4d2a
我也碰到一样的报错

@cfc4n cfc4n added the bug Something isn't working label Mar 28, 2025
@cfc4n cfc4n self-assigned this Mar 28, 2025
@cfc4n cfc4n linked a pull request Mar 28, 2025 that will close this issue
@cfc4n
Copy link
Member

cfc4n commented Mar 28, 2025

这个bug我稍候修复,不过,我没在windows上测试,可能有些功能有bug。

cfc4n added a commit that referenced this issue Mar 28, 2025
* feat: enhance browser and command execution with improved configuration and data path handling

Signed-off-by: cfc4n <[email protected]>

* refactor: streamline directory creation and improve configuration access in CommandServer

Signed-off-by: cfc4n <[email protected]>

---------

Signed-off-by: cfc4n <[email protected]>
@cfc4n cfc4n closed this as completed in #5 Mar 28, 2025
@luoluoluo22
Copy link

luoluoluo22 commented Apr 7, 2025

windows直接使用命令:

powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.ps1 | iex"

安装有问题,首先安装后应该提示需要重启终端,然后重启终端后运行命令:

C:\Users\Administrator>moling
Error: invalid config: failed to access directory C:\tmp: CreateFile C:\tmp: The system cannot find the file specified.
出现报错。

后来我直接下载amd版本的压缩包之后,在所在文件夹用命令打开中命令:moling client --install。安装成功!
贴心的是claude、cline和roo cline都有配置

然而当我在命令行运行moling启动服务后,在roocode中使用出现了问题:Error executing MCP tool:
No connection found for server: F:\Backup\Downloads\moling-v0.1.0-windows-amd64\moling.exe. Please make sure to use MCP servers available under 'Connected MCP Servers'.

Image

@cfc4n cfc4n reopened this Apr 7, 2025
@cfc4n
Copy link
Member

cfc4n commented Apr 7, 2025

后来我直接下载amd版本的压缩包之后,在所在文件夹用命令打开中命令:moling client --install。安装成功!
贴心的是claude、cline和roo cline都有配置

如果在下载后的目录里,执行moling.exe client --install 的话,MCP Client的配置会被改成 你执行文件的路径的。

@cfc4n
Copy link
Member

cfc4n commented Apr 7, 2025

@luoluoluo22 试试 v0.1.1

@cfc4n cfc4n closed this as completed Apr 12, 2025
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.

5 participants