Closed Derich367 closed 4 years ago
Experienced the same on Linux/Windows x86/x64 and macOS https://github.com/Qv2ray/Qv2ray/actions/runs/48604288
Same for me on Windows x64 and Ubuntu
@miurahr it's not only on alpha, I tried the latest release version too
I have tracked down the issue to:
https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z.meta4
link not being an XML as expected by the following code execution:
It is actually the same content as the archive file:
https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
This is running python3 -m aqt install -O /Users/master/tmp/Qt 5.12.6 mac desktop -m qtcharts qtvirtualkeyboard qtwebengine qtnetworkauth
Is this expected? I'm wondering where can I find the specifications for this?
The issues seems to be solved by qt, because the mentiod request now returns a valid xml again and the issues doesn't happen anymore in my pipelines.
The issues seems to be solved by qt, because the mentiod request now returns a valid xml again and the issues doesn't happen anymore in my pipelines.
It works for me as well.
Works for me
@stefandunca thank your for investigation.
An issue here is happened around MetaLink handling. A download web server which The Qt Corporation supports a MetaLink specification and returns mirror server list in XML form.
From @stefandunca report, web server configuration may be temporary broken.
A correct contents of https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z.meta4 is
<?xml version="1.0" encoding="UTF-8"?>
<metalink xmlns="urn:ietf:params:xml:ns:metalink">
<generator>MirrorBrain/2.17.0</generator>
<origin dynamic="true">http://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z.meta4</origin>
<published>2020-03-04T01:11:48Z</published>
<publisher>
<name>Qt Project</name>
<url>https://download.qt.io</url>
</publisher>
<file name="5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z">
<size>924651</size>
<!-- <mtime>1573472647</mtime> -->
<!-- internal id: 436697 -->
<hash type="md5">d49eba3937fb063caa48769e8f28377c</hash>
<hash type="sha-1">25d3a33d00c1e5880679a17fd4b8b831134cfa6f</hash>
<hash type="sha-256">37e50248cf061109e2cb92105cd2c36a6e271701d6d4a72c4e73c6d82aad790a</hash>
<pieces length="262144" type="sha-1">
<hash>bec628a149ed24a3a9b83747776ecca5a1fad11c</hash>
<hash>98b1dee3f741de51167a9428b0560cd2d1f4d945</hash>
<hash>8717a0cb3d14c1958de5981635c9b90b146da165</hash>
<hash>78cd2ae3ae37ca7c080a56a2b34eb33ec44a9ef1</hash>
</pieces>
<!-- Found 22 mirrors: 0 in the same network prefix, 0 in the same autonomous system,
2 handling this country, 1 in the same region, 15 elsewhere -->
<!-- Mirrors in the same network (217.178.0.0/18): -->
<!-- Mirrors in the same AS (55391): -->
<!-- Mirrors which handle this country (JP): -->
<url location="jp" priority="1">http://ftp.jaist.ac.jp/pub/qtproject/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="jp" priority="2">http://ftp.yz.yamagata-u.ac.jp/pub/qtproject/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<!-- Mirrors in the same continent (AS): -->
<url location="cn" priority="3">http://mirrors.geekpie.club/qtproject/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<!-- Mirrors in the rest of the world: -->
<url location="ke" priority="4">http://qtproject.mirror.liquidtelecom.com/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="fi" priority="5">http://master.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="dk" priority="6">http://mirrors.dotsrc.org/qtproject/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="de" priority="7">http://ftp.fau.de/qtproject/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="de" priority="8">http://qt-mirror.dannhauer.de/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="nl" priority="9">http://qtproject.mirror.liteserver.nl/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="nl" priority="10">http://ftp1.nluug.nl/languages/qt/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="nl" priority="11">http://ftp2.nluug.nl/languages/qt/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="gb" priority="12">http://mirrors.ukfast.co.uk/sites/qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="br" priority="13">http://linorg.usp.br/Qt/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="ca" priority="14">http://qtproject.freemirror.org/qtproject/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="us" priority="15">http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="ca" priority="16">http://mirror.csclub.uwaterloo.ca/qtproject/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="us" priority="17">http://qt.mirrors.tds.net/qt/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
<url location="us" priority="18">http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_5126/qt.qt5.5126.qtcharts.clang_64/5.12.6-0-201911111119qtcharts-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z</url>
</file>
</metalink>
You can find mirror server from here. aqtinstall checks 304 response and redirect to mirror server. We have a black list of mirror server which is located in China, that has strange (mistaken) configuration to ignore GeoIP other than China, (even in China). So aqtinstall checks Metalink XML data and select another mirror site.
Today the issue is happening again, because the link mentioned by @stefandunca ist returning again an zip instead of an XML Meta data:
This is an issue where we cannot handle. So it is necessary to handle error better way.
v0.8a2 released
With alpha 2, I seem to get this error: https://github.com/jurplel/install-qt-action/actions/runs/50317090
Any idea why this is?
With alpha 2, I seem to get this error: https://github.com/jurplel/install-qt-action/actions/runs/50317090
Any idea why this is?
yes i got this too, installed package "importlib_metadata" manually before and it worked for me
It is a bug on v0.8a2 a3 with python3.7. v0.8a4 fixes the problem which @Derich367 @jurplel mensioned.
Thank you very much
Fix released.
Installation using macos on azure pipeline fails since today with following pip packages:
aqtinstall-0.8a1 certifi-2019.11.28 chardet-3.0.4 idna-2.9 packaging-20.1 py7zr-0.6b6 pycryptodome-3.9.7 pyparsing-2.4.6 requests-2.23.0 six-1.14.0 texttable-1.6.2 urllib3-1.25.8 wheel-0.34.2
Same config succeded yesterday. Install command:python3 -m aqt install --outputdir ../Qt 5.12.6 mac ios -m qtnetworkauth
Log: