Skip to content

handle missing codecs by telling users what package to install to get the codec #4271

Description

@d-v-b

(follows up on discussion in #4269)

for codecs we don't support, but which are supported by known python packages, we should name those packages in the error message that reports our failure to find an implementation for the codec. this means we need a little internal mapping that relates codec names to sets of package names. this mapping would be used to generate an error message like An implementation for codec <codec name> is not available. Register one explicitly using the codec registry (see <docs page where that's explained>), or install a Python package that registers a codec implementation with zarr. Known packages supporting this codec: <list of packages>"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions