generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 82
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
can not install src with source: true
#243
Comments
FWIW, the commands executed by this action are as follows: $ python3 -m pip install setuptools wheel py7zr==0.20.*
...
$ python3 -m pip install aqtinstall==3.1.*
...
$ python3 -m aqt version
INFO : aqtinstall(aqt) v3.1.15 on Python 3.11.9 [CPython GCC 13.2.0]
$ python3 -m aqt install-qt linux desktop 6.5.* gcc_64 --autodesktop --outputdir /home/runner/work/actions-cron/Qt --archives icu qtbase qtdeclarative qtsvg qttools
...
$ python3 -m aqt install-src linux 6.5.* --outputdir /home/runner/work/actions-cron/Qt --archives qtbase qtdeclarative
ERROR : Target 'None' is invalid
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/aqt/installer.py", line 182, in run
args.func(args)
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/aqt/installer.py", line 519, in run_install_src
Cli._determine_qt_version(args.qt_version_spec, args.host, args.target, arch="", base_url=base)
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/aqt/installer.py", line 326, in _determine_qt_version
version = choose_highest(version, opt_version_for_spec(ext, spec))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/aqt/installer.py", line 310, in opt_version_for_spec
meta = MetadataFactory(ArchiveId("qt", host, target), spec=_spec, base_url=base_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/aqt/metadata.py", line 218, in __init__
raise ValueError("Target '{}' is invalid".format(target))
ValueError: Target 'None' is invalid
ERROR : aqtinstall(aqt) v3.1.15 on Python 3.11.9 [CPython GCC 13.2.0]
Working dir: `/home/runner/work/actions-cron/actions-cron`
Arguments: `['/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/aqt/__main__.py', 'install-src', 'linux', '6.5.*', '--outputdir', '/home/runner/work/actions-cron/Qt', '--archives', 'qtbase', 'qtdeclarative']` Host: `uname_result(system='Linux', node='fv-az1044-179', release='6.8.0-1007-azure', version='#7-Ubuntu SMP Sat Apr 20 00:06:31 UTC 2024', machine='x86_64')`
===========================PLEASE FILE A BUG REPORT===========================
You have discovered a bug in aqt.
Please file a bug report at https://github.com/miurahr/aqtinstall/issues
Please remember to include a copy of this program's output in your report.
Error: Error: The process '/opt/hostedtoolcache/Python/3.11.9/x64/bin/python3' failed with exit code 254
Aqtinstall's doc says:
. |
1 task
Thanks for following up upstream @pzhlkj6612 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to install qt src and it raise a error
ValueError: Target 'None' is invalid
I'm not sure is this a bug of this actions or it's a bug or aqt, I think I should report here first.
I'm using this actions in ubuntu 24.04 with this config
full workflow:
it's log is here:
https://github.com/trim21/actions-cron/actions/runs/9467040441/job/26080146783
The text was updated successfully, but these errors were encountered: