-
Notifications
You must be signed in to change notification settings - Fork 91
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
ZIP file appears to be corrupt when trying to unzip on some Mac computers. #61
Comments
FYI, we are using the latest node-webkit-updater module version 0.2.3. Hope this helps! |
This is good item to keep an eye on. Seems I saw behavior like this before. Thought we fixed it. |
Same error here! |
@ABeltramo Are you able to unzip both the downloaded one ( in temp folder ) and the one you uploaded. ? |
@tarun1188 Yes! In temp folder if I double click the downloaded file the Mac standard unzipper extract the file correctly. The size of the downloaded size is equal to the one uploaded. |
I have same error |
I solved this error by setTimeout hack like:
I guess it is mean that .zip file still busy or not completed a few time after downloading and we need wait for free access ? |
setTimeout() also resolve the issue in my case! |
In my case it's not consistent so i retry to unzip the download a couple of times. If it fails after "n" times i download the file again. |
for me my problem was using archive.end after archive.finalize |
Our first auto-update was a success. All our users got updated to the latest, but on our second update, we've seen issues with the ZIP file on some Mac computers but not all. It appears like the system is trying to unzip the ZIP before it's done downloading.
In this example, the actual uploaded ZIP is 58 MB, but one of our developers says he sees the system try to unzip the downloaded copy at 44 MB mark. We're not 100% sure this is the case, but we want to include this information just in case it helps.
Below is the error message we are seeing in the Dev Tools JavaScript console. We also see the error message when trying to unzip the downloaded ZIP via the terminal.
Please let us know if you need any more information.
The text was updated successfully, but these errors were encountered: