Skip to content

[Bug] R SOMACollection printer doesn't get context #2899

@ebezzi

Description

@ebezzi

Describe the bug
When inspecting a SOMACollection in the Census (using R), an AWS S3 error is raised, which usually happens when the context doesn't have region information.

To Reproduce

> library("cellxgene.census")
> census <- open_soma()
The stable Census release is currently 2024-07-01. Specify census_version = "2024-07-01" in future calls to open_soma() to ensure data consistency.
> census
<SOMACollection>
  uri: s3://cellxgene-census-public-us-west-2/cell-census/2024-07-01/soma/
Error: S3: Error while listing with prefix 's3://cellxgene-census-public-us-west-2/cell-census/2024-07-01/soma/__schema/' and delimiter '/'[Error Type: 100] [HTTP Response Code: 301] [Exception: PermanentRedirect] [Remote IP: ...] [Request ID: ...] [Headers: 'content-type' = 'application/xml' 'date' = 'Thu, 15 Aug 2024 17:25:56 GMT' 'server' = 'AmazonS3' 'transfer-encoding' = 'chunked' 'x-amz-bucket-region' = 'us-west-2' 'x-amz-id-2' = ... 'x-amz-request-id' = ...] : Unable to parse ExceptionName: PermanentRedirect Message: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.

Also note:

> census$tiledbsoma_ctx
<SOMATileDBContext>
...   vfs.s3.region: us-west-2

Versions (please complete the following information):

  • TileDB-SOMA version: 1.13.0
  • Language and language version: R 4.4
  • OS (e.g. MacOS, Ubuntu Linux): MacOS

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions