Skip to content

Application.clear_state() fails if the state dir doesn't exist #440

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
daniil-quix opened this issue Aug 6, 2024 · 2 comments
Closed

Application.clear_state() fails if the state dir doesn't exist #440

daniil-quix opened this issue Aug 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@daniil-quix
Copy link
Collaborator

Tell us about the bug
Application.clear_state() fails if the state dir doesn't exist.

What did you expect to see?
I expect the method not fail even if the directory is not present.

What version of the library are you using?
2.8.1

@daniil-quix daniil-quix added the bug Something isn't working label Aug 6, 2024
@ulisesojeda
Copy link
Contributor

Hi. I can handle this bug

daniil-quix pushed a commit that referenced this issue Feb 20, 2025
* ignore error in rmtree

* testing clear_stores with deleted directory

* apply ruff format
@daniil-quix
Copy link
Collaborator Author

Resolved by #753

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants