IsADirectoryError: [Errno 21] Is a directory: '/'
lamby opened this issue · comments
Chris Lamb commented
interface_1 | File "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
interface_1 | return view_func(*args, **kwargs)
interface_1 | File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py", line 68, in view
interface_1 | return self.dispatch(request, *args, **kwargs)
interface_1 | File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 489, in dispatch
interface_1 | response = self.handle_exception(exc)
interface_1 | File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 449, in handle_exception
interface_1 | self.raise_uncaught_exception(exc)
interface_1 | File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 486, in dispatch
interface_1 | response = handler(request, *args, **kwargs)
interface_1 | File "/app/backend/api/views.py", line 58, in get
interface_1 | ds = dicom.read_file(path, force=True)
interface_1 | File "/usr/local/lib/python3.6/site-packages/dicom/filereader.py", line 589, in read_file
interface_1 | fp = open(fp, 'rb')
interface_1 | IsADirectoryError: [Errno 21] Is a directory: '/'
Steps to Reproduce
- http://localhost:8080/#/
- See traceback in console
Checklist before submitting
- I have confirmed this using the officially supported Docker Compose setup using the
local.yml
configuration and ensured that I built the containers again and they reflect the most recent version of the project at theHEAD
commit on themaster
branch - I have searched through the other currently open issues and am confident this is not a duplicate of an existing bug
- I provided a minimal code snippet or list of steps that reproduces the bug.
- I provided screenshots where appropriate
- I filled out all the relevant sections of this template