Hello!
I am trying to retrieve an encapsulated OBJ from an Orthanc Server. However, I get the following error :
E0712 14:59:00.394936 OrthancException.cpp:58] Error in the network protocol: C-GET SCP: storeSCU: No presentation context for: (OBJ) 1.2.840.10008.5.1.4.1.1.104.4
E0712 14:59:00.397411 GetScp.cpp:272] IGetRequestHandler Failed: Error in the network protocol
I have tried to edit the storescu.cfg file as show in Sending uncommon or recent SOP class UIDs. It works when I use storescu on my terminal (I changed the the original config file directly). However when I try retrieving from Orthanc again, it doesn’t work. How can I apply my changes on Orthanc?
Hi,
Could you provide us with a sample encapsulated OBJ file and a sample getscu command such that we can reproduce this on our side in order to provide an answer ?
Alain
Hi!
(I’m not sure if you got my reply since it’s not appearing here, so here it is again. I apologize for the inconvenience.)
Please find attached the sample encapsulated OBJ.
I am using CTK with Slicer to retrieve the dicom with this code but this getscu command used to get the same error on the server side :
getscu -k “0020,000d=1.2.276.0.7230010.3.1.2.0.25612.1657667440.463609” -k 0008,0052=“STUDY” localhost 4242 test.dcm
Maybe a better way of wording my question would be : How to add support for encapsulated OBJ on Orthanc ?
Many thanks,
Elise
testdcm.dcm (47 KB)
Hi Elise,
It appears that your question is actually related to the use of DCMTK tools and not Orthanc. I don’t know how to add a new presentation context for the getscu command. Not even sure this is possible. Get in touch with the DCMTK support for this.
On my side, I’ve validated that Orthanc was able to return EncapsulagedOBJ with the attached python script that is using pynetdicom.
Best regards,
Alain.
getscu.py (1.9 KB)
Thank you very much Alain, I will look into it!