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

7zip download - incorrect url #324

Closed
2 of 4 tasks
xstefen opened this issue Feb 7, 2024 · 2 comments
Closed
2 of 4 tasks

7zip download - incorrect url #324

xstefen opened this issue Feb 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@xstefen
Copy link

xstefen commented Feb 7, 2024

I believe the correct URL should be https://www.7-zip.org/a/7z2401-extra.7z whereas currently it attempts https://www.7-zip.org/a/7z2401 beta-extra.7z


Is this a new issue that can be reproduced using the latest version?

  • This is a new issue that can be reproduced.

Which operating systems reproduce the issue?

  • Windows
  • Docker
  • Other

Version information.

Win 11, latest
PlexCleaner, latest
Latest everything

Steps to reproduce?

PlexCleaner checkfornewtools --settingsfile PlexCleaner.json
fails with same
manually download 7z beta extract to Tools/SevenZip
progresses further before failing with same

Commandline.

PlexCleaner checkfornewtools --settingsfile PlexCleaner.json

Relevant log output.

02:34:26 [INF] <1> SevenZip : Getting latest version ...
02:34:26 [INF] <1> SevenZip : Reading latest version from : "https://www.7-zip.org/download.html"
02:34:27 [INF] <1> SevenZip : Getting download URI details : "https://www.7-zip.org/a/7z2401 beta-extra.7z"
02:34:27 [ERR] <1> "GetContentInfo"
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at InsaneGenius.Utilities.Download.GetContentInfo(Uri uri, Int64& size, DateTime& modifiedTime)
02:34:27 [ERR] <1> SevenZip : Failed to get download URI details : "https://www.7-zip.org/a/7z2401 beta-extra.7z"
02:34:27 [INF] <1> Exit Code : 1

Settings file.

PlexCleaner.json

Log file.

https://bin.xstefen.dev/p/MiozYN.log

Media file information.

No response

@xstefen xstefen added the bug Something isn't working label Feb 7, 2024
@ptr727
Copy link
Owner

ptr727 commented Feb 7, 2024

My version regex failed for the beta text.
I changed to getting the latest version number and downloading from GitHub instead, more deterministic.
Can you try 3.5 pre-release and report if it works for you?

@xstefen
Copy link
Author

xstefen commented Feb 8, 2024

Using 3.5.1-g817ea88ce9, 05:01:39 [INF] <1> Exit Code : 0. Well done. This docker process has been heating my room all day I'm excited to try nvenc w/o containers :)

Thx m8

@xstefen xstefen closed this as completed Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants