Closed BDemps closed 7 years ago
We observed that a failed download left a partial file in the cache and subsequent runs blindly tried to use this cached file rather than downloading again. Manually removing the bad file from the cache allowed the app to recover.
Commit faf712e addresses this by removing any corrupted or partial downloads after the failure condition is caught. Looking into adding additional cache coherency checks before launch in the case that files get corrupted outside of the application.
@mikedarcy are you planning to do more work on this or should we close it as it is?
I'm planning on adding additional checks for coherency before launching. These changes will likely be folded into the more broadly scoped release of the 2d viewer functionality.
When attempting to launch this file (SynImgZfDsy20170316A6B), the program crashes with a list of error messages (attached below). Note that even if I download the file manually and put it into the folder where the launcher looks (Arnoldlab->synspy), the program still crashes.
The file is not corrupt (it opens fine if I use synspy-viewer on my own), and it definitely exists on the data management system. Also, there is plenty of room on the hard drive.