-
Notifications
You must be signed in to change notification settings - Fork 447
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
FileNotFoundError when displaying the settings page #7473
Comments
kozlovsky
added a commit
to kozlovsky/tribler
that referenced
this issue
Jun 11, 2023
kozlovsky
added a commit
to kozlovsky/tribler
that referenced
this issue
Jun 11, 2023
kozlovsky
added a commit
to kozlovsky/tribler
that referenced
this issue
Jun 11, 2023
kozlovsky
added a commit
that referenced
this issue
Jun 12, 2023
Fixes #7473 FileNotFoundError when displaying the settings page
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue was caught by the Application Tester:
It looks like we have a raise condition in
Path.size()
:The function checks that the file exists and immediately asks for its size. But it may be possible that the file was deleted right after the
exists
call. To handle this, we need to add atry/except
block that catchesFileNotFoundError
.The text was updated successfully, but these errors were encountered: