Exception while storing DICOM: Cannot write to file

119 views
Skip to first unread message

Reuben Fernandez

unread,
Jun 2, 2022, 1:35:51 PM6/2/22
to Orthanc Users
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

Reuben

unread,
Jun 2, 2022, 5:16:28 PM6/2/22
to Orthanc Users
For what it's worth, upgrading to the  Ubuntu 22.04LTS and the latest ubuntu seems to address my problem.

Alain Mazy

unread,
Jun 3, 2022, 1:47:49 AM6/3/22
to Reuben, Orthanc Users
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

--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/564cd35f-1f5c-4afd-a62e-07fd123275adn%40googlegroups.com.

Reuben

unread,
Jun 3, 2022, 11:34:40 AM6/3/22
to Orthanc Users
makes sense. Correction in my previous reply, I mean latest versions of Ubuntu and  Orthanc addressed my problem. 

Closing Thread.

Reply all
Reply to author
Forward
0 new messages