miurahr / aqtinstall

aqt: Another (unofficial) Qt CLI Installer on multi-platforms
https://aqtinstall.readthedocs.io/en/latest/
MIT License
923 stars 85 forks source link

leaked semaphore objects? #264

Closed tsteven4 closed 3 years ago

tsteven4 commented 3 years ago

aqt 1.2.0b3, macOS 11.4

% aqt install --outputdir ~/junkaqt 5.12.11 mac desktop -m qtwebengine

2021-06-11 11:16:07,044 - aqt - INFO - aqtinstall(aqt) vunknown on Python 3.9.4 [CPython Clang 12.0.0 (clang-1200.0.32.29)]
2021-06-11 11:16:07,044 - aqt - WARNING - Specified Qt version is unknown: 5.12.11.
2021-06-11 11:16:56,388 - aqt - INFO - Patching /Users/administrator/junkaqt/5.12.11/clang_64/bin/qmake
2021-06-11 11:16:56,417 - aqt - INFO - Patching /Users/administrator/junkaqt/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore
2021-06-11 11:16:56,429 - aqt - INFO - Patching /Users/administrator/junkaqt/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug
2021-06-11 11:16:56,450 - aqt - INFO - Finished installation
2021-06-11 11:16:56,451 - aqt - INFO - Time elasped: 49.40753163 second
/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
ddalcino commented 3 years ago

Are there any updates on this issue? This problem doesn't show up on the Azure Pipeline jobs, and that makes me wonder if it's specific to a particular system configuration.

I did a Google search for this issue, and there are many reports of this issue after upgrading Python to a new version. The conda devs solved this issue by updating tqdm to a newer version. Some deep learning devs solved the issue by updating pytorch or tensorflow.

I would imagine that the requests and py7zr libraries might be doing some multiprocessing, but I can't think of any other libraries in this project that would use semaphores. @tsteven4, can you tell us what versions of those libraries are installed on your Mac?

It appears that the helper.Settings object Cli.call_installer() both use the multiprocessing library; is it possible that the library is being misused?

@tsteven4, does this happen every time you run aqt install, or only some of the time?

tsteven4 commented 3 years ago

@ddalcino here are the answers to your questions. I have never seen this on linux, only macos.

% pip3 list Package Version


appdirs 1.4.4 aqtinstall 1.2.0b4 bcj-cffi 0.5.1 black 21.6b0 Brotli 1.0.9 certifi 2021.5.30 cffi 1.14.5 chardet 4.0.0 click 8.0.1 idna 2.10 multivolumefile 0.2.3 mypy-extensions 0.4.3 packaging 20.9 pathspec 0.8.1 pip 21.1.1 py7zr 0.16.1 pycparser 2.20 pycryptodomex 3.10.1 pyparsing 2.4.7 pyppmd 0.15.0 pyzstd 0.14.4 regex 2021.4.4 requests 2.25.1 semantic-version 2.8.5 setuptools 56.0.0 texttable 1.6.3 toml 0.10.2 urllib3 1.26.5 wheel 0.36.2

It happened 5/5 trails, see the log testsem.log

tsteven4 commented 3 years ago

If I change concurrency from 4 to 2 in settings.ini then the error message changes from 4 leaked objects to 2. This suggests an issue with the muliprocessing.Pool used by installer.py.

/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 2 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '

ddalcino commented 3 years ago

The multiprocessing docs at https://docs.python.org/3/library/multiprocessing.html#multiprocessing.pool.Pool.join indicate that Pool.close should be called before Pool.join, which implies that this code is correct: https://github.com/miurahr/aqtinstall/blob/173d9e78c09dd4f1e93b71d67a880a7a42b60679/aqt/installer.py#L184-L187

However, every use of multiprocessing.Pool in the docs page makes use of the with ... as syntax, which would call contextmanager.__enter__() and contextmanager.__exit__() automatically. The docs imply that this would handle the multiprocessing.Pool object correctly by default. I am not trying to say that this would be a better solution, but I am curious to see if it works on your machine.

What happens on your machine if you make this change:

- pool = multiprocessing.Pool(self.settings.concurrency)
- pool.starmap(installer, tasks)
- pool.close()
- pool.join()
+ with multiprocessing.Pool(self.settings.concurrency) as pool:
+    pool.starmap(installer, tasks)

... and then run the install command? On my Linux machine, this installs qt successfully, without any semaphore warnings, but I wasn't seeing the semaphore warnings before.

tsteven4 commented 3 years ago

No change. Install succeeds, but I still get

2021-06-16 11:14:34,742 - aqt - INFO - Finished installation
2021-06-16 11:14:34,743 - aqt - INFO - Time elasped: 42.33355771 second
administrator@27229 ~ % /usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
tsteven4 commented 3 years ago

So far on macos I was using python (3.9.5) from homebrew. If I use the apple installed python (3.8.2) I get the same error.

2021-06-16 11:57:58,956 - aqt - INFO - Finished installation
2021-06-16 11:57:58,956 - aqt - INFO - Time elasped: 22.25464943 second
administrator@27229 ~ % /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
ddalcino commented 3 years ago

The other explanation I can think of is the fact that aqt/helper.Settings is a Borg/Singleton object. Before the object is initialized, it uses a multiprocessing.Lock object to prevent a race condition, and then it populates itself using the contents of settings.ini. It doesn't look like there's anything wrong with it, but I've read too many warnings about the Singleton pattern being incompatible with multithreading not to suspect it.

I wonder what would happen if you removed Settings.shared_state._lock at https://github.com/miurahr/aqtinstall/blob/master/aqt/helper.py#L201 and the lock check at https://github.com/miurahr/aqtinstall/blob/master/aqt/helper.py#L207?

It looks like the shared state for Settings is initialized at least once in a single-threaded context in installer.Cli._setup_settings(). I could be wrong, but in the context of the installer, I don't see the need for a lock here. In the unit tests, it looks like Settings is initialized in tests/conftest.py.

Edit:

Output after removing the lock:

2021-06-16 11:55:16,545 - aqt - INFO - Finished installation
2021-06-16 11:55:16,546 - aqt - INFO - Time elasped: 88.06408130 second

I am jealous of your fast internet connection.

tsteven4 commented 3 years ago

I wonder what would happen if you removed Settings.shared_state._lock at https://github.com/miurahr/aqtinstall/blob/master/aqt/helper.py#L201 and the lock check at https://github.com/miurahr/aqtinstall/blob/master/aqt/helper.py#L207?

It appears to work - there is no warning about leaked semaphores.

ddalcino commented 3 years ago

It appears to work - there is no warning about leaked semaphores.

Well, that tells us where the problem is, but it is not clear to me that removing the lock is the best solution to the problem. Maybe there's another way to introduce the lock without leaking semaphores. I must confess that I am not familiar enough with multithreading with Python, or the Borg pattern, to know what the right solution here is.

Many examples of the Borg pattern that I have found online use the threading library for the lock, and I have yet to find any that use multiprocessing. It would probably be a mistake to use threading for the lock here, since we are using processes and not threads here.

If you look at the docs and source code for multiprocessing.Lock, it looks like it's a factory function that returns a subclass of Semaphore. I suspect that these are the leaked semaphore objects, but I'm not clear on why they are being leaked.

tsteven4 commented 3 years ago

A little print debugging in Settings will show that the settings.ini file is read once on linux, but multiple times on mac.

mac:

reading <_io.TextIOWrapper name='/usr/local/lib/python3.9/site-packages/aqt/settings.ini' mode='r' encoding='UTF-8'>
reading <_io.TextIOWrapper name='/usr/local/lib/python3.9/site-packages/aqt/settings.ini' mode='r' encoding='UTF-8'>
reading <_io.TextIOWrapper name='/usr/local/lib/python3.9/site-packages/aqt/settings.ini' mode='r' encoding='UTF-8'>
reading <_io.TextIOWrapper name='/usr/local/lib/python3.9/site-packages/aqt/settings.ini' mode='r' encoding='UTF-8'>
reading <_io.TextIOWrapper name='/usr/local/lib/python3.9/site-packages/aqt/settings.ini' mode='r' encoding='UTF-8'>

linux:

reading <_io.TextIOWrapper name='/home/tsteven4/.local/lib/python3.8/site-packages/aqt/settings.ini' mode='r' encoding='UTF-8'>

I think this has to do with fork vs spawn: https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods

Additionally, most of the logging messages don't appear under macos, perhaps because they are coming from spawned processes.

miurahr commented 3 years ago

272 is a PoC implementation to remove Borg/Singleton design pattern and replace it with global variable.

Does this change the behavior?

tsteven4 commented 3 years ago

272 is a PoC implementation to remove Borg/Singleton design pattern and replace it with global variable.

Does this change the behavior?

No. Leaks and missing log messages still present:. This tested the master branch, not the PR.

% aqt install --outputdir /tmp/Qt51211 5.12.11 mac desktop
2021-06-18 09:42:45,821 - aqt - INFO - aqtinstall(aqt) v1.2.0b5.dev6 on Python 3.9.5 [CPython Clang 12.0.0 (clang-1200.0.32.29)]
2021-06-18 09:43:08,371 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/bin/qmake
2021-06-18 09:43:08,399 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DRender.pc
2021-06-18 09:43:08,401 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DAnimation.pc
2021-06-18 09:43:08,401 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Xml.pc
2021-06-18 09:43:08,402 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Network.pc
2021-06-18 09:43:08,403 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuick.pc
2021-06-18 09:43:08,404 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Multimedia.pc
2021-06-18 09:43:08,405 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5OpenGLExtensions.pc
2021-06-18 09:43:08,405 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickTest.pc
2021-06-18 09:43:08,406 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Widgets.pc
2021-06-18 09:43:08,407 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DLogic.pc
2021-06-18 09:43:08,408 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5RemoteObjects.pc
2021-06-18 09:43:08,408 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DCore.pc
2021-06-18 09:43:08,409 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickInput.pc
2021-06-18 09:43:08,409 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5MultimediaWidgets.pc
2021-06-18 09:43:08,410 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebChannel.pc
2021-06-18 09:43:08,412 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DExtras.pc
2021-06-18 09:43:08,412 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5DBus.pc
2021-06-18 09:43:08,413 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Nfc.pc
2021-06-18 09:43:08,414 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5UiPlugin.pc
2021-06-18 09:43:08,415 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickAnimation.pc
2021-06-18 09:43:08,415 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5MacExtras.pc
2021-06-18 09:43:08,416 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5OpenGL.pc
2021-06-18 09:43:08,417 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5XmlPatterns.pc
2021-06-18 09:43:08,418 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Core.pc
2021-06-18 09:43:08,418 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebView.pc
2021-06-18 09:43:08,419 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Gamepad.pc
2021-06-18 09:43:08,420 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Test.pc
2021-06-18 09:43:08,421 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Gui.pc
2021-06-18 09:43:08,421 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5SerialPort.pc
2021-06-18 09:43:08,422 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5UiTools.pc
2021-06-18 09:43:08,422 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickExtras.pc
2021-06-18 09:43:08,423 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Sensors.pc
2021-06-18 09:43:08,424 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5TextToSpeech.pc
2021-06-18 09:43:08,424 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5RepParser.pc
2021-06-18 09:43:08,425 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Sql.pc
2021-06-18 09:43:08,426 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickRender.pc
2021-06-18 09:43:08,426 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickScene2D.pc
2021-06-18 09:43:08,427 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebSockets.pc
2021-06-18 09:43:08,428 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Qml.pc
2021-06-18 09:43:08,429 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5SerialBus.pc
2021-06-18 09:43:08,430 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Positioning.pc
2021-06-18 09:43:08,430 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Location.pc
2021-06-18 09:43:08,431 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Bluetooth.pc
2021-06-18 09:43:08,432 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Quick.pc
2021-06-18 09:43:08,432 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5PrintSupport.pc
2021-06-18 09:43:08,433 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Designer.pc
2021-06-18 09:43:08,434 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickControls2.pc
2021-06-18 09:43:08,434 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Scxml.pc
2021-06-18 09:43:08,435 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Help.pc
2021-06-18 09:43:08,435 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickTemplates2.pc
2021-06-18 09:43:08,436 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5PositioningQuick.pc
2021-06-18 09:43:08,437 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Svg.pc
2021-06-18 09:43:08,437 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DInput.pc
2021-06-18 09:43:08,438 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickWidgets.pc
2021-06-18 09:43:08,439 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Concurrent.pc
2021-06-18 09:43:08,440 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ClipboardSupport.la
2021-06-18 09:43:08,442 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDebug.la
2021-06-18 09:43:08,443 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5DeviceDiscoverySupport_debug.la
2021-06-18 09:43:08,445 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDebug_debug.la
2021-06-18 09:43:08,447 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5GraphicsSupport.la
2021-06-18 09:43:08,448 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FontDatabaseSupport_debug.la
2021-06-18 09:43:08,450 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PlatformCompositorSupport.la
2021-06-18 09:43:08,452 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5GraphicsSupport_debug.la
2021-06-18 09:43:08,453 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ServiceSupport.la
2021-06-18 09:43:08,455 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EdidSupport.la
2021-06-18 09:43:08,456 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5UiTools_debug.la
2021-06-18 09:43:08,458 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ThemeSupport_debug.la
2021-06-18 09:43:08,459 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ClipboardSupport_debug.la
2021-06-18 09:43:08,461 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EventDispatcherSupport_debug.la
2021-06-18 09:43:08,463 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5DeviceDiscoverySupport.la
2021-06-18 09:43:08,464 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EventDispatcherSupport.la
2021-06-18 09:43:08,466 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FbSupport_debug.la
2021-06-18 09:43:08,467 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5AccessibilitySupport_debug.la
2021-06-18 09:43:08,469 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PacketProtocol_debug.la
2021-06-18 09:43:08,470 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDevTools.la
2021-06-18 09:43:08,472 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EdidSupport_debug.la
2021-06-18 09:43:08,474 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FontDatabaseSupport.la
2021-06-18 09:43:08,475 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5OpenGLExtensions_debug.la
2021-06-18 09:43:08,477 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5OpenGLExtensions.la
2021-06-18 09:43:08,478 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ThemeSupport.la
2021-06-18 09:43:08,480 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5UiTools.la
2021-06-18 09:43:08,481 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PlatformCompositorSupport_debug.la
2021-06-18 09:43:08,483 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ServiceSupport_debug.la
2021-06-18 09:43:08,484 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FbSupport.la
2021-06-18 09:43:08,486 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5Bootstrap.la
2021-06-18 09:43:08,487 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PacketProtocol.la
2021-06-18 09:43:08,489 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5AccessibilitySupport.la
2021-06-18 09:43:08,490 - aqt - INFO - Patching /private/tmp/Qt51211/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore
2021-06-18 09:43:08,498 - aqt - INFO - Patching /private/tmp/Qt51211/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug
2021-06-18 09:43:08,520 - aqt - INFO - Finished installation
2021-06-18 09:43:08,520 - aqt - INFO - Time elasped: 22.69933226 second
administrator@27229 aqtmstr % /usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
tsteven4 commented 3 years ago

Ahh, i forgot to checkout the branch with the PR. It does change the behavior, but not in a good way

% aqt install --outputdir /tmp/Qt51211 5.12.11 mac desktop
2021-06-18 09:49:45,605 - aqt - INFO - aqtinstall(aqt) v1.2.0b5.dev7 on Python 3.9.5 [CPython Clang 12.0.0 (clang-1200.0.32.29)]
multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 51, in starmapstar
    return list(itertools.starmap(args[0], args[1]))
  File "/usr/local/lib/python3.9/site-packages/aqt/installer.py", line 695, in installer
    timeout = (Settings.connection_timeout(), Settings.response_timeout())
  File "/usr/local/lib/python3.9/site-packages/aqt/settings.py", line 130, in connection_timeout
    return configurations.getfloat("aqt", "connection_timeout", fallback=3.5)
AttributeError: 'dict' object has no attribute 'getfloat'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/bin/aqt", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/aqt/__init__.py", line 31, in main
    return cli.run()
  File "/usr/local/lib/python3.9/site-packages/aqt/installer.py", line 678, in run
    return args.func(args)
  File "/usr/local/lib/python3.9/site-packages/aqt/installer.py", line 290, in run_install
    self.call_installer(qt_archives, base_dir, sevenzip, keep)
  File "/usr/local/lib/python3.9/site-packages/aqt/installer.py", line 186, in call_installer
    pool.starmap(installer, tasks)
  File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 372, in starmap
    return self._map_async(func, iterable, starmapstar, chunksize).get()
  File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 771, in get
    raise self._value
AttributeError: 'dict' object has no attribute 'getfloat'
miurahr commented 3 years ago

It seems not to initialized (load settings.ini) properly.

ddalcino commented 3 years ago

This is present in the Github Actions build too. I think it has to do with the global objects in aqt.settings not being shared with the child processes. To the child processes, aqt.settings.configurations and aqt.settings.combinations are still empty dicts.

It looks like you can share global objects between processes using multiprocessing.Manager: https://docs.python.org/3/library/multiprocessing.html#multiprocessing.sharedctypes.multiprocessing.Manager

I would expect that there's a good reason why multiprocessing is being used, and not the threads library. If not, this might be a good time to revisit that decision, since it seems like the Borg pattern with the thread.Lock works pretty well for a lot of people.

Edit: Is multiprocessing used to avoid the GIL?

tsteven4 commented 3 years ago

Be aware that multiprocessing on macos changed in 3.8. There is a chance this worked on macos with 3.7.

Changed in version 3.8: On macOS, the spawn start method is now the default. The fork start method should be considered unsafe as it can lead to crashes of the subprocess. See bpo-33725.

tsteven4 commented 3 years ago

Indeed, 1.2.0b4 works on macos with python 3.7. No leaked semaphores, missing log messages present. This is the same machine with python 3.7 installed from homebrew.

 aqt install --outputdir /tmp/Qt51211 5.12.11 mac desktop
2021-06-18 10:13:21,802 - aqt - INFO - aqtinstall(aqt) v1.2.0b4 on Python 3.7.10 [CPython Clang 12.0.0 (clang-1200.0.32.29)]
2021-06-18 10:13:22,508 - aqt - INFO - Downloading qtbase...
2021-06-18 10:13:22,508 - aqt - INFO - Downloading qtdeclarative...
2021-06-18 10:13:22,508 - aqt - INFO - Downloading qtimageformats...
2021-06-18 10:13:22,508 - aqt - INFO - Downloading qtmultimedia...
2021-06-18 10:13:22,509 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:22,509 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtdeclarative-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:22,509 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtimageformats-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:22,509 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtmultimedia-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:23,881 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtdeclarative-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:23,881 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:23,881 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtimageformats-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:23,881 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:23,881 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:23,881 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:23,889 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtmultimedia-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:23,889 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:24,105 - aqt - INFO - Finished installation of qtimageformats-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.596578084
2021-06-18 10:13:24,105 - aqt - INFO - Downloading qtmacextras...
2021-06-18 10:13:24,106 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtmacextras-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:24,295 - aqt - INFO - Finished installation of qtmultimedia-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.7867175309999999
2021-06-18 10:13:24,296 - aqt - INFO - Downloading qtsensors...
2021-06-18 10:13:24,296 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtsensors-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:25,447 - aqt - INFO - Finished installation of qtdeclarative-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.9387511880000003
2021-06-18 10:13:25,447 - aqt - INFO - Downloading qtgraphicaleffects...
2021-06-18 10:13:25,448 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtgraphicaleffects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:25,468 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtmacextras-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:25,468 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:25,550 - aqt - INFO - Finished installation of qtmacextras-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.444793631
2021-06-18 10:13:25,551 - aqt - INFO - Downloading qtsvg...
2021-06-18 10:13:25,551 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtsvg-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:25,650 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtsensors-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:25,651 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:25,849 - aqt - INFO - Finished installation of qtsensors-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.553221407
2021-06-18 10:13:25,850 - aqt - INFO - Downloading qtwebchannel...
2021-06-18 10:13:25,850 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebchannel-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:26,800 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtgraphicaleffects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:26,801 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:26,910 - aqt - INFO - Finished installation of qtgraphicaleffects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.462604678
2021-06-18 10:13:26,911 - aqt - INFO - Downloading qtxmlpatterns...
2021-06-18 10:13:26,911 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtsvg-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:26,912 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtxmlpatterns-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:26,912 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:27,066 - aqt - INFO - Finished installation of qtsvg-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.5147148809999997
2021-06-18 10:13:27,066 - aqt - INFO - Downloading qttranslations...
2021-06-18 10:13:27,067 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qttranslations-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:27,202 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebchannel-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:27,203 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:27,414 - aqt - INFO - Finished installation of qtwebchannel-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.5640500990000001
2021-06-18 10:13:27,415 - aqt - INFO - Downloading qtwebsockets...
2021-06-18 10:13:27,415 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebsockets-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:28,265 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtxmlpatterns-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:28,266 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:28,421 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qttranslations-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:28,422 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:28,641 - aqt - INFO - Finished installation of qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 6.13335425
2021-06-18 10:13:28,642 - aqt - INFO - Downloading qtconnectivity...
2021-06-18 10:13:28,642 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtconnectivity-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:28,775 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebsockets-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:28,776 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:28,806 - aqt - INFO - Finished installation of qtxmlpatterns-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.8955301580000006
2021-06-18 10:13:28,807 - aqt - INFO - Downloading qtlocation...
2021-06-18 10:13:28,808 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtlocation-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:28,837 - aqt - INFO - Finished installation of qttranslations-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.7711918320000004
2021-06-18 10:13:28,838 - aqt - INFO - Downloading qtserialport...
2021-06-18 10:13:28,839 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtserialport-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:29,001 - aqt - INFO - Finished installation of qtwebsockets-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.5864736299999995
2021-06-18 10:13:29,002 - aqt - INFO - Downloading qtquickcontrols...
2021-06-18 10:13:29,002 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtquickcontrols-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:30,014 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtconnectivity-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:30,015 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:30,163 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtlocation-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:30,163 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:30,201 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtserialport-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:30,202 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:30,299 - aqt - INFO - Finished installation of qtserialport-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.4605340049999995
2021-06-18 10:13:30,299 - aqt - INFO - Downloading qttools...
2021-06-18 10:13:30,300 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qttools-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:30,322 - aqt - INFO - Finished installation of qtconnectivity-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.680081564
2021-06-18 10:13:30,323 - aqt - INFO - Downloading qt3d...
2021-06-18 10:13:30,323 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qt3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:30,356 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtquickcontrols-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:30,357 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:30,738 - aqt - INFO - Finished installation of qtquickcontrols-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.736499685000001
2021-06-18 10:13:30,739 - aqt - INFO - Downloading qtquickcontrols2...
2021-06-18 10:13:30,739 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtquickcontrols2-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:30,822 - aqt - INFO - Finished installation of qtlocation-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.0151403859999997
2021-06-18 10:13:30,823 - aqt - INFO - Downloading qtwebview...
2021-06-18 10:13:30,823 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebview-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:31,664 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qttools-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:31,664 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:31,678 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qt3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:31,678 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:32,099 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtquickcontrols2-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:32,100 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:32,183 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebview-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:32,183 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:32,296 - aqt - INFO - Finished installation of qtwebview-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.4730242530000002
2021-06-18 10:13:32,296 - aqt - INFO - Downloading qtserialbus...
2021-06-18 10:13:32,297 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtserialbus-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:32,722 - aqt - INFO - Finished installation of qtquickcontrols2-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.9833666510000008
2021-06-18 10:13:32,723 - aqt - INFO - Downloading qtscxml...
2021-06-18 10:13:32,723 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtscxml-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:33,312 - aqt - INFO - Finished installation of qt3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.9894015100000004
2021-06-18 10:13:33,313 - aqt - INFO - Downloading qtcanvas3d...
2021-06-18 10:13:33,313 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtcanvas3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:33,652 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtserialbus-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:33,653 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:33,842 - aqt - INFO - Finished installation of qtserialbus-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.5455304210000005
2021-06-18 10:13:33,843 - aqt - INFO - Downloading qtspeech...
2021-06-18 10:13:33,843 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtspeech-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:34,078 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtscxml-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:34,079 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:34,263 - aqt - INFO - Finished installation of qtscxml-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.539869156
2021-06-18 10:13:34,263 - aqt - INFO - Downloading qtgamepad...
2021-06-18 10:13:34,264 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtgamepad-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:34,568 - aqt - INFO - Finished installation of qttools-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 4.2691913679999995
2021-06-18 10:13:34,676 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtcanvas3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:34,677 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:34,820 - aqt - INFO - Finished installation of qtcanvas3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.5070799140000002
2021-06-18 10:13:35,208 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtspeech-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:35,209 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:35,307 - aqt - INFO - Finished installation of qtspeech-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.464463941
2021-06-18 10:13:35,308 - aqt - INFO - Downloading qtremoteobjects...
2021-06-18 10:13:35,308 - aqt - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtremoteobjects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:35,628 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtgamepad-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:35,628 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:35,749 - aqt - INFO - Finished installation of qtgamepad-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.4856583150000002
2021-06-18 10:13:36,668 - aqt - INFO - Asked to redirect(302) to: http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtremoteobjects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-18 10:13:36,668 - aqt - INFO - Redirected: mirrors.ocf.berkeley.edu
2021-06-18 10:13:36,888 - aqt - INFO - Finished installation of qtremoteobjects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.5803110569999994
2021-06-18 10:13:37,093 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/bin/qmake
2021-06-18 10:13:37,122 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DRender.pc
2021-06-18 10:13:37,123 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DAnimation.pc
2021-06-18 10:13:37,124 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Xml.pc
2021-06-18 10:13:37,125 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Network.pc
2021-06-18 10:13:37,126 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuick.pc
2021-06-18 10:13:37,126 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Multimedia.pc
2021-06-18 10:13:37,128 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5OpenGLExtensions.pc
2021-06-18 10:13:37,128 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickTest.pc
2021-06-18 10:13:37,129 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Widgets.pc
2021-06-18 10:13:37,130 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DLogic.pc
2021-06-18 10:13:37,130 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5RemoteObjects.pc
2021-06-18 10:13:37,131 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DCore.pc
2021-06-18 10:13:37,131 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickInput.pc
2021-06-18 10:13:37,132 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5MultimediaWidgets.pc
2021-06-18 10:13:37,133 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebChannel.pc
2021-06-18 10:13:37,134 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DExtras.pc
2021-06-18 10:13:37,134 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5DBus.pc
2021-06-18 10:13:37,135 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Nfc.pc
2021-06-18 10:13:37,135 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5UiPlugin.pc
2021-06-18 10:13:37,136 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickAnimation.pc
2021-06-18 10:13:37,136 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5MacExtras.pc
2021-06-18 10:13:37,137 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5OpenGL.pc
2021-06-18 10:13:37,138 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5XmlPatterns.pc
2021-06-18 10:13:37,139 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Core.pc
2021-06-18 10:13:37,139 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebView.pc
2021-06-18 10:13:37,140 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Gamepad.pc
2021-06-18 10:13:37,141 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Test.pc
2021-06-18 10:13:37,141 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Gui.pc
2021-06-18 10:13:37,142 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5SerialPort.pc
2021-06-18 10:13:37,143 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5UiTools.pc
2021-06-18 10:13:37,143 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickExtras.pc
2021-06-18 10:13:37,144 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Sensors.pc
2021-06-18 10:13:37,144 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5TextToSpeech.pc
2021-06-18 10:13:37,145 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5RepParser.pc
2021-06-18 10:13:37,146 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Sql.pc
2021-06-18 10:13:37,146 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickRender.pc
2021-06-18 10:13:37,147 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickScene2D.pc
2021-06-18 10:13:37,148 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebSockets.pc
2021-06-18 10:13:37,148 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Qml.pc
2021-06-18 10:13:37,149 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5SerialBus.pc
2021-06-18 10:13:37,150 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Positioning.pc
2021-06-18 10:13:37,151 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Location.pc
2021-06-18 10:13:37,151 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Bluetooth.pc
2021-06-18 10:13:37,152 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Quick.pc
2021-06-18 10:13:37,152 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5PrintSupport.pc
2021-06-18 10:13:37,153 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Designer.pc
2021-06-18 10:13:37,154 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickControls2.pc
2021-06-18 10:13:37,155 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Scxml.pc
2021-06-18 10:13:37,155 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Help.pc
2021-06-18 10:13:37,156 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickTemplates2.pc
2021-06-18 10:13:37,156 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5PositioningQuick.pc
2021-06-18 10:13:37,157 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Svg.pc
2021-06-18 10:13:37,158 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DInput.pc
2021-06-18 10:13:37,158 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickWidgets.pc
2021-06-18 10:13:37,159 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Concurrent.pc
2021-06-18 10:13:37,160 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ClipboardSupport.la
2021-06-18 10:13:37,162 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDebug.la
2021-06-18 10:13:37,163 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5DeviceDiscoverySupport_debug.la
2021-06-18 10:13:37,165 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDebug_debug.la
2021-06-18 10:13:37,168 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5GraphicsSupport.la
2021-06-18 10:13:37,169 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FontDatabaseSupport_debug.la
2021-06-18 10:13:37,171 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PlatformCompositorSupport.la
2021-06-18 10:13:37,173 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5GraphicsSupport_debug.la
2021-06-18 10:13:37,174 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ServiceSupport.la
2021-06-18 10:13:37,176 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EdidSupport.la
2021-06-18 10:13:37,177 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5UiTools_debug.la
2021-06-18 10:13:37,179 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ThemeSupport_debug.la
2021-06-18 10:13:37,181 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ClipboardSupport_debug.la
2021-06-18 10:13:37,182 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EventDispatcherSupport_debug.la
2021-06-18 10:13:37,184 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5DeviceDiscoverySupport.la
2021-06-18 10:13:37,186 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EventDispatcherSupport.la
2021-06-18 10:13:37,187 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FbSupport_debug.la
2021-06-18 10:13:37,189 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5AccessibilitySupport_debug.la
2021-06-18 10:13:37,190 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PacketProtocol_debug.la
2021-06-18 10:13:37,192 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDevTools.la
2021-06-18 10:13:37,194 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EdidSupport_debug.la
2021-06-18 10:13:37,195 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FontDatabaseSupport.la
2021-06-18 10:13:37,197 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5OpenGLExtensions_debug.la
2021-06-18 10:13:37,199 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5OpenGLExtensions.la
2021-06-18 10:13:37,201 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ThemeSupport.la
2021-06-18 10:13:37,203 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5UiTools.la
2021-06-18 10:13:37,205 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PlatformCompositorSupport_debug.la
2021-06-18 10:13:37,206 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ServiceSupport_debug.la
2021-06-18 10:13:37,208 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FbSupport.la
2021-06-18 10:13:37,209 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5Bootstrap.la
2021-06-18 10:13:37,211 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PacketProtocol.la
2021-06-18 10:13:37,213 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5AccessibilitySupport.la
2021-06-18 10:13:37,215 - aqt - INFO - Patching /private/tmp/Qt51211/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore
2021-06-18 10:13:37,221 - aqt - INFO - Patching /private/tmp/Qt51211/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug
2021-06-18 10:13:37,240 - aqt - INFO - Finished installation
2021-06-18 10:13:37,240 - aqt - INFO - Time elasped: 15.43789268 second
miurahr commented 3 years ago

Is multiprocessing used to avoid the GIL?

Yes. Extraction is CPU-bind task and GIL prevent concurrency.

miurahr commented 3 years ago

272 is now passed all github actions test. (Azure devops seems to be in maintenance)

ddalcino commented 3 years ago

272 looks like Settings has been changed from a "Borg/Singleton with locks" to a raw global object. We discussed before that the Borg/Singleton with all the locks removed works fine and doesn't have the leaked semaphore problem. Is a raw global really preferable to using the Borg pattern?

miurahr commented 3 years ago

273 adjust logging. Does it help you?

miurahr commented 3 years ago

Is a raw global really preferable to using the Borg pattern?

Settings instance is initialize once and read-only object. It is why global instance is enough.

zhanwenchen commented 1 year ago

I got this error with PyTorch mps while running tqdm=4.65.0. I was able to remove it and install 4.66.1 which solved it. Not a RAM issue.