Skip to content

Images from spatialdata 0.6 don't load - zarr tries to call PUT methods in openGroup #17

@xinaesthete

Description

@xinaesthete

This seems to be at the viv level (and the way it calls zarrita), so I'll open an issue/PR there.

It may be possible to work-around by re-implementing loadOmeZarr locally - that might be what I do initially to figure out what change will be needed in viv.

With #15 test-fixtures available locally, using http://localhost:8080/v0.5.0/blobs.zarr in the demo UI it is able to display images, but http://localhost:8080/v0.6.1/blobs.zarr has errors where it tries to "PUT" data on a store that should be readonly.

hooks.ts:103   Uncaught (in promise) TypeError: Failed to fetch
    at HTTPStore.setItem (httpStore.ts:66:27)
    at initGroupMetadata (index.ts:100:17)
    at async initGroup (index.ts:109:5)
    at async openGroup (hierarchy.ts:301:13)
    at async loadMultiscales (index.mjs:1075:15)
    at async load (index.mjs:1252:39)
    at async createLoader (utils.ts:191:21)
    at async changeLoader (hooks.ts:60:31)

viv stack:

setItem @ httpStore.ts:66
initGroupMetadata @ index.ts:100
await in initGroupMetadata
initGroup @ index.ts:109
await in initGroup
openGroup @ hierarchy.ts:301
await in openGroup
loadMultiscales @ index.mjs:1075
load @ index.mjs:1252
loadOmeZarr @ index.mjs:1293
createLoader @ utils.ts:191
changeLoader @ hooks.ts:60
(anonymous) @ hooks.ts:104

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