-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
aqt install fail with a 7zip error #696
Comments
Note: here is the install log for aqt on the azure VM:
|
Can you please show us the whole command you are using to install QT? This error message only happens when you are using Simple fix: install 7z in your CI instance. Otherwise you can remove the |
The command used to install qt is specified at the end of the issue text, and is the whole command. This same command is used successfully on the laptop, and 7zip is not installed on it either so I doubt we are accidentally using the external flag. I'd also rather not have to install 7z manually on our CI instance if we can avoid it, but will keep the suggestion in mind. |
When aqt try Lines 69 to 74 in 8cbe51b
here is a space we can leave a log message. |
Hello, and thanks for your reply. This was enlightening, and i searched why the module would fail to load. It lead me to this error:
In my CI script, I installed brotlicffi manually, which did the trick and aqt works properly on the Azure VM now. I opened a new issue on py7zr to be looked at. I'm unsure where this should be fixed, so i'll leave this issue open for now, but feel free to close it as needed, and once again thanks for your quick reply ! |
Is there a valid reason to use 7z format instead of more classical format handled by python's shutil for instance zip? |
Yes, there is. The Qt organization packages these files as 7z. We don’t get a choice in the matter. Different compression algorithms have different compression ratios for different types of files. My guess is that the Qt developers chose 7z because it works well for the binaries they’re trying to compress. IIRC the ‘zip’ file format often doesn’t perform as well as many of the other formats; I can’t confirm this though. |
That’s a really good idea; it would help a lot in cases like this. What log level do you think it should be? I’m leaning towards ‘warning’. |
I prefer "warning" here. |
Yes, this issue can be closed |
We have a kind of weird CI using github action executing on runners located on a laptop, or on a azure VM. The runners share some installed programs, such as QT.
We have a github action to install QT on the laptop or the azure VM. The installation works properly on the laptop, but fail on the VM with the following log:
Could you advise ? this error doesn't seem common from what i could search, but happen every time the github action execute on one of the azure VM runner.
The command executed is aqt install-qt windows desktop 6.3.0 win64_msvc2019_64 --outputdir foo
The text was updated successfully, but these errors were encountered: