Git Product home page Git Product logo

Comments (13)

hongbo-miao avatar hongbo-miao commented on September 6, 2024 1

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'.

from install-qt-action.

VocalFan avatar VocalFan commented on September 6, 2024 1

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'.

from install-qt-action.

EddyTheCo avatar EddyTheCo commented on September 6, 2024

I am having the same issue for 6.5.0 for windows, mac, and linux. This behavior started today.

from install-qt-action.

surfzoid avatar surfzoid commented on September 6, 2024

Hi, i have same issue with QT5, only for windows and all the time.
@v2.14.0 is working

from install-qt-action.

jurplel avatar jurplel commented on September 6, 2024

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?

from install-qt-action.

drfiemost avatar drfiemost commented on September 6, 2024

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 miurahr/aqtinstall#694, but Qt 6.6 has not been officially released yet.

from install-qt-action.

EddyTheCo avatar EddyTheCo commented on September 6, 2024

This issue comes and goes, I'll bet it is related to the mirrors used when downloading the compiled qt libraries.

from install-qt-action.

jurplel avatar jurplel commented on September 6, 2024

As mentioned above I think this is just an issue with aqtinstall. Please correct me if this isn't true.

from install-qt-action.

Nelson-numerical-software avatar Nelson-numerical-software commented on September 6, 2024

same trouble for win64
"Specified Qt version is unknown: 6.6.0."

from install-qt-action.

pzhlkj6612 avatar pzhlkj6612 commented on September 6, 2024

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 .

from install-qt-action.

hongbo-miao avatar hongbo-miao commented on September 6, 2024

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. 🤔

from install-qt-action.

hongbo-miao avatar hongbo-miao commented on September 6, 2024

In my case, I think it is related with I am using

uses: jurplel/[email protected]
with:
  version: '6.*'

The succeed run is using Qt 6.6.1
image

The failed run is using Qt 6.7.0
image

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.

from install-qt-action.

jurplel avatar jurplel commented on September 6, 2024

Reopen if this issue still occurs with v4.

from install-qt-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.