AutoAgent icon indicating copy to clipboard operation
AutoAgent copied to clipboard

Can't open file /workplace/tcp_server.py

Open rhyswynn opened this issue 10 months ago • 4 comments

I have shared the path in Docker desktop, and when I click the link in the resource sharing panel, it opens to the workplace folder, and if I open that it shows the tcp_server.py file. I changed the permissions on the file so it was executable and RW to everyone, but still it gives the same errno 2 No such file or directory, and the container shuts down. Any ideas?

rhyswynn avatar Mar 14 '25 01:03 rhyswynn

the error message when first setting up mentions the path that needs to be shared, including the /workplace. That doesn't work. Sharing the parent of workplace solved this problem.

<parent of AutoAgent root>/AutoAgent/workspace_meta_showcase/showcase_auto_agent

rhyswynn avatar Mar 14 '25 02:03 rhyswynn

I'm just reopening it because it should be a simple thing to update the documentation to be more clear that the parent of the workplace directory needs to be shared, not the workplace directory itself.

rhyswynn avatar Mar 14 '25 09:03 rhyswynn

我只是重新打开它,因为更新文档应该是一件简单的事情,更清楚地表明需要共享工作场所目录的父级,而不是工作场所目录本身。

I’m experiencing the same issue, but I'm having difficulties with the shared path. Would you mind sharing the exact command you used? I’d greatly appreciate it.

4blacktea avatar Apr 04 '25 20:04 4blacktea

I’m experiencing the same issue, but I'm having difficulties with the shared path. Would you mind sharing the exact command you used? I’d greatly appreciate it.

I didn't use a command, I just modified the shared path in docker desktop.A shared path needs to be created that points to a subdirectory of the AutoAgent path. So if you have AutoAgent installed to C:\AutoAgent, the shared path would be C:\AutoAgent\workspace_meta_showcase\showcase_auto_agent

Go to Settings, Resources, File sharing to add the shared path, or google how to add a shared path to docker for a command line. As far as I can tell, that path has to be a subdirectory of the AutoAgent install path, unless you create a linked folder there.

rhyswynn avatar Apr 04 '25 23:04 rhyswynn