sjoerdk / dicomtrolley

Retrieve medical images via WADO, MINT, RAD69 and DICOM-QR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught errors from rad69 remote host connection closing

sjoerdk opened this issue · comments

  • dicomtrolley version: 2.1.0
  • Python version: 3.7
  • Operating System: windows

Description

In Vitrea VNA, download of certain datasets causes the remote server to terminate the connection. This raises a requests.exceptions.ChunkedEncodingError in an iterator here: https://github.com/sjoerdk/dicomtrolley/blob/master/dicomtrolley/rad69.py#L349
This error is not caught anywhere. It is essentially unexpected so breaks mechanisms that except DICOMTrolleyException