-
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
Try to update lintalist, error is shown #154
Comments
Thank you for reporting it. There are two errors. The first is my fault, I forgot to wrap the path to the update script in quotes, so in your case it already stops because of the space between Google and 雲端硬碟. But, then you run into the second problem, before Lintalist unpacks the update (it downloads the Zip from GitHub) it tries to prepare a backup copy of the current version by zipping it, it seems that the standard Zip functions of Windows can't handle Unicode filenames as I get the following error message:
I'm using https://github.com/cocobelgica/AutoHotkey-ZipFile which uses the Windows native Zip functions, perhaps something can be changed/added to make it work with unicode file names. |
From what I could find it is not possible to use native Zip functions and create a zip file with unicode file names. The users might be able to resolve it by installing language pack but that is not really helping I think. (Link with info below) What I think I will do is display a message in advance saying if that error occurs, they can the download command line version of 7zip and when the update routine finds it, use 7zip instead of the native zip functions. So for the moment you will have to update manually and download new version via https://github.com/lintalist/lintalist/releases Install language pack: https://answers.microsoft.com/en-us/windows/forum/windows_10-files-winpc/windows-10-cannot-compressed-foldersfiles-that/f6e7884b-bdba-402a-8655-142f8bdf75d5 |
If you want to try a new update routine with using 7-zip which should no longer show the error, you can try the zip file below. This assumes you haven't updated to v1.9.12 yet, if you did you need to edit version.ini in the lintalist folder (see note at the end) It contains an updated files for: lintalist.ahk and new files include\7za.exe (a stand alone console version of 7-zip exe downloaded from https://www.7-zip.org/download.html ) and a docs\Update.md Unpack those files and overwrite lintalist.ahk and update.ahk - make sure the 7zip exe is placed in the include folder. Now check for updates and it should ask if you want to create a backup, say YES, and it now should use 7zip and you should notice two Windows console/dos boxes popup that pack and unpack the updates. As 7-zip supports all characters it should work. Edit 2: this has been added to v1.9.13 |
I try to update Lintalist by going to help>about>check for update
and the following error is shown:
Is it because I put it in google drive that is why causing that error?
Or one possible guess is, my system is in Traditional chinese, and the path name after the word Google are four Chinese words, is that caused the problem?
my exact path is
The text was updated successfully, but these errors were encountered: