-
Notifications
You must be signed in to change notification settings - Fork 43.1k
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
Creates the file under autogpt folder but while executing the script gives error #3735
Comments
Same issue but on Windows. I asked Auto-Gpt to generate an Angular application: Initial Prompt:
Result:
I have Docker Desktop installed and I'm running locally with run.bat so doesn't seem like a reasonable response. |
I am also running locally on windows with run.bat and my docker version is docker --version |
Good lord. Thanks for the pointer @k-boikov . Clean Windows install and in the middle of restarts for other things I hadn't noticed that Docker Desktop needed a wsl update to get the engine going. Did that, docker was then running correctly and Auto-GPT was able to get past that issue. That combined with setting EXECUTE_LOCAL_COMMANDS=True in .env got me moving. Still some wonkiness in the overall process (not directly Auto-GPT related I don't believe - more likely some details on windows paths in the prompt to iron out). Thanks! |
C:\Users\Derek>docker run hello-world Hello from Docker! To generate this message, Docker took the following steps:
To try something more ambitious, you can run an Ubuntu container with: Share images, automate workflows, and more with a free Docker ID: For more examples and ideas, visit: |
Now as a note, my specific issue may be fixed already in 3.0.1 due to particular code being merged in, so I'm waiting for that version to get merged into stable |
This is the sort of info that we would ideally capture/show during startup or at the very least by providing a dedicated command so that folks can provide more actionable bug reports |
is it possible that this is related to the issue that this PR tries to resolve? #3875 |
for auto-gpt running inside docker to have this sort of version info about docker itself, I suppose the docker-compose/Dockerfile stuff would need changing to pass its own version numbers into the container, so that autogpt actually knows that it's being containerized |
I'm getting the same error -- I've been trying using autogpt to make a list of concert dates and prices, just to test it out. It can't seem to be able to write a file and it tries to execute a .py file which doesn't exist.. It does this in loop forever..
|
I have been struggling with getting it to recognize a csv file inside a python script. It can read the csv from the auto_gpt_workspace. but when I have it execute a python script with a pandas read_csv(filename) it says the file isnt there. the path is correct, obviously it just read the file. |
Same problem. How did you resolve? |
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days. |
This issue was closed automatically because it has been stale for 10 days with no activity. |
Which Operating System are you using?
MacOS
Which version of Auto-GPT are you using?
Latest Release
GPT-3 or GPT-4?
GPT-3.5
Steps to reproduce 🕹
Give the prompt to write and code and test it.
Current behavior 😯
It creates the file under autogpt folder. But while executing it throws below error
Could not run the script in a container. If you haven't already, please install Docker https://docs.docker.com/get-docker/
Due to this te agent gets into infinite loop
Expected behavior 🤔
It should be able to run the script(program file) so that it can check the response and improve itself
Your prompt 📝
Your Logs 📒
The text was updated successfully, but these errors were encountered: