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

fix: shorebird cache clean fails with log file not found #2233

Closed
erickzanardo opened this issue Jun 13, 2024 · 0 comments · Fixed by #2235
Closed

fix: shorebird cache clean fails with log file not found #2233

erickzanardo opened this issue Jun 13, 2024 · 0 comments · Fixed by #2235
Assignees
Labels
bug Something isn't working

Comments

@erickzanardo
Copy link
Contributor

Description

When trying to run shorebird cache clean we get the following error:

✗ Failed to delete cache directory /Users/erick/projects/shorebird/shorebird/bin/cache: FileSystemException: Deletion failed, path = '/Users/erick/Library/Application Support/shorebird/logs' (OS Error: Directory not empty, errno = 66) (0.8s)

This is mostly likely happening because we delete the log file in this command, but tries to log to it to show the completed progress.

Also reported at #2231

Steps To Reproduce

  1. run shorebird cache clean
  2. see erro

Expected Behavior

shorebird cache clean should no fail with error

@erickzanardo erickzanardo added the bug Something isn't working label Jun 13, 2024
@erickzanardo erickzanardo self-assigned this Jun 13, 2024
@bryanoltman bryanoltman changed the title fix: shorebird cache clean fails with log file now found fix: shorebird cache clean fails with log file not found Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant