-
Notifications
You must be signed in to change notification settings - Fork 30
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
Unzip with size 0 #7
Comments
I have no good news. I wrote a script to automatically test downloading and unzipping all plugins which are part of the latest version of the plugin list. I have used a self compiled debug build of latest GUP.exe since the download link you provided somewhere doesn't work. I found issues with the plugins listed below. During unzipping the ZIP packages of the first three ones the following error message is shown:
With the TagsView plugin it's even worse. No error message was shown but it wasn't unzipped correctly, some files haven't been unpacked. There may be more bugs I havn't discovered yet. The one regarding TagsView plugin I found when I searched for 0 byte files. Pork2SausageComplete directory structure of ZIP file:
Unzipping stops after creating the following structure:
NppCalcComplete directory structure of ZIP file:
Unzipping stops after creating the following structure:
CSScriptNppComplete directory structure of ZIP file:
Unzipping stops after creating the following structure:
TagsViewComplete directory structure of ZIP file:
Unzipping produced the following structure:
|
@dinkumoil Thank you very much for catching all these error. However, due to the unreliable of unzip core component, the directory (leaf) can still be treated as a file, and there's no way to fix it. |
Please reopen it if it's not fixed totally by; |
@donho It works! I ran my test script and GUP.exe downloaded and unzipped all plugins. My test script does the same using CURL.exe for downloading and Windows Explorer OLE automation object for unzipping. With a directory comparison using BeyondCompare I was able to verify that the output of GUP.exe and of my own routines is identical. Thank you for your hard work! |
@dinkumoil |
See notepad-plus-plus/nppPluginList#11
and https://notepad-plus-plus.org/community/topic/16642/npp-snippets-plug-in-and-plug-in-manager
Some files are unzipped with size 0.
The text was updated successfully, but these errors were encountered: