Getting Store SCP Failed: DIMSE: Odd Fragment Length

Hi everyone!

I am getting this error and I have a limited knowledge on how to resolve this.

The process is as following:
My client sends modified images from PyDICOM to my Orthanc server via P2P/DICOM transfer, and while storing the images, I get this error log for some images.

E0519 12:05:57.804369 StoreScp.cpp:273] Store SCP Failed: DIMSE: Odd Fragment Length: 1803
E0519 12:06:31.173268 StoreScp.cpp:273] Store SCP Failed: DIMSE: Odd Fragment Length: 3077

It would be great if could get some support on this!

Regards,
Yash

Hi,

All length shall be even in DICOM → check the DICOM file you are trying to push to Orthanc.

Best regards,

Alain

Hi Alain, thanks for the response.

Could you please share a code snippet to show how I can use this resource?

Regards,
Yash

Hello,

Here you are:

$ dciodvfy sample.dcm

Kind Regards,
Sébastien-