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

[Windows GH Actions] "Failed to locate XML data for Qt version '6.8.1'." #270

Open
AlbrechtL opened this issue Dec 16, 2024 · 2 comments
Open

Comments

@AlbrechtL
Copy link

Hi,

in my latest GH Actions runs, I receive the following error. So far, I didn't change the workflow.

 Successfully installed aqtinstall-3.1.20 beautifulsoup4-4.12.3 bs4-0.0.2 certifi-2024.12.14 charset-normalizer-3.4.0 defusedxml-0.7.1 humanize-4.11.0 idna-3.10 patch-1.16 py7zr-1.0.0rc1 requests-2.32.3 semantic-version-2.10.0 soupsieve-2.6 urllib3-2.2.3
C:\hostedtoolcache\windows\Python\3.11.9\x64\python.exe -m aqt version
INFO    : aqtinstall(aqt) v3.1.20 on Python 3.11.9 [CPython MSC v.1938 64 bit (AMD64)]
C:\hostedtoolcache\windows\Python\3.11.9\x64\python.exe -m aqt install-qt windows desktop 6.8.1 win64_mingw --autodesktop --outputdir D:\a\welle.io/Qt --modules qtcharts qtmultimedia qt5compat qtshadertools
INFO    : aqtinstall(aqt) v3.1.20 on Python 3.11.9 [CPython MSC v.1938 64 bit (AMD64)]
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 '6.8.1'.
==============================Suggested follow-up:==============================
* Please use 'aqt list-qt windows desktop' to show versions available.
Error: Error: The process 'C:\hostedtoolcache\windows\Python\3.11.9\x64\python.exe' failed with exit code 1

aqt list-qt windows desktop clearly shows that Qt 6.8.1 is available.

Workflow: https://github.com/AlbrechtL/welle.io/blob/bd80a78bd164f3581d5ce88f0f2f7990c8174e2d/.github/workflows/windows.yml

Full log: https://github.com/AlbrechtL/welle.io/actions/runs/12361991563/job/34500344997

Do you have any idea what could be wrong?

@jdpurcell
Copy link

It's an upstream bug in aqt 3.1.20. The fix is already merged but not released yet. In the meantime, you can try adding aqtversion: '==3.1.19' under the with: section for install-qt-action. And remove it later once aqt 3.1.21 is released.

AlbrechtL added a commit to AlbrechtL/welle.io that referenced this issue Dec 16, 2024
@AlbrechtL
Copy link
Author

Perfect! This workaround works. Thanks for helping!

RealChuan added a commit to RealChuan/kimageformats-binaries that referenced this issue Dec 18, 2024
RealChuan added a commit to RealChuan/kimageformats-binaries that referenced this issue Dec 18, 2024
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