[KPhotoAlbum] thumbnail build doesn't notice disk full

Mark Eichin eichin at gmail.com
Wed Nov 7 23:26:31 CET 2007


Wrong answer :-)

There are lots of reasons a write can fail - so you should notice the
failure and *stop trying*.  The bug is that it kept spinning on my
12,000 thumbnails without any indication (until I went and looked
elsewhere) that it was failing to make progress...

(And in fact, I *didn't* have any other problems, my photogallery
isn't on the same partition as my operating system, after all - it
really was the only thing writing there.)

I haven't looked at the code but I'm guessing it's an artifact of the
thumbnails being treated as a cache that doesn't *need* to work - but
maintenance->build is an explicit request and shouldn't go that
direction...

On Nov 7, 2007 4:43 PM, Jan Kundrát <jkt at gentoo.org> wrote:
> Mark Eichin wrote:
> > kphotoalbum 3.0.2-1build1 (Ubuntu Gutsy), ran out of disk space while
> > doing Maintenance->Build Thumbnails.  It didn't stop or complain at
> > all - just dumped lines and lines of:
>
> There's a variety of reasons why a write syscall could fail. We could
> certainly display a user-friendly message in such a case, but is this
> really worth the extra effort? If you run out of disk space, you'll get
> bigger problems with your system than missing thumbnails. Free space
> should be monitored by other means than by a warning from first
> application that happens to exceed quota/fill up disk, IMHO.
>
> Cheers,
> -jkt
>
> --
> cd /local/pub && more beer > /dev/mouth
>
>
> _______________________________________________
> KPhotoAlbum mailing list
> KPhotoAlbum at kdab.net
> http://mail.kdab.net/mailman/listinfo/kphotoalbum
>
>



-- 
_Mark_ <eichin at thok.org> <eichin at gmail.com>


More information about the KPhotoAlbum mailing list