OHIF / Viewers

OHIF zero-footprint DICOM viewer and oncology specific Lesion Tracker, plus shared extension packages
https://docs.ohif.org/
MIT License
3.1k stars 3.28k forks source link

Problem with the 2D MPR button #1713

Closed tiagomellobr closed 4 years ago

tiagomellobr commented 4 years ago

I have a problem with 2D MPR. When I click on the 2D MPR button, I get the following error:

react_devtools_backend.js:6 Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Z (react.production.min.js:20)
    at useState (react.production.min.js:23)
    at rc (SlabThicknessToolbarComponent.js:134)
    at mo (react-dom.production.min.js:154)
    at TA (react-dom.production.min.js:259)
    at Ps (react-dom.production.min.js:229)
    at Is (react-dom.production.min.js:229)
    at Ss (react-dom.production.min.js:223)
    at react-dom.production.min.js:121
    at t.unstable_runWithPriority (scheduler.production.min.js:18)

<script src="/ohif/dist/index.umd.js"></script>
  <script src="/ohif/dist/plugins/cornerstone/dist/index.umd.js" crossorigin></script>
  <script src="/ohif/dist/plugins/dicom-html/dist/index.umd.js" crossorigin></script>
  <script src="/ohif/dist/plugins/dicom-pdf/dist/index.umd.js" crossorigin></script>
  <script src="/ohif/dist/plugins/vtk/dist/index.umd.js" crossorigin></script>
  <script src="/ohif/dist/plugins/dicom-microscopy/dist/index.umd.js" crossorigin></script>

  <script>
    var containerId = 'root';
    var componentRenderedOrUpdatedCallback = function () {
      console.log('OHIF Viewer rendered/updated');
    };
    window.OHIFViewer.installViewer(
      {
        // default: '/'
        routerBasename: '/',
        whiteLabelling: {},
        extensions: [OHIFExtCornerstone,OHIFExtDicomHtml,OHIFExtDicomPdf,OHIFExtVtk,OHIFExtDicomMicroscopy],
        showStudyList: true,
        filterQueryParam: false,
        servers: {
          dicomWeb: [
            {
              name: 'Orthanc',
              wadoUriRoot: 'http://localhost:8042/dicom-web',
              qidoRoot: 'http://localhost:8042/dicom-web',
              wadoRoot: 'http://localhost:8042/dicom-web',
              qidoSupportsIncludeField: false,
              imageRendering: 'wadors',
              thumbnailRendering: 'wadors'
            },
          ],
        }
      },
      containerId,
      componentRenderedOrUpdatedCallback
    );
  </script>
edupauli commented 4 years ago

I have the same problem, and don't know what to do, if you find something, please post here to help me too. I will post here any progress that I do.

dannyrb commented 4 years ago

Related: https://github.com/OHIF/Viewers/issues/1722

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.