Is this a bug in 2.8.2 (installed on ubuntu 17.10 from official ubuntu resources) or am I doing something wrong? The C-find with dcmtk "findscu" works but with "gdcmscu --find" does nor work.
This call
findscu -P --call cspacsFIR cspacs.frue 2104 -k 8,52="STUDY" -k 10,10="Lindner^Andreas" -k 10,20 -k 20,D -k 8,20 -k 8,30 -k 8,50 -k 8,1030
work perfectly, but this call
gdcmscu --find --patientroot --call cspacsFIR cspacs.frue 2104 -k 8,52="STUDY" -k 10,10="Lindner^Andreas" -k 10,20 -k 20,D -k 8,20 -k 8,30 -k 8,50 -k 8,1030
fails with "You have not constructed a valid find query. Please try again."
Hello again
if I use the switches I get the result
reas@Gdcm-Test:~$ gdcmscu --find --studyroot --call cspacsFIR cspacs.frue 2104 -k 8,52="STUDY" -k 10,10="Lindner^Andreas" -k 10,20 -k 20,D -k 8,20 -k 8,30 -k 8,50 -k 8,1030 -V -D -W -E
Debug: In /build/gdcm-9lisFA/gdcm-2.8.2/Source/DataStructureAndEncodingDefinition/gdcmByteValue.h, line 42, function gdcm::ByteValue::ByteValue(const char*, const gdcm::VL&)
Last system error was: Success
Odd length
Debug: In /build/gdcm-9lisFA/gdcm-2.8.2/Source/DataStructureAndEncodingDefinition/gdcmByteValue.h, line 42, function gdcm::ByteValue::ByteValue(const char*, const gdcm::VL&)
Last system error was: Success
Odd length
===================== OUTGOING DIMSE MESSAGE ====================
Affected SOP Class UID :Study Root Query/Retrieve Information Model - FIND
======================= END DIMSE MESSAGE =======================
Find SCU Request Identifiers:
Dicom-Data-Set
Used TransferSyntax: Unknown Transfer Syntax
(0008,0005) CS [ISO_IR 192] # 10,1-n Specific Character Set
(0008,0020) ?? (DA) [] # 0,1 Study Date
(0008,0030) ?? (TM) [] # 0,1 Study Time
(0008,0050) ?? (SH) [] # 0,1 Accession Number
(0008,0052) ?? (CS) [STUDY] # 6,1 Query/Retrieve Level
(0008,1030) ?? (LO) [] # 0,1 Study Description
(0010,0010) ?? (PN) [Lindner^Andreas] # 16,1 Patient's Name
(0010,0020) ?? (LO) [] # 0,1 Patient ID
(0020,000d) ?? (UI) [] # 0,1 Study Instance UID
Warning: In /build/gdcm-9lisFA/gdcm-2.8.2/Source/MessageExchangeDefinition/gdcmFindStudyRootQuery.cxx, line 114, function virtual bool gdcm::FindStudyRootQuery::ValidateQuery(bool) const
Invalid Level
You have not constructed a valid find query. Please try again.
which does not help (at least for me since the findscu with same parameters works). Any more hints what I am doing wrong ?
Dr. Andreas O. Lindner
Lindner TAC
Auhofstraße 11 B / 11
1130 Wien
Austria
Fax: +43 1 877 68 73
Mobil: +43 664 41 24 742
Email: a.lindner@lindner-tac.at
Web: http://www.lindner-tac.at
Related
Bugs: #453
If you have build gdcm with debug info, simply pass -V -D -W -E to the command line argument to get a sense of what went wrong.
Remove
-k 8,52="STUDY"from your command line argument since this is redundant with --studyrootHello,
thanks for the fast response.
If I do so, it hangs and the last messages is
Debug: In /build/gdcm-9lisFA/gdcm-2.8.2/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 929, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection, gdcm::network::ULConnectionCallback, const bool&)
Last system error was: Success
Waiting for ItemType
which I have to abort with ^C. In all debug-messages it says success and I can see three studies returned, but no real output created.
Best regards,
Andreas
Dr. Andreas O. Lindner
Lindner TAC
Auhofstraße 11 B / 11
1130 Wien
Austria
Fax: +43 1 877 68 73
Mobil: +43 664 41 24 742
Email: a.lindner@lindner-tac.at
Web: http://www.lindner-tac.at
Related
Bugs: #453