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

lzma1701.7z is not available on 7-zip.org anymore #25

Open
kamtschatka opened this issue Mar 15, 2023 · 3 comments
Open

lzma1701.7z is not available on 7-zip.org anymore #25

kamtschatka opened this issue Mar 15, 2023 · 3 comments

Comments

@kamtschatka
Copy link

When trying to install node-7z-archive, it is trying to download the file lzma1701.7z from 7-zip (https://www.7-zip.org/a/lzma1701.7z to be precise)
See https://github.com/TheTechsTech/node-7z-archive/blob/master/installer.mjs#L64

The file is not available and shows just a 404 page and therefore the installation for linux is not successful and 7zip can not be used.

I was trying with version 1.0.7 at first and just self hosted the files that were missing by downloading them from sourceforge and after providing the files, everything worked fine again.
To make sure it is not already fixed in newer versions, I updated to 1.1.4 and tried modifying the installer.mjs file to point to my self hosted files again. The installation itself works fine, but when using 7zip in the code i get the message
Encountered an error: Error: Unknown error -214702489

The files that were missing in my various scenarios(1.0.7 or 1.1.4) were those (not all of them are required for linux only):

  • 7z1604-extra.7z
  • 7z1701.exe
  • 7z1701-extra.7z
  • lzma1701.7z

There were available at https://sourceforge.net/projects/sevenzip/files/7-Zip/17.01/ and https://sourceforge.net/projects/sevenzip/files/7-Zip/16.04/

@TheTechsTech
Copy link
Owner

The project name was changed to TheTechsTech, package.json and all links needs updating, the files are actually at https://github.com/TheTechsTech/p7zip/releases. I forgot about updating project hard coded links, you should do a PR, all techno-express to TheTechsTech.

so line 62

url: 'https://github.com/techno-express/p7zip/releases/download/17.02/',

should be

url: 'https://github.com/TheTechsTech/p7zip/releases/download/17.02/',

@TheTechsTech
Copy link
Owner

I haven't really looked into current 7zip version features, but on quick look over missing sfx modules.

That's main reason I needed a separate forked project, that got everything at install time.

@TheTechsTech
Copy link
Owner

I see problem, the installer script is downloading from two locations and lzma1701.7z is missing from 7-zip.org, see if lzma1604.7z or lzma1900.7z functions the same. The whole project might need updating to different versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants