# Paraview-glance cannot load .dcm files. Error Could not read file: /work/X.dcm

**URL:** https://discourse.paraview.org/t/paraview-glance-cannot-load-dcm-files-error-could-not-read-file-work-x-dcm/3342
**Category:** Web Support
**Created:** [January 15, 2020, 2:10pm UTC](https://discourse.paraview.org/t/paraview-glance-cannot-load-dcm-files-error-could-not-read-file-work-x-dcm/3342 "2020-01-15T14:10:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kurienzach](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kurienzach/32/2780_2.png) [@kurienzach](https://discourse.paraview.org/u/kurienzach)
#### Post date: [January 15, 2020, 2:10pm UTC](https://discourse.paraview.org/t/paraview-glance-cannot-load-dcm-files-error-could-not-read-file-work-x-dcm/3342/1 "2020-01-15T14:10:50Z")

</div>

I’m trying to load .dcm files using paraview-glance using URL param  
[http://localhost:9999/?name=CT000000.dcm&url=http://localhost:9999/dicom/CT000000.dcm](http://localhost:9999/?name=CT000000.dcm&url=http://localhost:9999/dicom/CT000000.dcm)

Fails with the below error

```
{
  "message": "Could not read file: /work/CT000000.dcm",
  "stack": "Error: Could not read file: /work/CT000000.dcm\n at readImageEmscriptenFSDICOMFileSeries (http://localhost:9999/itk/WebWorkers/ImageIO.worker.js:59:356)\n at readDICOMImageSeries (http://localhost:9999/itk/WebWorkers/ImageIO.worker.js:32:3478)\n at http://localhost:9999/itk/WebWorkers/ImageIO.worker.js:32:3827\n at o (http://localhost:9999/itk/WebWorkers/ImageIO.worker.js:2:2754)\n at http://localhost:9999/itk/WebWorkers/ImageIO.worker.js:2:3342\n at http://localhost:9999/itk/WebWorkers/ImageIO.worker.js:2:3404"
}

```

Interestingly the same file when loaded using the open file dialog (local) is loading fine

---

<div class="post-metadata">

### Author: ![Forrest\_Li](https://discourse.paraview.org/user_avatar/discourse.paraview.org/forrest_li/32/1935_2.png) [@Forrest\_Li](https://discourse.paraview.org/u/Forrest_Li)
#### Post date: [January 15, 2020, 3:40pm UTC](https://discourse.paraview.org/t/paraview-glance-cannot-load-dcm-files-error-could-not-read-file-work-x-dcm/3342/3 "2020-01-15T15:40:56Z")

</div>

This should be fixed in Glance master branch shortly. The issue stemmed from incorrect parsing of downloaded data. PR link: [https://github.com/Kitware/paraview-glance/pull/291](https://github.com/Kitware/paraview-glance/pull/291)
