[PATCH]Re: Photos problems

Robert Helling helling at atdotde.de
Fri Dec 2 14:49:39 PST 2016


Hi,

> Am 27.11.2016 um 11:59 schrieb Robert Helling <helling at atdotde.de>:
> 
> Let me see if we can detect this cache corruption (i.e. when the cached thumbnail does not open as an image) or provide a way to the user to invalidate the cache.
> 

my suspicion is that it was not the thumbnail cache that was corrupted but rather the two table translating hashes to local file names and vice versa had entries with empty hash strings (which aren’t valid hashes of course).

Here is a patch hat gets rid of those.



Best
Robert

PS: Dirk, it seems master still lacks my last patch fixing the calculation of the effective gradient factors (sum > 1 rather than sum>0).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20161202/dbd55cb2/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Empty-image-hashes-are-not-valid.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20161202/dbd55cb2/attachment.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20161202/dbd55cb2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20161202/dbd55cb2/attachment.sig>


More information about the subsurface mailing list