Skip to content

FileNotFoundError: [Errno 2] No such file or directory: '/srv/media/media/avatar/RGB.jpg' #337

@sentry

Description

@sentry

Sentry Issue: OPENREPAIRPLATFORM-6

FileNotFoundError: [Errno 2] No such file or directory: '/srv/media/media/avatar/RGB.jpg'
  File "sorl/thumbnail/base.py", line 104, in get_thumbnail
    source_image = default.engine.get_image(source)
  File "sorl/thumbnail/engines/pil_engine.py", line 83, in get_image
    buffer = BytesIO(source.read())
  File "sorl/thumbnail/images.py", line 164, in read
    f = self.storage.open(self.name)
  File "django/core/files/storage/base.py", line 22, in open
    return self._open(name, mode)
  File "django/core/files/storage/filesystem.py", line 68, in _open
    return File(open(self.path(name), mode))

[Errno 2] No such file or directory: '/srv/media/media/avatar/RGB.jpg'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions