-
Notifications
You must be signed in to change notification settings - Fork 330
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
'ForkAwareLocal' object has no attribute 'connection' for multithreaded cp #1100
Comments
I have the exactly same problem in OSX 10.15.6, gcloud {308.0.0, 297.0.1}, gsutil {4.53, 4.51}, python 3.7.8. |
Same in OSX 10.15.7, gcloud 303.0.0, gsutil 4.52, python 3.6.5 |
Same in gcloud 317.0.0, python 3.7.7 |
Thanks for reporting this! I was able to reproduce this bug as well and found that disabling multiprocessing helped. You can do this by setting I'm guessing this issue is related to more general issues with multiprocessing on MacOS that PR #1107 left us vulnerable to (#1107 (comment)). If you're still having this issue after disabling multiprocessing please let us know! |
Thank you for providing a workaround, it works for me. This tool is a joke though. Not a single version since |
The -o "GSUtil:parallel_process_count=1" workaround works for me on Big Sur (macOS 11.2) but it's frustrating to me that this continues to persist as an issue on the Mac platform. |
Doesnt work for me, I get |
I ran into the same |
GoogleCloudPlatform/gsutil#1100 Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
If you're here, I recommend the new gcloud storage cp commend: https://cloud.google.com/sdk/gcloud/reference/storage/cp |
When running
gsutil -m cp -r gs://example/ ./
on a fairly large folder on macOS with the system Python 3.7 (to prevent the issues from #961), I see many instances of the following error:As a result the command seems to hang after starting a first batch of downloads.
The text was updated successfully, but these errors were encountered: