-
Notifications
You must be signed in to change notification settings - Fork 44.8k
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
execute_python_file throws opaque error if docker is not installed #2006
Comments
Yea mine hasn't been able to execute and python ether. Haven't really looked into it though |
You need to have Docker Desktop running for that to work. |
Have the same issue but the bot normally issues a search command for the filename specified, finds the file (in the working directory), and can then execute the file. It seems a search must be performed first before execution of the file can be done It has happened this way for me several times. |
I could only execute these files if I asked AutoGPT to run the 'python hello_world.py' command using the command line. |
I have Docker desktop running, but when Auto-GPT trys to execute a command we get NEXT ACTION: COMMAND = execute_python_file ARGUMENTS = {'file': 'authenticate_notion.py'} The file does exists, just isn't visible it seems to auto-gpt |
The issue is that someone rewrote the execute_python_file command to assume it was in a docker container. An app expecting to be in a docker container that isn't throws a file not found error. Was going nuts from this. Just now had ChatGPT rip out the docker crap for me. Here's my execute_code.py file: |
This bug is annoying me for a week |
GPT-3 or GPT-4
Steps to reproduce 🕹
CRITICISM: I need to ensure that the command is working properly before attempting to locate and fix the issue with the trading strategies file.
NEXT ACTION: COMMAND = execute_python_file ARGUMENTS = {'file': 'hello_world.py'}
Executing file 'hello_world.py' in workspace 'E:\auto\Auto-GPT\auto_gpt_workspace'
SYSTEM: Command execute_python_file returned: Error: Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')
The JSON object is valid.
Current behavior 😯
No response
Expected behavior 🤔
The only way I managed to make execute file work was to get rid of docker stuff and re-write it using subprocess.
Your prompt 📝
# Paste your prompt here
The text was updated successfully, but these errors were encountered: