I am trying to use pynetdicom for the first time. I have it and the ConQuest DICOM server installed on my PC. I am able to get the pynetdicom echo example working, but when I try the pynetdicom Storage SCU example (https://pydicom.github.io/pyne…ble/examples/storage.html) it fails with:
Problem is, the example has negotiated the CT Image Storage context as far as I can see. Here's the logging from pynetDicom:
D: Calling Application Name: PYNETDICOM D: Called Application Name: ANY-SCP D: Our Max PDU Receive Size: 16382
So the log shows that the CT Image Storage Context was accepted, but with SCP/SCU Role: Default, whatever that means. When I debug through the pynetdicom processing I see that there is a CT context, but only for the SCP role.
ConQuest shows it's sent the DICOM file and then got disconnected.
And of course the code (only minor changes from the pynetdicom example:
def handle_store(event): """Handle a C-STORE request event.""" ds = event.dataset ds.file_meta = event.file_meta
I've googled and googled until my googler was sore. Any help would be appreciated.