Disappearing cover images
zybexxx at gmail.com
zybexxx at gmail.com
Thu Nov 30 07:16:22 MST 2006
Dnia czwartek, 30 listopada 2006 06:52, Robby Stephenson napisał:
Hi All,
> Yup. Very similar to what I've been trying as well. So far, no luck hitting
> the bug for me.
I'va managed to isolate the problem: it is connected to procedure of
duplicating and deleting entries from database. With following steps i (and
probably you) can reproduce the bug.
First i updated my database by removing ALL images from entries and updating
them from internet sources. It produced the file You can download here:
http://www.ceti.pl/~wozniakk/tc/CleanFull.tc
The file has 571 entries and 298 images, there are no invalid links in it.
Steps to reproduce bug:
1. Open the file
2. Duplicate entry DVD-014 - Teletubies
3. Duplicate once more time the same entry DVD-014 - Teletubies
4. Delete original entry and one duplicated entry
5. Save file
6. Exit tellico
7. Open file once more and we have one image missing:
tellico: ***ImageFactory::imageById() - not found:
e103d2c9ee0ae28ecc2ab660035efb2a.jpeg
tellico: ImageFactory::writeImage() - null image:
e103d2c9ee0ae28ecc2ab660035efb2a.jpeg
tellico: Document::slotWriteAllImages() - entry title: Pitch Black
It is very reproducible, i have exactly the same picture missing every time i
follow this procedure.
The bug is connected to procedures of duplicating and deleting entries but
only entries with images (last time i was cleaning my database and such
operations was very frequent)
> Being able to definitively isolate which version introduced this bug would
> be very nice. I've been assuming that it started in version 1.2.5, where I
> added some code to release images from the cache that were known to be
> written on the disk, either in a tmp dir or the actually app dir. If you
> compile from source and remove the RELEASE_IMAGES flag on line 28 in the
> imagefactory.cpp file, then it should revert to the 1.2.4 behavior.
i commented out this flag, but the bug is still there :-(
> But if this bug was around before that, then that would help me figure it
> out.
I hope You could reproduced this bug on your machine, i will of course try to
help You as much as i can to hunt this annoying bug :-)
Regards
Krzysztof Woźniak
More information about the tellico-users
mailing list