Skip to content

[Bug] [python] Cryptic error when opening database built under earlier version #4047

@biostu24

Description

@biostu24

Describe the bug

From a database built using version 1.16.2 of the tiledbsoma python package, the follow error was raised when a colleague tried opening the database using version 1.14 of the package:

RuntimeError: ArraySchema: Unable to check if unknown enumeration is loaded. No enumeration named 'species'.

It took quite a while for us to find the cause of the error. Would it be possible to include a database version check and provide a more informative error. Something along the lines of "Database built with version x not compatible with tiledbsoma package version y".

To Reproduce

Database built with version 1.16.2

Try connecting to database using package version 1.14

Versions (please complete the following information):

  • TileDB-SOMA version: See above
  • Language and language version (e.g. Python 3.9, R 4.3.2): Python 3.9
  • OS (e.g. MacOS, Ubuntu Linux): Ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions