New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BAR update gives unexpected filesize for Extract_Bouts_From_Tracks.py #21
Comments
It's possible that the file was corrupted during download. The latest source file on the update site (http://sites.imagej.net/Tiago/plugins/Scripts/BAR/Snippets/) does have the correct size of 18471 bytes. |
@imagejan thanks for looking into it! It took me a while to reproduce this, but I finally manage to reproduce it:
I am not so sure what is really causing it, but for now the following seems to work: Otherwise, I guess I could upload a newer version of the file, to see if the problem goes away. |
I was pretty sure it wasn't the download as I tried it several times. However, you are correct @tferr , it works fine if I restart and gives no errors. Thanks! |
In fact, it might also be an inconsistent state of the while the latest version present on the site has a time stamp from November:
I have no clue how this could have happened, maybe @ctrueden has an idea. |
That would make sense, as on the multiple times I tried, it was always the same sizes expected and downloaded. |
@tferr I did some surgery on the |
Actually, my surgery was wrong. We need a new checksum for the newer 20161124120033 version. The file size is correct for that version. Working on it. |
I changed the checksum to the correct value, and all seems OK now. Please comment here if not. Otherwise, I think this issue can be closed. P.S. Regarding why this happened... unfortunately, I have no idea. But I propose that we wait to see whether it happens again before we worry about it too much. |
@ctrueden Thanks for looking into it. I guess this is yet one more reason to have all scripts bundled in a single jar file. |
Adding BAR site in Fiji on a Mac I was unable to install fully, as it gave the following error:
Incorrect file size for /Applications/Fiji.app/update/plugins/Scripts/BAR/Snippets/Extract_Bouts_From_Tracks.py: 17534 (expected 18471)
The text was updated successfully, but these errors were encountered: