laoniu2020 / orthanc

Automatically exported from code.google.com/p/orthanc
GNU General Public License v3.0
0 stars 0 forks source link

500 server error when reading /content (file specific issue) #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the sample files from here: 
http://www.triltech.com/SampleImages/SAMPLE_GI_OB_IMAGES.zip
2. Import images to Orthanc via CSTORE
3. Attempt to access any tag for any instance via the /content interface

What is the expected output? What do you see instead?
Expected: Tag values
Observed: Exception occurs on server side resulting 500 server error

What version of the product are you using? On what operating system?
0.8.3 based windows

Please provide any additional information below.
It seems to have problems parsing the file that is stored on disk.  This is 
surprising because it does properly extract the tags so it parsed it properly 
initially but must be corrupting the file when saving it somehow.  I didn't 
investigate further as I suspect it is a dcmtk issue.  I have a few small 
changes to my version of orthanc but I don't think they are causing this as all 
other files are working fine

Original issue reported on code.google.com by cha...@gmail.com on 20 Sep 2014 at 2:00

GoogleCodeExporter commented 9 years ago
Hello,

I managed uploading almost all the files to Orthanc using the following 
"storescu" commands:

# storescu -xy localhost 4242 I_000005.dcm I_000008.dcm I_000009.dcm 
I_000010.dcm I_000011.dcm
# storescu -xs localhost 4242 I_000007.dcm

However, "I_000000.dcm" and "I_000006.dcm" are reported to be corrupted by 
storescu. Similarly, GDCM reports them as corrupted:

# gdcmconv -i I_000000.dcm -o a.dcm
  Failed to read: I_000000.dcm

This definitely does not look as an Orthanc bug. Please would you kindly ask 
support to either DCMTK or GDCM? In the meantime, I mark this issue as 
"Invalid" for Orthanc, but do not hesitate to reactivate if needed.

Cheers,
Sébastien-

Original comment by s.jodo...@gmail.com on 3 Nov 2014 at 2:43