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

Topic: deprecate offline parameter validation and "combinations.json" #748

Closed
pzhlkj6612 opened this issue Dec 16, 2023 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@pzhlkj6612
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Let's say goodbye to our old friend "Specified Qt version is unknown" and their partners. They always confuse our users.

$ aqt install-qt linux desktop 9.9.9
INFO    : aqtinstall(aqt) v3.1.11 on Python 3.10.12 [CPython GCC 11.4.0]
WARNING : Specified Qt version "9.9.9" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best.
WARNING : Failed to download checksum for the file 'Updates.xml'. This may happen on unofficial mirrors.
ERROR   : Failed to locate XML data for Qt version '9.9.9'.
==============================Suggested follow-up:==============================
* Please use 'aqt list-qt linux desktop' to show versions available.
$ aqt install-qt linux desktop 9.9.9
INFO    : aqtinstall(aqt) v2.2.4 on Python 3.10.12 [CPython GCC 11.4.0]
WARNING : Specified Qt version is unknown: 9.9.9.
ERROR   : Failed to locate XML data for Qt version '9.9.9'.
==============================Suggested follow-up:==============================
* Please use 'aqt list-qt linux desktop' to show versions available.
$ aqt install 9.9.9 linux desktop
aqtinstall(aqt) v1.2.5 on Python 3.10.12 [CPython GCC 11.4.0]
Specified Qt version is unknown: 9.9.9.
Download error when access to https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt9_999/Updates.xml
Server response code: 404, reason: Not Found

Describe the solution you'd like

$ aqt install 9.9.9 linux desktop
aqtinstall(aqt) v...
WARNING : Failed to download checksum for the file 'Updates.xml'. This may happen on unofficial mirrors.
ERROR   : Failed to locate XML data for Qt version '9.9.9'.
============================================================
Available Qt versions: 5.15.2, 6.0.4...

Describe alternatives you've considered

None.

Additional context

From What's the purpose of making the "combinations.json" file? · miurahr/aqtinstall · Discussion #747.

@pzhlkj6612
Copy link
Contributor Author

Solved by #812.

@pzhlkj6612
Copy link
Contributor Author

Another example: jurplel/install-qt-action#251 (comment) :

WARNING : Specified Qt version "6.8.0" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best.

Qt 6.8.0 seems to be not detected.
... link ...

Qt 6.8.0 was released

And please don't make me wrong, I'm not going to blame anyone. This is an example to show how those warnings confused users.

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

No branches or pull requests

1 participant