-
Notifications
You must be signed in to change notification settings - Fork 141
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
GCSFileSystem.exists() not working with bucket only #34
Comments
I don't really know the difference between the "name" and "id" of a project, but if I instantiate Thanks, @yiga2 , for listing your experiences with gcsfs, it's good to have more eyes on it. |
Ah, in our case, the project name and id are the same :) |
I was trying to find a way to look up a project ID based on client + project name but couldn't find any suitable API. |
Fixed in #45 |
when checking on bucket existence, I get
Issue is actually with
_list_buckets()
and theget
call to list buckets. The API requires the pass the project ID, not the project name - see https://cloud.google.com/storage/docs/json_api/v1/buckets/list and https://cloud.google.com/storage/docs/projectsBTW, that ID is also required to create a bucket so
mkdir()
has same issueThis was not spotted before if you happened to have project name = ID
The text was updated successfully, but these errors were encountered: