question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Images are not loading when image type is DERIVED\SECONDARY\SCREEN SAVE

See original GitHub issue

I have integrated OHIF viewer with Orthanc in backend and facing image loading issue while loading the study with multiple series. The viewer gives error in console for updating the state of the unmounted component, which is stopping the execution. Adding the error I am getting as below.

backend.js:6 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
    in AsyncComponent (created by ViewportGrid)
    in div (created by ViewportPane)
    in ViewportPane (created by ViewportGrid)
    in div (created by ViewportGrid)
    in ViewportGrid (created by ConnectFunction)
    in ConnectFunction (created by ViewerMain)
    in div (created by ViewerMain)
    in ViewerMain (created by ConnectFunction)
    in ConnectFunction (created by Viewer)
    in div (created by Viewer)
    in div (created by Viewer)
    in Viewer (created by WrappedComponent)
    in WrappedComponent (created by ConnectFunction)
    in ConnectFunction (created by ViewerRetrieveStudyData)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dannyrbcommented, Jan 28, 2020

@chiragmalaviya, it may be a while. I’ve been out on leave and have a backlog of issues. I can test this quicker and more reliably if you can setup a reproduction w/ docker. Otherwise, it’ll have to wait until I have a good chunk of time.

0reactions
chsasankcommented, Jan 4, 2021

I can confirm that this happens even when IMAGETYPE is DERIVED\PRIMARY\LOCALIZER\CT_SOM5 MPR

Read more comments on GitHub >

github_iconTop Results From Across the Web

css - Does "display:none" prevent an image from loading?
The image has a display:none style but its size may be read by the script. Chrome v68.0 does not load images if the...
Read more >
7 Reasons Why Images Are Not Loading on Your Website
Website images fail to load for one of these seven common reasons.
Read more >
Lazy Loading Images – The Complete Guide - ImageKit.io
For images it usually translates to any image that is not visible to the user up front can be lazy loaded. As the...
Read more >
<img>: The Image Embed element - HTML - MDN Web Docs
The user chooses not to display images (saving bandwidth, privacy reasons); The image is invalid or an unsupported type. In these cases, the ......
Read more >
Image Menu - ImageJ - NIH
Use this submenu to determine the type of the active image or to convert it to ... ImageJ displays images by linearly mapping...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found