You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the intent was self._shutdown(cancel, cancel_msg).
Calling shutdown(cancel=True) raises TypeError. The less-than-ideal workaround is to call TransferManager._shutdown() directly.
The trace:
Traceback (most recent call last):
(irrelevant stuff removed)
File "/home/cedar/venv/cedar/lib/python3.12/site-packages/s3transfer/manager.py", line 626, in shutdown
self._shutdown(cancel, cancel, cancel_msg)
File "/home/cedar/venv/cedar/lib/python3.12/site-packages/s3transfer/manager.py", line 632, in _shutdown
self._coordinator_controller.cancel(cancel_msg, exc_type)
File "/home/cedar/venv/cedar/lib/python3.12/site-packages/s3transfer/manager.py", line 707, in cancel
transfer_coordinator.cancel(msg, exc_type)
File "/home/cedar/venv/cedar/lib/python3.12/site-packages/s3transfer/futures.py", line 279, in cancel
self._exception = exc_type(msg)
^^^^^^^^^^^^^
TypeError: 'str' object is not callable
The text was updated successfully, but these errors were encountered:
There's what appears to be a typo in
manager.TransferManager.shutdown()
:s3transfer/s3transfer/manager.py
Line 626 in c87f321
I think the intent was
self._shutdown(cancel, cancel_msg)
.Calling
shutdown(cancel=True)
raisesTypeError
. The less-than-ideal workaround is to callTransferManager._shutdown()
directly.The trace:
The text was updated successfully, but these errors were encountered: