-
Notifications
You must be signed in to change notification settings - Fork 43.7k
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
Bug?: Attempted to access absolute path....in my own workspace #3705
Comments
Similar issue - windows 10 environment - not virtual env - not docker After some thinking it started asking to list files in the working directory but defaulted for some reason to a linux mnt location and did not recognize it was on windows or the relative path to the working directory from wence it started... restrict to working env is true for me
so... I told it to
this then seemed to take but then it started looking for the working directory on C: drive (my instance is on G: drive). I then had to tell it the absolute path to the working directory - and not it is reading files in that directory and writing to them just fine... sorta... it gives that Errir attempted to access absolute path - but it still works... not sure why
idk - but it is working now... will test more later |
@GoZippy Check out https://github.com/hdkiller/Auto-GPT-SystemInfo it will make sure to use system commands for your OS |
Yes. This needs to be included in master... nice work/ find |
@GoZippy i agree, a lot of people's frustrations beyond getting this installed is running into invalid system commands and thinking it's borked lol |
Same problem with windows 11, I have the same error and Autogpt works at 20% with this problem that I don't understand. nothing works. I decided to wait for updates. everything goes very fast :)) |
Here's my fix: |
Which Operating System are you using?
MacOS
Which version of Auto-GPT are you using?
Stable (branch)
GPT-3 or GPT-4?
GPT-3.5
Steps to reproduce 🕹
This can be reproduced anytime AutoGPT tries to write to a file in my workspace using absolute path.
I want Auto-GPT to: Get the top 5 trending news articles about UFOs and Aliens
Current behavior 😯
I get an error:
Attempted to access absolute path '/Users/stefanayala/Auto-GPT/autogpt/auto_gpt_workspace' in workspace '/Users/stefanayala/Auto-GPT/autogpt/auto_gpt_workspace'.
Which im confused because even though it's an absolute path, it's a valid one in the workspace
I then tell it to use a relative path and it's fine (though it creates another workspace directory relative to it's own lol)
Expected behavior 🤔
I expect it to not throw an error if the absolute path is attempting to access my workspace
Your prompt 📝
# Paste your prompt here
Your Logs 📒
The text was updated successfully, but these errors were encountered: