Closed xiaoyifang closed 2 months ago
I am having the same issue for 6.5.0 for windows, mac, and linux. This behavior started today.
Hi, i have same issue with QT5, only for windows and all the time. @v2.14.0 is working
Just add more info in case it helps.
I am using this:
- name: Set up Qt
uses: jurplel/install-qt-action@v3
with:
version: '6.*'
cache: true
My Github Actions started to have this issue today:
Resolved spec '6.*' to 6.6.0
Specified Qt version is unknown: 6.6.0.
Failed to locate XML data for Qt version '6.6.0'.
This would probably be an issue at the aqtinstall level. It may be that we are using an old aqtinstall version. Maybe you can try reproducing it locally with different versions?
My Github Actions started to have this issue today:
Resolved spec '6.*' to 6.6.0 Specified Qt version is unknown: 6.6.0. Failed to locate XML data for Qt version '6.6.0'.
Same problem here, I see there's a report upstream https://github.com/miurahr/aqtinstall/issues/694, but Qt 6.6 has not been officially released yet.
This issue comes and goes, I'll bet it is related to the mirrors used when downloading the compiled qt libraries.
Same issue for us currently on Linux.
INFO : aqtinstall(aqt) v3.1.7 on Python 3.11.4 [CPython GCC 11.3.0]
INFO : Resolved spec '6.*' to 6.6.0
ERROR : Failed to locate XML data for Qt version '6.6.0'.
As mentioned above I think this is just an issue with aqtinstall. Please correct me if this isn't true.
same trouble for win64 "Specified Qt version is unknown: 6.6.0."
Hi, @Nelson-numerical-software !
"Specified Qt version is unknown: 6.6.0."
This is a warning, not an error. It just means that the version of aqtinstall (the backend of this GitHub Action) doesn't know Qt 6.6.0.
Each version of aqtinstall saves the info about Qt version and tool components in an offline database.
If you know some Python, please see https://github.com/miurahr/aqtinstall/blob/c035d2cdcb7d94fd5115541c590f298972fc57ae/aqt/installer.py#L303 .
Hmm I recently start from yesterday to random get this issue too, when it failed, it is like
https://github.com/hongbo-miao/hongbomiao.com/actions/runs/7727686897/job/21066712717
Successfully installed aqtinstall-2.1.0 beautifulsoup4-4.12.3 bs4-0.0.2 certifi-2023.11.17 charset-normalizer-3.3.2 defusedxml-0.7.1 idna-3.6 patch-1.16 requests-2.31.0 semantic-version-2.10.0 soupsieve-2.5 urllib3-2.2.0
/opt/hostedtoolcache/Python/3.11.7/x64/bin/python3 -m aqt install-qt linux desktop 6.* --outputdir /home/runner/work/hongbomiao.com/Qt
aqtinstall(aqt) v2.1.0 on Python 3.11.7 [CPython GCC 11.4.0]
Resolved spec '6.*' to 6.7.0
Specified Qt version is unknown: 6.7.0.
The packages ['qt_base'] were not found while parsing XML of package information!
==============================Suggested follow-up:==============================
* Please use 'aqt list-qt linux desktop --arch 6.7.0' to show architectures available.
Error: Error: The process '/opt/hostedtoolcache/Python/3.11.7/x64/bin/python3' failed with exit code 1
When I rerun job, it could succeed. So it is very random. This is third time I met this issue. Each time it lasts a few days. 🤔
In my case, I think it is related with I am using
uses: jurplel/install-qt-action@v3.3.0
with:
version: '6.*'
The succeed run is using Qt 6.6.1
The failed run is using Qt 6.7.0
Even the failed one ran earlier. I am guessing it could be related with GitHub Actions workers having different states about Qt during upgrade which takes for a few days. It also explains why I reran, it could succeed. As a GitHub Actions worker using Qt 6.6.1 picking up the work and succeed.
After I pin 6.6.1, I do not see this random issue any more. 😃
For @xiaoyifang , even he pined the version to 6.5.1
, but at that time maybe that is latest version. And it happens during the GitHub Actions workers upgrading period too. And some workers have latest 6.5.1
while some not.
Reopen if this issue still occurs with v4.
The configuration is like this
sometimes it will fail
sometimes it success.