Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Loading local dicom files emits warnings in OHIF when scrolling #1794

Open
Gabsha opened this issue Jan 31, 2025 · 0 comments
Open

[Bug] Loading local dicom files emits warnings in OHIF when scrolling #1794

Gabsha opened this issue Jan 31, 2025 · 0 comments

Comments

@Gabsha
Copy link

Gabsha commented Jan 31, 2025

Describe the Bug

Hi! I'm posting this issue here instead of OHIF since the issue appears to be linked to CS3D.

When loading a dicom series using the dicomlocal data source in OHIF, the series will load fine, but several warning will get printed on the console.


Investigating a bit, the error is actually printed out by the httpErrorHandler defined on the appConfig.js file , (the handler expects an http Error, but that specific error is a string which contains Couldn't decode.).

Looking at the stack trace, it points to and errorhandler in the ProgressiveRetrieveImage class. More specifically the loader seems to expect that imageQualityStatus to be defined on the image instance in order for the image loading to be complete.

Looking into loaders, the wadors loaders will define this property, but not the wadouri ones.

Should the imageQualityStatus always be FULL_RESOLUTION when loading from waduri ?

Steps to Reproduce

  1. Go to https://viewer.ohif.org/local
  2. Load a dicom series
  3. Open the dev console
  4. Scroll with mouse wheel

Image

The current behavior

  • It shows several warnings on the console when loading from dicomfile.
  • Loading the same series through dicomweb show no errors.

The expected behavior

It should not trigger any errors.

OS

Linux 6.12.10-arch1-1

Node version

20.18.0

Browser

Chrome 132

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

No branches or pull requests

1 participant