-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Disk space widget crashes / fails to start, if it can't get information about one of the pools #8187
Disk space widget crashes / fails to start, if it can't get information about one of the pools #8187
Comments
Make only one statvfs() call to get consistent information for size and usage. Also handle an absent pool correctly by returning an empty dict for usage_details() and None for usage() and size(), instead of raising FileNotFoundError. QubesOS/qubes-issues#8187 QubesOS/qubes-issues#8188
Make only one statvfs() call to get consistent size and usage information. Also handle an absent pool correctly by returning an empty dict for usage_details() and None for size() and usage() instead of raising FileNotFoundError. QubesOS/qubes-issues#8187 QubesOS/qubes-issues#8188
Wrap pool access in intermediary object to catch all possible exceptions. Cleanup for more readability. fixes QubesOS/qubes-issues#8187
Wrap pool access in intermediary object to catch all possible exceptions. Cleanup for more readability. fixes QubesOS/qubes-issues#8187
Wrap pool access in intermediary object to catch all possible exceptions. Cleanup for more readability. fixes QubesOS/qubes-issues#8187
Wrap pool access in intermediary object to catch all possible exceptions. Cleanup for more readability. fixes QubesOS/qubes-issues#8187
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
|
Make only one statvfs() call to get consistent size and usage information. Also handle an absent pool correctly by returning an empty dict for usage_details() and None for size() and usage() instead of raising FileNotFoundError. QubesOS/qubes-issues#8187 QubesOS/qubes-issues#8188 (cherry picked from commit 2deb827)
How to file a helpful issue
Qubes OS release
R4.2 (could affect R4.1 too)
Brief summary
Disk space widget crashes / fails to start, if it can't get information about one of the pools
Steps to reproduce
In this case, if there was any qube in that pool it won't start of course. But for the widget to crash, there don't need to be any qube in that storage pool at all, it can be an empty pool.
Expected behavior
It starts successfully, but either list the pool with "unknown" free space, or not list it at all.
Actual behavior
The text was updated successfully, but these errors were encountered: