-
Notifications
You must be signed in to change notification settings - Fork 44.4k
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
PermissionError: [Errno 13] Permission denied: '../logs' #1328
Comments
I'm facing the same error when running it on a dev container in vscode. It's running on a Macbook Pro with M1 if it helps |
same experience. |
I think there is some ongoing development to fix the issue |
Same issue here. (Windows + DevContainer) |
+1 |
- Fixes issues with `PermissionError: [Errno 13] Permission denied: '../logs'` - Use the built-in `env_file` option instead of copying the `.env` file to the container. Fixes Significant-Gravitas#1328
+1 (DevContainer on Mac) |
+1 (DevContainer on Mac M2) |
I did something similar to @mahmoudrabie but instead I am changing the way the path is concatenated: # create log directory if it doesn't exist
this_files_dir_path = os.path.dirname(__file__)
log_dir = f"{this_files_dir_path}/../logs"
if not os.path.exists(log_dir):
os.makedirs(log_dir) |
I'm running docker container on macOS. # RUN chown appuser:appuser /home/appuser
RUN chown appuser:appuser /home |
Dear @stuszynski What are the steps to resolve it completely |
@mahmoudrabie I think it's now resolved by #1199 |
Thanks @stuszynski for your prompt response So after reverting the workaround change I made above in my already cloned and updated copy, would you please guide me what to do |
Please update your versions |
Dear Auto-GPT Team,
When I tried to run the following command
python scripts/main.py --debug
I got the following error
I would appreciate your help
Kind regards
Mahmoud
The text was updated successfully, but these errors were encountered: