bug in findscu

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
ermando.ferrari
Posts: 10
Joined: Thu, 2008-02-07, 11:20

bug in findscu

#1 Post by ermando.ferrari »

hi
if you use the option -k in findscu (i.e. -k 0010,0010=B*)
the condition in the function addOverrideKey:

Code: Select all

// try to parse group and element number 
    n = sscanf(s, "%x,%x=%s", &g, &e, val);
    if (n != 2) {
is true and the program search in the dictionary, so return the error
error: bad key format or dictionary name not found in dictionary: 0010,0010=B*

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

Thank you for pointing this out but this is the "well-known DCMTK 3.5.4 bug" (see FAQ #43).

shirkaan
Posts: 23
Joined: Mon, 2011-01-17, 13:24

#3 Post by shirkaan »

hi,
i ran scpstart.bat file.
Then i opened new command prompt and ran following command:

D:\Home\Dcmtksource\dcmtk-3.5.4-win32-i386\bin\storescu -v --aetitle STORESCU --call PATNI_STORE1 “PC-PG47683” 140 "E:\test.dcm"

PATNI_STORE1 is my folder where i have to place my dicom file.

i am getting following error:

error: bad key format or dictionary name not found in dictionary:

pls help me out....

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#4 Post by Jörg Riesmeier »

The answer can be found in the above referenced FAQ entry.
Alternatively, you could also use the findscu from the current DCMTK release 3.6.0.

shirkaan
Posts: 23
Joined: Mon, 2011-01-17, 13:24

#5 Post by shirkaan »

FAQ#43 deals with findscu and movescu.
I am running storescu command and i am not using -k option also.
stil i need to go for FAQ#43????

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#6 Post by Jörg Riesmeier »

This is strange: As far as I can see, only findscu and movescu create such an error message (see source code).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest