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
ZipException: Cannot find central directory
on check for updates
#816
Comments
Never seen that one before, if you rename the .nupkg file to .zip can you open it? |
Do you mean rename the file on my squirrel server? |
No, on your computer |
I wasn't sure exactly what it is even trying to open. My releases are ~50mb and I get this error immediately on startup, before it would have been possible to have downloaded the file. I'm seeing a Turns out it's got the index.html of my squirrel server inside it..! Let me do some debugging around feed URLs etc and double check this isn't me badly configuring things! |
I actually wasn't using the correct feed URL on windows before, however I have corrected it and am still encountering this problem even with the updated version. I am calling I've tried wiping C:\Users\tom\AppData\Local\artpip and other associated app data, but same issue - a Is it possible to see the full logs of Squirrel somewhere to verify what URL is being fetched? Any other ideas? Thanks! |
Yes, check |
Ah - it is trying to download http://artpip.herokuapp.com/download/0.0.25/artpip-0.0.25-full.nupkg, instead of the url returned in https://artpip.herokuapp.com/app/update/win32/0.0.24, which is http://artpip.herokuapp.com/app/download/version/0.0.25/windows_32?filetype=zip That looks like a bug? I assume I could work around this by not putting my nuts paths under /app/. Also, I guess that we should check the headers of the file that is being downloaded to confirm it's what is expected, then raising an appropriate error instead of it exploding on the unzip. Thanks for you help. Let me know if you need any more info. |
I think you should probably take this to Nuts instead |
I have an electron app and am using the inbuilt auto-updating which uses Squirrel. As far as I can tell this is a Squirrel.Windows issue and not an electron issue.
I am receiving the below error on launching my application, when normally it is trying to perform an update check (https://github.com/electron/electron/blob/master/docs/api/auto-updater.md#autoupdatercheckforupdates).
Any thoughts on what is causing this or how to fix? I have previously had auto-updating working and can't for the life of me work out what would have changed for it to now be throwing this error?
The text was updated successfully, but these errors were encountered: