cannot send SOP instance: DIMSE

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
nicolas_dicom
Posts: 19
Joined: Fri, 2010-10-29, 21:48

cannot send SOP instance: DIMSE

#1 Post by nicolas_dicom »

Hi all,

I am little bit confused about the output result of the dmcsend / storescu.

I found next error while sending some dcm images.

Code: Select all

Status:  TCP I/O Error (Operation now in progress) occurred in routine
dcmsend -v   -to 5 -aet DCMQRSCP -aec DESTINATION 176.129.XXX.123 104 "/mnt/datos/DCMQRSCP/CR_50b8bc985bff7b3f.dcm"
I: checking input files ...
I: starting association #1
I: initializing network ...
I: negotiating network association ...
I: Requesting Association
I: Association Accepted (Max Send PDV: 16372)
I: sending SOP instances ...
I: Sending C-STORE Request (MsgID 1, CR)
E: Failed sending C-STORE request: 0006:020e DIMSE Failed to send message
E: 0006:031d TCP I/O Error (Operation now in progress) occurred in routine: writeDataPDU
F: cannot send SOP instance: DIMSE Failed to send message
F: 0006:031d TCP I/O Error (Operation now in progress) occurred in routine: writeDataPDU
I: Aborting Association
After reading the last error message, I decided to look for a problem on my network. I found nothing, so I took that specific image to another
PC with DCMTK core installed and It worked, I mean that the image was sent successfully.
But, to move the image to another server is not an option, so I just kept digging.

The only way I found to be able to send the images is Decompressing the file before send it (DCMDJPEG).

Scenary:
1 -The Source it is a compressed image. LOSSLESS
2 -The destination is next :
sudo storescp -v +xs -dhl -aet STORE -od DCMSTORE 105
3 - To send the image: ./dcmsend -v -to 5 -aet DCMQRSCP -aec DESTINATION 186.129.XXX.92 104 CR_50b8bc985bff7b3f.dcm
or ./storescu -v -xs -to 5 -aet DCMQRSCP -aec DESTINATION 186.129.XXX.92 104 CR_50b8bc985bff7b3f.dcm

Is there any bug during the compression while receiving the image ? I have a lot of image with that problem.
Involved system:
Linux UBUSRV64 2.6.32-25-server #45-Ubuntu SMP Sat Oct 16 20:06:58 UTC 2010 x86_64 GNU/Linux

Tryed with :
1 ) storescu v3.5.4 2005-12-20
2 ) dcmsend v3.6.1 CVS


SENDING RESULT;

Code: Select all

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0000,0000) UL 0                                        #   4, 1 CommandGroupLength
(0000,0002) UI =ComputedRadiographyImageStorage         #  26, 1 AffectedSOPClassUID
(0000,0100) US 1                                        #   2, 1 CommandField
(0000,0110) US 1                                        #   2, 1 MessageID
(0000,0700) US 2                                        #   2, 1 Priority
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,1000) UI [1.2.392.200036.9125.4.0.269451828.244427960.1232019168] #  54, 1 AffectedSOPInstanceUID
DIMSE sendDcmDataset: sending 148 bytes
DIMSE sendDcmDataset: sending 16372 bytes
DIMSE sendDcmDataset: sending 16372 bytes
DIMSE sendDcmDataset: sending 16372 bytes
DIMSE sendDcmDataset: sending 16372 bytes
RECEIVING RESULT:

Code: Select all

D: ======================= END A-ASSOCIATE-AC ======================
I: Received Store Request: MsgID 1, (CR)
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 37
D: Message ID                    : 1
D: Affected SOP Class UID        : ComputedRadiographyImageStorage
D: Affected SOP Instance UID     : 1.2.392.200036.9125.4.0.269451828.244427960.1232019168
D: Data Set                      : present
D: Priority                      : low
D: ======================= END DIMSE MESSAGE =======================
E: Store SCP Failed: 0006:020c DIMSE Read PDV failed
E: 0006:0310 DUL network closed
E: DIMSE failure (aborting association): 0006:020c DIMSE Read PDV failed
E: 0006:0310 DUL network closed



Next is a dump content of a iamge with problems.

Code: Select all


# Dicom-File-Format

# Dicom-Meta-Information-Header
# Used TransferSyntax: LittleEndianExplicit
(0002,0000) UL 216                                      #   4, 1 MetaElementGroupLength
(0002,0001) OB 00\01                                    #   2, 1 FileMetaInformationVersion
(0002,0002) UI =ComputedRadiographyImageStorage         #  26, 1 MediaStorageSOPClassUID
(0002,0003) UI [1.2.392.200036.9125.4.0.269451828.244427960.1232019168] #  54, 1 MediaStorageSOPInstanceUID
(0002,0010) UI =JPEGLossless:Non-hierarchical-1stOrderPrediction #  22, 1 TransferSyntaxUID
(0002,0012) UI [1.2.276.0.7230010.3.0.3.6.0]            #  28, 1 ImplementationClassUID
(0002,0013) SH [OFFIS_DCMTK_360]                        #  16, 1 ImplementationVersionName
(0002,0016) AE [FCR-CSL]                                #   8, 1 SourceApplicationEntityTitle

# Dicom-Data-Set
# Used TransferSyntax: JPEG Lossless, Non-hierarchical, 1st Order Prediction
(0008,0000) UL 690                                      #   4, 1 IdentifyingGroupLength
(0008,0005) CS [ISO_IR 100]                             #  10, 1 SpecificCharacterSet
(0008,0008) CS [DERIVED\PRIMARY\POST_PROCESSED\\\\\\100000] #  42, 9 ImageType
(0008,0016) UI =ComputedRadiographyImageStorage         #  26, 1 SOPClassUID
(0008,0018) UI [1.2.392.200036.9125.4.0.269451828.244427960.1232019168] #  54, 1 SOPInstanceUID
(0008,0020) DA [20121127]                               #   8, 1 StudyDate
(0008,0021) DA [20121127]                               #   8, 1 SeriesDate
(0008,0022) DA [20121127]                               #   8, 1 AcquisitionDate
(0008,0023) DA [20121127]                               #   8, 1 ContentDate
(0008,0030) TM [182023.000]                             #  10, 1 StudyTime
(0008,0031) TM [182313.000]                             #  10, 1 SeriesTime
(0008,0032) TM [182313.012]                             #  10, 1 AcquisitionTime
(0008,0033) TM [182313.168]                             #  10, 1 ContentTime
(0008,0050) SH [354047]                                 #   6, 1 AccessionNumber
(0008,0060) CS [CR]                                     #   2, 1 Modality
(0008,0070) LO [FUJI PHOTO FILM Co., ltd.]              #  26, 1 Manufacturer
(0008,0080) LO [CENTRO DEL DIAGNOSTICO - MALARGÜE]      #  34, 1 InstitutionName
(0008,0090) PN (no value available)                     #   0, 0 ReferringPhysiciansName
(0008,1010) SH [RU0]                                    #   4, 1 StationName
(0008,1050) PN [Administrator]                          #  14, 1 PerformingPhysiciansName
(0008,1070) PN [Administrator]                          #  14, 1 OperatorsName
(0008,1090) LO [R-BASE]                                 #   6, 1 ManufacturersModelName
(0008,2111) ST [Lossless JPEG compression, selection value 1, point transform 0, c... # 130, 1 DerivationDescription
(0008,9215) SQ (Sequence with explicit length #=1)      #  62, 1 DerivationCodeSequence
  (fffe,e000) na (Item with explicit length #=3)          #  54, 1 Item
    (0008,0100) SH [121327]                                 #   6, 1 CodeValue
    (0008,0102) SH [DCM]                                    #   4, 1 CodingSchemeDesignator
    (0008,0104) LO [Full fidelity image]                    #  20, 1 CodeMeaning
  (fffe,e00d) na (ItemDelimitationItem for re-encoding)   #   0, 0 ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem for re-encod.) #   0, 0 SequenceDelimitationItem
(0009,0000) UL 148                                      #   4, 1 PrivateGroupLength
(0009,0010) LO [FDMS 1.0]                               #   8, 1 PrivateCreator
(0009,1005) OW 0f10\3482\910e\b8ac\6f49\e01e            #  12, 1 ImageUID
(0009,1006) OW 0000\0000\0000\0000\0000\0000            #  12, 1 RouteImageUID
(0009,1008) UL 0                                        #   4, 1 ImageDisplayInformationVersionNo
(0009,1009) UL 0                                        #   4, 1 PatientInformationVersionNo
(0009,100c) OW 0f10\3482\910e\b8ac\6f49\e01e            #  12, 1 FilmUID
(0009,1010) CS [EF]                                     #   2, 1 ExposureUnitTypeCode
(0009,10f0) CS [00]                                     #   2, 1 BlackeningProcessFlag
(0009,10f1) UN 31\31\31\30                              #   4, 1 Unknown Tag & Data
(0010,0000) UL 90                                       #   4, 1 PatientGroupLength
(0010,0010) PN [CANALES^ESTELA^67A]                     #  18, 1 PatientsName
(0010,0020) LO [36802]                                  #   6, 1 PatientID
(0010,0030) DA [19450729]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [F]                                      #   2, 1 PatientsSex
(0010,1020) DS (no value available)                     #   0, 0 PatientsSize
(0010,1030) DS (no value available)                     #   0, 0 PatientsWeight
(0010,4000) LT (no value available)                     #   0, 0 PatientComments
(0018,0000) UL 118                                      #   4, 1 AcquisitionGroupLength
(0018,0010) LO (no value available)                     #   0, 0 ContrastBolusAgent
(0018,0015) CS [HEAD]                                   #   4, 1 BodyPartExamined
(0018,1004) LO [a40000008c]                             #  10, 1 PlateID
(0018,1164) DS [0.10\0.10]                              #  10, 2 ImagerPixelSpacing
(0018,1400) LO [SENOS PARANASALES, FRN]                 #  22, 1 AcquisitionDeviceProcessingDescription
(0018,1401) LO [003B]                                   #   4, 1 AcquisitionDeviceProcessingCode
(0018,5101) CS (no value available)                     #   0, 0 ViewPosition
(0018,6000) DS [409]                                    #   4, 1 Sensitivity
(0019,0000) UL 80                                       #   4, 1 PrivateGroupLength
(0019,0010) LO [FDMS 1.0]                               #   8, 1 PrivateCreator
(0019,1015) LO (no value available)                     #   0, 0 KanjiBodyPartForExposure
(0019,1032) LO (no value available)                     #   0, 0 KanjiMenuName
(0019,1040) CS [RT]                                     #   2, 1 ImageProcessingType
(0019,1050) CS [0]                                      #   2, 1 EDRMode
(0019,1080) IS [00]                                     #   2, 1 ReadingPositionSpecification
(0019,1081) IS [0]                                      #   2, 1 ReadingSensitivityCenter
(0019,1090) SH (no value available)                     #   0, 0 FilmAnnotationCharacterString1
(0020,0000) UL 184                                      #   4, 1 ImageGroupLength
(0020,000d) UI [1.2.392.200036.9125.2.1841721117322430.64699150821.64819] #  56, 1 StudyInstanceUID
(0020,000e) UI [1.2.392.200036.9125.3.1841721117322430.64699150822.64821] #  56, 1 SeriesInstanceUID
(0020,0010) SH (no value available)                     #   0, 0 StudyID
(0020,0011) IS [2]                                      #   2, 1 SeriesNumber
(0020,0012) IS [034]                                    #   4, 1 AcquisitionNumber
(0020,0013) IS [2]                                      #   2, 1 InstanceNumber
(0020,0020) CS (no value available)                     #   0, 0 PatientOrientation
(0020,0060) CS (no value available)                     #   0, 0 Laterality
(0021,0000) UL 74                                       #   4, 1 PrivateGroupLength
(0021,0010) LO [FDMS 1.0]                               #   8, 1 PrivateCreator
(0021,1010) CS [A034]                                   #   4, 1 FCRImageID
(0021,1030) CS (no value available)                     #   0, 0 SetNo
(0021,1040) IS [02]                                     #   2, 1 ImageNoInTheSet
(0021,1050) CS [02000000]                               #   8, 1 PairProcessingInformation
(0021,1080) OB (no value available)                     #   0, 1 EquipmentTypeSpecificInformation
(0025,0000) UL 46                                       #   4, 1 PrivateGroupLength
(0025,0010) LO [FDMS 1.0]                               #   8, 1 PrivateCreator
(0025,1010) US 169                                      #   2, 1 RelativeLightEmissionAmountSk
(0025,1011) US 0                                        #   2, 1 TermOfCorrectionForEachIPTypeSt
(0025,1012) US 176                                      #   2, 1 ReadingGainGp
(0028,0000) UL 148                                      #   4, 1 ImagePresentationGroupLength
(0028,0002) US 1                                        #   2, 1 SamplesPerPixel
(0028,0004) CS [MONOCHROME1]                            #  12, 1 PhotometricInterpretation
(0028,0010) US 2370                                     #   2, 1 Rows
(0028,0011) US 1770                                     #   2, 1 Columns
(0028,0030) DS [0.10\0.10]                              #  10, 2 PixelSpacing
(0028,0100) US 16                                       #   2, 1 BitsAllocated
(0028,0101) US 10                                       #   2, 1 BitsStored
(0028,0102) US 9                                        #   2, 1 HighBit
(0028,0103) US 0                                        #   2, 1 PixelRepresentation
(0028,1052) DS [0]                                      #   2, 1 RescaleIntercept
(0028,1053) DS [1]                                      #   2, 1 RescaleSlope
(0028,1054) LO [US]                                     #   2, 1 RescaleType
(0028,2110) CS [00]                                     #   2, 1 LossyImageCompression
(0029,0000) UL 68                                       #   4, 1 PrivateGroupLength
(0029,0010) LO [FDMS 1.0]                               #   8, 1 PrivateCreator
(0029,1020) CS [001]                                    #   4, 1 ImageScanningDirection
(0029,1030) CS [1A]                                     #   2, 1 ExtendedReadingSizeValue
(0029,1034) US 100                                      #   2, 1 MagnificationReductionRatio
(0029,1044) CS [K2]                                     #   2, 1 LineDensityCode
(0029,1050) CS [00]                                     #   2, 1 DataCompressionCode
(0032,0000) UL 56                                       #   4, 1 StudyGroupLength
(0032,0032) DA [20121130]                               #   8, 1 StudyVerifiedDate
(0032,0033) TM [111020.000]                             #  10, 1 StudyVerifiedTime
(0032,1032) PN [Administrator]                          #  14, 1 RequestingPhysician
(2010,0000) UL 74                                       #   4, 1 FilmBoxGroupLength
(2010,0010) ST [STANDARD\1,1]                           #  12, 1 ImageDisplayFormat
(2010,0030) CS [CR00]                                   #   4, 1 AnnotationDisplayFormatID
(2010,0040) CS [LANDSCAPE]                              #  10, 1 FilmOrientation
(2010,0100) CS [BLACK]                                  #   6, 1 BorderDensity
(2010,0140) CS [NO]                                     #   2, 1 Trim
(50f1,0000) UL 54                                       #   4, 1 PrivateGroupLength
(50f1,0010) LO [FDMS 1.0]                               #   8, 1 PrivateCreator
(50f1,100a) UN 41\43\41\30\2e\34                        #   6, 1 Unknown Tag & Data
(50f1,1010) CS [10]                                     #   2, 1 FilmOutputFormat
(50f1,1020) CS [00]                                     #   2, 1 ImageProcessingModificationFlag
(7fe0,0000) UL 2703496                                  #   4, 1 PixelDataGroupLength
(7fe0,0010) OB (PixelSequence #=2)                      # u/l, 1 PixelData
 (fffe,e000) pi 00\00\00\00                              #   4, 1 Item
  (fffe,e000) pi ff\d8\ff\e0\00\10\4a\46\49\46\00\01\01\00\00\01\00\01\00\00\ff\c3... # 2703456, 1 Item
(fffe,e0dd) na (SequenceDelimitationItem)               #   0, 0 SequenceDelimitationItem




Thanks for your support,

Regards,

Nicolás

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest