[Debian-med-packaging] Bug#747167: movescu return sucess code on error

Mathieu Malaterre malat at debian.org
Tue May 6 07:12:14 UTC 2014


Package: dcmtk

When executing movescu with explicit incoming port setting it would
make sense to return a proper error code at least on UNIX. Otherwise
it is very difficult to detect invalid C-MOVE setup.

$ movescu -v --study --key 8,52=IMAGE --key 8,18 --key
20,d=1.2.840.113619.2.5.1762386977.1328.985934491.590 --key
20,e=1.2.840.113619.2.5.1762386977.1328.985934491.643  --aetitle
VOXMAESTER --call VOXXL minivoxg4 5679 +P 12345
I: Requesting Association
I: Association Accepted (Max Send PDV: 16372)
I: Sending Move Request: MsgID 1
I: Request:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Unknown Transfer Syntax
I: (0008,0018) UI (no value available)                     #   0, 0
SOPInstanceUID
I: (0008,0052) CS [IMAGE]                                  #   6, 1
QueryRetrieveLevel
I: (0020,000d) UI [1.2.840.113619.2.5.1762386977.1328.985934491.590] #
 48, 1 StudyInstanceUID
I: (0020,000e) UI [1.2.840.113619.2.5.1762386977.1328.985934491.643] #
 48, 1 SeriesInstanceUID
I:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type                  : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID        : MOVEStudyRootQueryRetrieveInformationModel
I: Remaining Suboperations       : none
I: Completed Suboperations       : 0
I: Failed Suboperations          : 1
I: Warning Suboperations         : 0
I: Data Set                      : present
I: DIMSE Status                  : 0xa702: Error: Refused - Out of
resources - Suboperations
I: ======================= END DIMSE MESSAGE =======================
I: Response Identifiers:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Big Endian Explicit
I: (0008,0058) UI [1.2.840.113619.2.5.1762386977.1328.985934491.693] #
 48, 1 FailedSOPInstanceUIDList
I:
I: Releasing Association
$ echo $?
0



More information about the Debian-med-packaging mailing list