-
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
gsutil breaks after updating to SDK 298 on OS X #1052
Comments
I tried the rsync command you have mentioned above and it's working for me. Are you able to reproduce the issue? |
I also have an issue with gcloud 298's gsutil on OS X. My error occurs when I run a cp operation and works fine again after downgrading to 297. I've anonymized my output but it looks like:
|
@dilipped yes I can reproduce. As soon as I update, it breaks:
|
This I was able to fix it by manually merging this commit: f8f00d0 Which simply adds the USER_AGENT variable back. Not sure why that is not in the official binary/archive. Another issue is macOS and Python 3.8 specific, which of course, is a wonderful combination (I'm not bitter, you are!): https://bugs.python.org/issue33725 and #961 give some hints. This can be resolved by upgrading Python or by just glueing it together and hoping for the best: python/cpython@bc36696 Since I still got It hits the multiprocessing library I hence "fixed" this by adding:
in |
@otter-in-a-suit Thanks for the information! Regarding @codefrau For the |
Still broken in Cloud SDK 300.0.0 on macOS 10.15.5 (Python 3.8.3). |
And 301.0.0 macOS 10.16 beta (Python 3.8.3). |
Unfortunately, the fix for |
any estimate on when 302.0.0 will be released? |
21st July, if nothing blocks the release |
ok, thanks. For anyone else running into the You might not need to back that far but I can verify that 291.0.1 works (at least for me) |
|
Nope. In 303.0.0 I still get |
@codefrau what's the python version? Mine is |
I just wanted to point out that 303.0.0 only fixes the |
In 303.0.0 now getting |
Please see #961 (comment). It solved the problem for me. |
I have the same
Update: Fixed the above error by installing pip2 instead of pip3. But even with crcmod installed the way that the instructions say it still gives the same The MacOS description also states:
So hereby. |
@Amzd which python version are you using? You can check that by doing You can check your python path by running |
Ah okay, gsutil is using python3 but when I try to install crcmod with python3 I get the error:
|
Tried 314.0 today, still broken, I guess #1107 is not deployed yet? |
This is still an issue |
#1107 Is not deployed yet. We are working on the release and it should be out by next week or the week after. |
Can you update us when this is fixed? It's still an issue for me (after updating gcloud components). |
I can confirm that manually installing crcmod is valid workaround. The only tricky thing is that you have to identify which python |
Building on @alvis 's comment, you'll need to use Python 3.7 for now. It sounds like the issue has been fixed, but I don't know if the patch has made it into the current release yet: |
I think this is solved now, could the maintainers confirm? |
The version in SDK 323.0.0 appears to work fine. I don't remember if I had to build crcmod or not, but it works for me. The only annoyance is this warning which is printed on each invocation:
I edited my .boto to silence it. I assume it will also go away with a newer Python version (I'm using the system default on Catalina, 3.6.5). So I as the original reporter of this issue consider it fixed (yay!) but I'll leave it to the maintainers to decide if it's okay to close. |
Getting this error with this Cloud SDK version:
when trying to synchronize.
|
I will close this based on #1123. @martindufort The Thanks! |
@martindufort , because I had the same problem... you'll need to update |
I still have issues with this. Does anyone know how to fix it? Gsutil keeps hanging for me when I use the -m flag. |
I fixed the
I'm using Homebrew Python, which is currently at v 3.10.7, but when I ran |
SDK 297 was fine
This is on macOS Catalina 10.15.5:
The same command works fine again after reverting to 297 that I had installed previously.
The text was updated successfully, but these errors were encountered: