A problem of *.dcm or storescu

76 views
Skip to first unread message

卢辉

unread,
May 1, 2020, 10:09:19 PM5/1/20
to dcm4che
A fatal problem occurred when i use the tool, SimpleITK, to create a dcm file from array, everthing is ok except one. I executed command likes 'storescu -c DCM4CHEE@localhost:104 11.dcm'(11.dcm was created by SimpleITK and referred to standard demo), but I got something :
Scanning files to send

09:52:34,358 WARN  - Missing or wrong File Meta Information Group Length (0002,0000)

.

Scanned 1 files in 0.025s (=25ms/file)

09:52:34,374 INFO  - Initiate connection from 0.0.0.0/0.0.0.0:0 to localhost:104

09:52:34,377 INFO  - Established connection Socket[addr=localhost/127.0.0.1,port=104,loc
alport
=43665]

09:52:34,386 DEBUG - /127.0.0.1:43665->localhost/127.0.0.1:104(1): enter state: Sta4 - A
waiting transport connection opening to complete

09:52:34,387 INFO  - STORESCU->DCM4CHEE(1) << A-ASSOCIATE-RQ

09:52:34,394 DEBUG - A-ASSOCIATE-RQ[

  calledAET
: DCM4CHEE

  callingAET
: STORESCU

  applicationContext
: 1.2.840.10008.3.1.1.1 - DICOM Application Context Name

  implClassUID
: 1.2.40.0.13.1.3

  implVersionName
: dcm4che-3.3.8

  maxPDULength
: 16378

  maxOpsInvoked
/maxOpsPerformed: 0/0

 
PresentationContext[id: 1

   
as: 1.2.840.10008.1.1 - Verification SOP Class

    ts
: 1.2.840.10008.1.2 - Implicit VR Little Endian

 
]

 
PresentationContext[id: 3

   
as: 1.2.840.10008.5.1.4.1.1.2 - CT Image Storage

    ts
: 1.2.840.10008.1.2.1 - Explicit VR Little Endian

 
]

 
PresentationContext[id: 5

   
as: 1.2.840.10008.5.1.4.1.1.2 - CT Image Storage

    ts
: 1.2.840.10008.1.2 - Implicit VR Little Endian

 
]

 
PresentationContext[id: 7

   
as: 1.2.840.10008.5.1.4.1.1.2 - CT Image Storage

    ts
: 1.2.840.10008.1.2.2 - Explicit VR Big Endian (Retired)

 
]

]

09:52:34,394 DEBUG - STORESCU->DCM4CHEE(1): enter state: Sta5 - Awaiting A-ASSOCIATE-AC
or A-ASSOCIATE-RJ PDU

09:52:34,401 INFO  - STORESCU->DCM4CHEE(1) >> A-ASSOCIATE-AC

09:52:34,402 DEBUG - A-ASSOCIATE-AC[

  calledAET
: DCM4CHEE

  callingAET
: STORESCU

  applicationContext
: 1.2.840.10008.3.1.1.1 - DICOM Application Context Name

  implClassUID
: 1.2.40.0.13.1.1.1

  implVersionName
: dcm4che-1.4.34

  maxPDULength
: 16352

  maxOpsInvoked
/maxOpsPerformed: 1/1

 
PresentationContext[id: 1

    result
: 0 - acceptance

    ts
: 1.2.840.10008.1.2 - Implicit VR Little Endian

 
]

 
PresentationContext[id: 3

    result
: 0 - acceptance

    ts
: 1.2.840.10008.1.2.1 - Explicit VR Little Endian

 
]

 
PresentationContext[id: 5

    result
: 0 - acceptance

    ts
: 1.2.840.10008.1.2 - Implicit VR Little Endian

 
]

 
PresentationContext[id: 7

    result
: 4 - transfer-syntaxes-not-supported (provider rejection)

    ts
: 1.2.840.10008.1.2.2 - Explicit VR Big Endian (Retired)

 
]

]

09:52:34,402 DEBUG - STORESCU->DCM4CHEE(1): enter state: Sta6 - Association established
and ready for data transfer

Connected to DCM4CHEE in 31ms

09:52:34,402 WARN  - Missing or wrong File Meta Information Group Length (0002,0000)

09:52:34,409 INFO  - STORESCU->DCM4CHEE(1) << 1:C-STORE-RQ[pcid=3, prior=0

  cuid
=1.2.840.10008.5.1.4.1.1.2 - CT Image Storage

  iuid
=1.2.3 - ?

  tsuid
=1.2.840.10008.1.2.1 - Explicit VR Little Endian

09:52:34,421 DEBUG - Command:

(0000,0002) UI [1.2.840.10008.5.1.4.1.1.2] AffectedSOPClassUID

(0000,0100) US [1] CommandField

(0000,0110) US [1] MessageID

(0000,0700) US [0] Priority

(0000,0800) US [0] CommandDataSetType

(0000,1000) UI [1.2.3] AffectedSOPInstanceUID



09:52:34,421 DEBUG - Dataset:

(0008,0023) DA [20200501] ContentDate

(0008,0033) TM [183252.119461] ContentTime

(0010,0010) PN [Test^Firstname] PatientName

(0010,0020) LO [123456] PatientID



09:52:34,448 INFO  - STORESCU->DCM4CHEE(1) >> 1:C-STORE-RSP[pcid=3, status=a900H, errorC
omment
=Missing SOP Class UID (0008,0016)

  cuid
=1.2.840.10008.5.1.4.1.1.2 - CT Image Storage

  iuid
=1.2.3 - ?

  tsuid
=1.2.840.10008.1.2.1 - Explicit VR Little Endian

09:52:34,448 DEBUG - Command:

(0000,0002) UI [1.2.840.10008.5.1.4.1.1.2] AffectedSOPClassUID

(0000,0100) US [32769] CommandField

(0000,0120) US [1] MessageIDBeingRespondedTo

(0000,0800) US [257] CommandDataSetType

(0000,0900) US [43264] Status

(0000,0902) LO [Missing SOP Class UID (0008,0016)] ErrorComment

(0000,1000) UI [1.2.3] AffectedSOPInstanceUID



E
"ERROR: Received C-STORE-RSP with Status A900H for 11.dcm"

(0000,0002) UI [1.2.840.10008.5.1.4.1.1.2] AffectedSOPClassUID

(0000,0100) US [32769] CommandField

(0000,0120) US [1] MessageIDBeingRespondedTo

(0000,0800) US [257] CommandDataSetType

(0000,0900) US [43264] Status

(0000,0902) LO [Missing SOP Class UID (0008,0016)] ErrorComment

(0000,1000) UI [1.2.3] AffectedSOPInstanceUID



09:52:34,449 INFO  - STORESCU->DCM4CHEE(1) << A-RELEASE-RQ

09:52:34,449 DEBUG - STORESCU->DCM4CHEE(1): enter state: Sta7 - Awaiting A-RELEASE-RP PD
U

09:52:34,450 INFO  - STORESCU->DCM4CHEE(1) >> A-RELEASE-RP

09:52:34,450 INFO  - STORESCU->DCM4CHEE(1): close Socket[addr=localhost/127.0.0.1,port=1
04,localport=43665]

09:52:34,450 DEBUG - STORESCU->DCM4CHEE(1): enter state: Sta1 - Idle

Sent 0 objects (=0MB) in 0.047s (=0MB/s)



I am tired ,when I try using other tool like pydicom, I get it again.could you help me?
Reply all
Reply to author
Forward
0 new messages