Skip to content
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

Download all pak-files #2

Closed
mattias42 opened this issue Nov 15, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@mattias42
Copy link
Contributor

commented Nov 15, 2017

There is a bug in the program when running on 64-bit OS or on Windows 7 (unclear reason) that the program only downloads all existing pak-files at startup. If there is a upload.pak existing in the device then the program doesn't continue downloading data. Reason is unclear and needs to be investigated.
The program does seem to work as expected on Windows XP (32bit).

@dnorgaard-usgs

This comment has been minimized.

Copy link
Contributor

commented Dec 7, 2017

The problem appeared to be that the software was failing to reconcile the upload.pak file size on a 64-bit Windows OS with that of what was expected from reading the directory contents on the electronics box (Linux). It is unclear exactly what the differences is, but a work around was placed by Mattias to ignore the download of and file size check of upload.pak. All other u*.pak files are downloaded w/o file size check.

The downside of this work around is that the first file ever created (upload.pak) after a restart of the electronics box is never downloaded. It was decided that this was an acceptable loss in order to address the bigger issue.

dnorgaard-usgs added a commit that referenced this issue Jan 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.