Created attachment 327908 [details] screnshot of yucky dialog Description of problem: Ugly message in tiny error box, if PackageKit fills the disk while trying to check for updates. Version-Release number of selected component (if applicable): gnome-packagekit-0.3.12-3.fc9.i386 How reproducible: Yes. Steps to Reproduce: 1. Almost completely fill your disk where yum cache hides. 2. Let PK do it's background checking for updates. Actual results: Tiny non-expandable dialog: containing when details clicked: Error Type: <type 'exceptions.IOError'> Error Value: [Errno 28] No space left on device File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2280, in <module> main() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2277, in main backend.dispatcher(sys.argv[1:]) Expected results: 1. Perhaps there is already out of disk space style error dialogs available elsewhere in gnome/freedesktop/fedora, that could be triggered. If not maybe such a general thing would be a general enhancement in the future. 2. Specifically trap the exception, and provide a dialog with a nice message like " Package detected an error: While attempting to retrieve the list of available updates, the device containing the update cache [/var/cache/x] reported no disk space left. PackageKit can resume normal operation once some action is taken to reduce the disk usage on that device."
Created attachment 327909 [details] complete exception trace
commit 3fb28f0b5580e02a04eb996b1793e61cfd15f850 Author: Richard Hughes <richard> Date: Thu Jan 8 12:12:52 2009 +0000 yum: catch IOError and handle out of disk space. Fixes RH#478377
commit e3d6ba4c21a7c21a4eafb1c16c537dc7cbb2ea68 Author: Richard Hughes <richard> Date: Thu Jan 8 12:26:27 2009 +0000 trivial: add a 'no-space-on-device' error enum and use it in the yum backend
PackageKit-0.3.13-1.fc10,gnome-packagekit-0.3.13-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/PackageKit-0.3.13-1.fc10,gnome-packagekit-0.3.13-1.fc10
PackageKit-0.3.13-1.fc10, gnome-packagekit-0.3.13-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update PackageKit gnome-packagekit'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0352
PackageKit-0.3.13-1.fc10, gnome-packagekit-0.3.13-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.