jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
455 stars 78 forks source link

Failed to locate XML data for the tool 'tools_ifw'. #170

Closed arnaud-s closed 1 year ago

arnaud-s commented 1 year ago

Hi

Overnight it seems to fail to install tools_ifw, do you have any idea why?

Log:

C:\hostedtoolcache\windows\Python\3.10.8\x64\python.exe -m aqt install-tool windows desktop tools_ifw --outputdir C:/Qt
aqtinstall(aqt) v2.1.0 on Python 3.10.8 [CPython MSC v.1933 64 bit (AMD64)]
Failed to locate XML data for the tool 'tools_ifw'.
==============================Suggested follow-up:==============================
* Please use 'aqt list-tool windows desktop' to check what tools are available.
Error: Error: The process 'C:\hostedtoolcache\windows\Python\3.10.8\x64\python.exe' failed with exit code 1

Using

- name: Install Qt
  uses: jurplel/install-qt-action@v3
  with:
    version: '6.4.0'
    host: 'windows'
    target: 'desktop'
    arch: 'win64_msvc2019_64'
    modules: 'all'
    cache: 'false'
    tools: 'tools_ifw'
    tools-only: 'false'
    dir: 'C:'
arnaud-s commented 1 year ago

It seems to work now.

I guess it was related to some upgrade, which triggered some downtime. Because now it's installing tools_ifw 4.5 instead of 4.4 before.

pzhlkj6612 commented 1 year ago

Hello! Your YAML works fine in my test:

...
> C:\hostedtoolcache\windows\Python\3.11.0\x64\python.exe -m aqt install-tool windows desktop tools_ifw --outputdir C:/Qt
aqtinstall(aqt) v2.1.0 on Python 3.11.0 [CPython MSC v.1933 64 bit (AMD64)]
Specified target combination is not valid: windows tools_ifw qt.tools.ifw.45
Downloading qt.tools.ifw.45...
Redirected: qt.mirror.constant.com
Finished installation of ifw-win-x86.7z in 10.85487720
Finished installation
Time elapsed: 13.99711350 second
...

Maybe you could try to re-run your workflow.

pzhlkj6612 commented 1 year ago

It seems to work now.

Good to hear that!

pzhlkj6612 commented 1 year ago

@arnaud-s , aqt list-qt server is your friend to find the information about available versions of Qt and tools.

arnaud-s commented 1 year ago

@arnaud-s , aqt list-qt server is your friend to find the information about available versions of Qt and tools.

That's the thing, I did check for the Qt versions, tools and action configuration. Everythin I set up was right so that's why I opened this issue.

But indeed there's been a new version of tools_ifw yesterday. https://code.qt.io/cgit/installer-framework/installer-framework.git/

This was the info I didn't have.

pzhlkj6612 commented 1 year ago

...

But indeed there's been a new version of tools_ifw yesterday. https://code.qt.io/cgit/installer-framework/installer-framework.git/

This was the info I didn't have.

Oh, now I get it. Thanks for your explanation.