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

Undefined options.targetBuffer in cornerstoneWADOImageLoader #2239

Closed
sefranz opened this issue Jan 15, 2021 · 0 comments
Closed

Undefined options.targetBuffer in cornerstoneWADOImageLoader #2239

sefranz opened this issue Jan 15, 2021 · 0 comments

Comments

@sefranz
Copy link

sefranz commented Jan 15, 2021

Hello there,
I am trying to build a very basic custom viewer using @ohif/core and @ohif/extension-cornerstone.
When loading a series I get an exception within the cornerstoneWADOImageLoader:

Unhandled Runtime Error
TypeError: f is undefined
Call Stack
./node_modules/cornerstone-wado-image-loader/dist/cornerstoneWADOImageLoader.min.js

The error traces into the createImage function called by cornerstone. As implemented in the @ohif/viewer this method is called without the options function parameter and therefore the error occurs.

Nevertheless, in the demo version of the viewer this error obviously does not occur and I would like to know what I am missing in my implementation.


I built a minimal version of a viewer here: ohif-nextjs-minimal
that should load one single series from a study and display it in using react and cornerstone.
Can you tell me what I am missing here?

JamesAPetts added a commit to cornerstonejs/cornerstoneWADOImageLoader that referenced this issue Jan 15, 2021
swederik pushed a commit to cornerstonejs/cornerstoneWADOImageLoader that referenced this issue Jan 15, 2021
@sefranz sefranz closed this as completed Jan 15, 2021
sedghi pushed a commit to sedghi/cornerstone3D-beta that referenced this issue Jan 13, 2023
sedghi pushed a commit to cornerstonejs/cornerstone3D that referenced this issue Jan 30, 2023
sedghi pushed a commit to cornerstonejs/cornerstone3D that referenced this issue Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant