Skip to content
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 no such file or directory #1363

Closed
1 task done
denen99 opened this issue Apr 14, 2023 · 6 comments
Closed
1 task done

execute_python_file no such file or directory #1363

denen99 opened this issue Apr 14, 2023 · 6 comments

Comments

@denen99
Copy link

denen99 commented Apr 14, 2023

Duplicates

  • I have searched the existing issues

Steps to reproduce 🕹

Set a goal that ends up writing a python file to take some action

wait for auto-gpt to try that action

Current behavior 😯

Getting the error

Executing file 'data_analysis.py' in workspace 'auto_gpt_workspace'
SYSTEM: Command execute_python_file returned: Error: File 'data_analysis.py' does not exist.

Expected behavior 🤔

The python script executes

Your prompt 📝

# Create a list of every museum in the UK
@richbeales
Copy link
Contributor

does a file by that name exist in auto_gpt_workspace subfolder?

@denen99
Copy link
Author

denen99 commented Apr 14, 2023

It does not, which was what confuses me. And yes it's writeable, bc it has written other files in there for other Goals, I triple checked that

@Jun10ng
Copy link

Jun10ng commented Apr 15, 2023

+1
Does need to create a Python file in hand by autogpt's ACTION?

@CalyxNZ
Copy link

CalyxNZ commented Apr 16, 2023

getting the same issue.

@nobita2041 nobita2041 mentioned this issue Apr 16, 2023
@hatgit
Copy link

hatgit commented Apr 21, 2023

Any solution for this, I also see the autogpt workspace folder is empty and error SYSTEM: Command execute_python_file returned: Error: File expected-python-file.py missing

@ntindle
Copy link
Member

ntindle commented Apr 23, 2023

Fixed

@ntindle ntindle closed this as completed Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants