View Issue Details

IDProjectCategoryView StatusLast Update
0003568Slicer4Module DICOMpublic2017-06-10 08:51
Reporterjcfr Assigned Topieper  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.4.0Fixed in VersionSlicer 4.4.0 
Summary0003568: Unexpected error when missing files in the dicom volume
Description

Consider a DICOM volume:
volume0000.dic
volume0001.dic
volume0002.dic
...
volume00NN.dic

Remove all *.dic files expect the first one.

You then obtain the following error:

Traceback (most recent call last):
File "/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/Slicer-build/lib/Slicer-4.3/qt-scripted-modules/DICOMLib/DICOMWidgets.py", line 285, in examineForLoading
"DICOM", "Warning: %d of %d files listed in the database for this %s cannot be found on disk." % (missingFileCount, allFileCount, role))
NameError: global name 'role' is not defined

TagsNo tags attached.

Activities

pieper

pieper

2014-02-04 10:17

administrator   ~0010558

r22859

pieper

pieper

2014-03-06 11:03

administrator   ~0011259

Please check and close o_o

jcfr

jcfr

2014-03-06 18:29

administrator   ~0011305

I confirm this now work as expected.

Trying to "examine for loading" the data that I previously imported from CD shows the expected dialog bog since the CD is not mounted.

Related Changesets

Import 2017-06-07 23:51:09: master 8118d56f

2014-02-04 15:17:03

pieper

Details Diff
BUG: 0003568 Fix warning message about missing files

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22859 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/DICOM/DICOMLib/DICOMWidgets.py Diff File

Issue History

Date Modified Username Field Change
2014-01-27 19:55 jcfr New Issue
2014-01-27 19:55 jcfr Status new => assigned
2014-01-27 19:55 jcfr Assigned To => pieper
2014-01-27 19:55 jcfr Description Updated
2014-01-27 19:55 jcfr Target Version => Slicer 4.4.0
2014-02-04 10:17 pieper Note Added: 0010558
2014-02-04 10:17 pieper Status assigned => resolved
2014-02-04 10:17 pieper Fixed in Version => Slicer 4.4.0
2014-02-04 10:17 pieper Resolution open => fixed
2014-03-06 11:03 pieper Note Added: 0011259
2014-03-06 18:29 jcfr Note Added: 0011305
2014-03-06 18:29 jcfr Status resolved => closed
2017-06-10 08:51 pieper Changeset attached => Slicer master 8118d56f