aio-libs / aiobotocore

asyncio support for botocore library using aiohttp

Home Page:https://aiobotocore.rtfd.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failure on enables AUTO_WEBP

ocordeiro opened this issue · comments

When i enables AUTO_WEBP on Thumbor I get following error:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/thumbor/handlers/__init__.py", line 146, in execute_image_operations
    result = await self.context.modules.result_storage.get()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/thumbor_aws/result_storage.py", line 172, in get
    exists = await self.object_exists(file_abspath)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/thumbor_aws/s3_client.py", line 167, in object_exists
    await client.head_object(
  File "/usr/local/lib/python3.11/site-packages/aiobotocore/client.py", line 383, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (400) when calling the HeadObject operation: Bad Request

pip freeze results

aiobotocore==2.6.0
aiohttp==3.8.5
aioitertools==0.11.0
aiosignal==1.3.1
async-timeout==4.0.3
attrs==23.1.0
botocore==1.31.17
charset-normalizer==3.2.0
colorama==0.4.6
Deprecated==1.2.14
derpconf==0.8.3
envtpl==0.7.2
frozenlist==1.4.0
idna==3.4
Jinja2==3.1.2
jmespath==1.0.1
JpegIPTC==1.5
libthumbor==2.0.2
MarkupSafe==2.1.3
multidict==6.0.4
piexif==1.1.3
Pillow==9.5.0
pycurl==7.45.2
python-dateutil==2.8.2
pytz==2023.3
six==1.16.0
statsd==3.3.0
thumbor==7.5.2
thumbor-aws==0.6.0
thumbor-plugins-gifv==0.1.2
tornado==6.3.3
urllib3==1.26.16
webcolors==1.11.1
wrapt==1.15.0
yarl==1.9.2

Environment:

  • Running on docker Python 3.11 image
  • MinIO VERSION 2023-08-23T10:07:06Z