universitas / universitas.no

Online newspaper built with Django
https://universitas.no
Apache License 2.0
19 stars 6 forks source link

OSError: File does not exist: media/2017/10/Universitas-Simen-August-Askeland-illustrasjon-2.pdf #186

Closed tassen-sentry[bot] closed 5 years ago

tassen-sentry[bot] commented 5 years ago

Sentry Issue: UNIVERSITAS-BACKEND-C

ClientError: An error occurred (404) when calling the HeadObject operation: Not Found
(1 additional frame(s) were not displayed)
...
  File "storages/backends/s3boto3.py", line 69, in __init__
    self.obj.load()
  File "boto3/resources/factory.py", line 505, in do_action
    response = action(self, *args, **kwargs)
  File "boto3/resources/action.py", line 83, in __call__
    response = getattr(parent.meta.client, operation_name)(**params)
  File "botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "botocore/client.py", line 661, in _make_api_call
    raise error_class(parsed_response, operation_name)

OSError: File does not exist: media/2017/10/Universitas-Simen-August-Askeland-illustrasjon-2.pdf
  File "sorl/thumbnail/base.py", line 108, in get_thumbnail
    source_image = default.engine.get_image(source)
  File "sorl/thumbnail/engines/wand_engine.py", line 13, in get_image
    return Image(blob=source.read())
  File "sorl/thumbnail/images.py", line 164, in read
    f = self.storage.open(self.name)
  File "django/core/files/storage.py", line 36, in open
    return self._open(name, mode)
  File "storages/backends/s3boto3.py", line 464, in _open
    raise IOError('File does not exist: %s' % name)

File does not exist: media/2017/10/Universitas-Simen-August-Askeland-illustrasjon-2.pdf