<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Willem,<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 27.11.2016 um 10:53 schrieb Willem Ferguson <<a href="mailto:willemferguson@zoology.up.ac.za" class="">willemferguson@zoology.up.ac.za</a>>:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Can you please explain the reason you suggested I remove/rename the hashfile? Exactly what information is contained in the hashfile? I wish to understand in order to solve similar problems on my machine in future.</span></div></blockquote></div><br class=""></div><div class="">the picture loading (with the hash computation) is quite a slow computation (even when the hash computation is done in the background), in particular for big image files (with far too much date that we never need given the size of the images we display). So, once we loaded the images and resized them to the thumbnail size we use, we store the result in a cache. This, as well as the local_filename<->hash_value translation table gets stored to the hashfile. Loading the hashfile upon startup is much faster than loading all the individual image files (which get loaded once the dive is selected in the divelist). Without the cache, scrolling in the divelist would be really slow.</div><div class=""><br class=""></div><div class="">The problem is when the cache is corrupted. Then the wrong (i.e. none at all) image is displayed and you cannot do anything about it in terms of changing the local file as that is never looked at anymore. </div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Best</div><div class="">Robert</div></body></html>