mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 06:05:54 +03:00
[GH-ISSUE #944] make_public fails due to ACL being NULL on buckets/blobs that are pre-loaded into the docker container #150
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#150
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marcguidancenl on GitHub (Oct 6, 2022).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/944
I get an ACL error when using make_public on data that is used to initialize the docker container.
this is the sample python code:
this gives
TypeError: 'NoneType' object is not iterablein google/cloud/storage/acl.py", line 398(as far as I can tell this is somewhere in
response.gofrom aclListResponse to getAccessControlsListFromObject, where it somehow returns {"items":null} instead of {"items":[]} ??)Doing the same thing with a bucket and blob created from code works (when #943 is applied)
Originally posted by @marcguidancenl in https://github.com/fsouza/fake-gcs-server/issues/941#issuecomment-1269647236