-
Notifications
You must be signed in to change notification settings - Fork 44.5k
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
Can not access *.py files for execution #1896
Comments
To me it seems that it is executing the file, which throws the |
it can't access the disk :(
|
That is an unrelated issue, duplicate of #1862. |
It should be at least partially fixed now. Can you pull and try again? |
Bug is still here
|
Looks like the execution differs if you are running autogpt inside of a docker container. That error A, maybe risky, workaround is to create the file If that's true, it will just try to execute the python script, without using docker. |
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: |
It seems right, but after I changed the execute_code.py file as your did and ran the command, the return of the SYSTEM was nothing, while it should return the output of the Python program. |
I'm sorry to hear that. I just now ran it through some code analysis tools and they all say it's good. First thing I did after replacing it was have the bot write and execute a hello world. Then I had it generate and execute a "moderately complicated python file". It's happily pythoning away as we speak,. |
|
Glad my little ChatGPT toolset can help people. |
Superseded by #2006 |
bug is still here
|
@iva-nova-e-katerina please continue in #2006 if you still have issues with the latest version of |
Duplicates
Steps to reproduce 🕹
...
EXECUTE_LOCAL_COMMANDS=True
...
python3 scripts/main.py --continuous --gpt3only
y
Current behavior 😯
But 'evaluate_net_worth_strategies.py exists! in Auto-GPT/auto_gpt_workspace ! I swear
Expected behavior 🤔
*.py file execution
Your prompt 📝
# Paste your prompt here
The text was updated successfully, but these errors were encountered: