Yannick Einsweiler
Yannick Einsweiler
Never. `gcsfs.GCSFileSystem()` just works every time on < 0.7.0, either locally or on GCP. It works locally because env `GOOGLE_APPLICATION_CREDENTIALS` points to the json file. Not sure on GCP. Note...
@martindurant would it make sense to fork the issue / create a new one as deploying on GCF is different from running on GCP (any component).
Puzzling: **Cannot be deployed w/o versioning `chardet` or e.g. installing `aiohttp[speedups]`:** ``` import gcsfs gcs = gcsfs.GCSFileSystem() def hello_gcs(event, context): print(gcsfs._version.get_versions()) file_name = event['name'] input_bucket = event['bucket'] file_path = f'{input_bucket}/{file_name}'...
Well, ignore previous comment. I managed to deploy as-is by just retrying. Issue might have been intermittent on GCP-side. To be safe though, I would add `cchardet` to `requirements.txt`
I have been testing a dozen variations of a function and can confirm that the issue is with GCP, when first deployed. More specifically, ``` import gcsfs gcs = gcsfs.GCSFileSystem()...
Private issue to get more traction - will report back indeed and request G to create a public issue if cannot be remediated quickly. Responding in the other thread for...
Sorry, yes, 0.5.3. Works as expected with 0.2.x FYI, we have not enabled _Requester Pays_ so checking existence of a bucket should only depends on access rights
Doesn't work with 0.4.0 either, no error but returns False. A quick debug seems to indicate that there is a check against the list of buckets in the account-project. This...
Btw, 0.3.1 works: `exists(bucket-other-project)` returns True
Last thing I tried, on 0.5.3, with `fs=gcsfs.GCSFileSystem(project=)`: - `ls` and `exists` on bucket in that project errors out: `Requester pays bucket access requires authentication` - not sure why since...