Exception while storing DICOM: Cannot write to file

Hi there,

I have some familiarity with Orthanc and DICOM and have configured an older version (1.9.1) on “Ubuntu 20.04.4 LTS”. I am using SQLLite.

I am able to successfully retrieve studies of Orthanc using an external DICOM viewer however, sending studies to Orthanc results in semingly random write failures.

I see the following message in the logs:

E0602 12:27:24.607840 StoreScp.cpp:197] Exception while storing DICOM: Cannot write to file

I have attached the logs in case any one has experienced this before.

The logs show me trying to send a DICOM study (note, the study contains private tags) however some files fail to send. The viewer retries to send the study and the same error occurs however, the failures occur on different files then the first attempt. Hence, this sort of feels random where some files are processed correctly yet others fail.

Ben

orthancLogs.txt (40 KB)

For what it’s worth, upgrading to the Ubuntu 22.04LTS and the latest ubuntu seems to address my problem.

Hi,

FYI, this error is a very low level error from the WriteFile method that actually writes a binary blob to disk. So the file content can not be the reason for an error. It’s really the OS that just refuses to write the file.

HTH

Alain

makes sense. Correction in my previous reply, I mean latest versions of Ubuntu and Orthanc addressed my problem.

Closing Thread.