Skip to content

New Thumbor issue #38

@abalfazlmeshkiotc

Description

@abalfazlmeshkiotc

Hi

Thanks for you your thumbor images
I am using your image (beeyev/thumbor-s3:7.7-debian) but I have found that with recent updates when I load my image into thumbor, it raises this issues.

2025-03-07 08:01:12 thumbor:ERROR Loading image failed with cannot identify image file <_io.BytesIO object at 0x7fc32e562020>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/thumbor/handlers/init.py", line 283, in get_image
engine.load(buffer, self.context.request.extension)
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/init.py", line 201, in load
image_or_frames = self.create_image(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/pil.py", line 105, in create_image
img = Image.open(BytesIO(buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/PIL/Image.py", line 3280, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fc32e562020>
2025-03-07 08:01:12 tornado.access:ERROR 504 GET /BlE0QMA-aT-Xnx2vaak-OBmtIwU=/fit-in/1024x576/JhYMg2lhiA4rJrRkbudlq/EwkPRGZnVK5qWf38slhAD/logo.png (172.16.0.65) 333.23ms
2025-03-07 08:01:12 thumbor:ERROR Loading image failed with cannot identify image file <_io.BytesIO object at 0x7fc32d3d1030>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/thumbor/handlers/init.py", line 283, in get_image
engine.load(buffer, self.context.request.extension)
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/init.py", line 201, in load
image_or_frames = self.create_image(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/pil.py", line 105, in create_image
img = Image.open(BytesIO(buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/PIL/Image.py", line 3280, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fc32d3d1030>
2025-03-07 08:01:12 tornado.access:ERROR 504 GET /X6I-n_guW9iJAFG0pymaWMM-icU=/fit-in/1280x720/JhYMg2lhiA4rJrRkbudlq/EwkPRGZnVK5qWf38slhAD/logo.png (172.16.0.65) 190.63ms
2025-03-07 08:01:13 thumbor:ERROR Loading image failed with cannot identify image file <_io.BytesIO object at 0x7fc32d40ff10>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/thumbor/handlers/init.py", line 283, in get_image
engine.load(buffer, self.context.request.extension)
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/init.py", line 201, in load
image_or_frames = self.create_image(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/pil.py", line 105, in create_image
img = Image.open(BytesIO(buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/PIL/Image.py", line 3280, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fc32d40ff10>
2025-03-07 08:01:13 tornado.access:ERROR 504 GET /7-aEkRa2b9htrbnmeWtflFLOXCk=/fit-in/288x162/JhYMg2lhiA4rJrRkbudlq/EwkPRGZnVK5qWf38slhAD/logo.png (172.16.0.65) 418.39ms
2025-03-07 08:01:13 thumbor:ERROR Loading image failed with cannot identify image file <_io.BytesIO object at 0x7fc32d396110>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/thumbor/handlers/init.py", line 283, in get_image
engine.load(buffer, self.context.request.extension)
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/init.py", line 201, in load
image_or_frames = self.create_image(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/pil.py", line 105, in create_image
img = Image.open(BytesIO(buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/PIL/Image.py", line 3280, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fc32d396110>
2025-03-07 08:01:13 tornado.access:ERROR 504 GET /5Bb0xB_OUZTvSvWPq-iSgZQitkk=/fit-in/320x180/JhYMg2lhiA4rJrRkbudlq/EwkPRGZnVK5qWf38slhAD/logo.png (172.16.0.65) 198.05ms
2025-03-07 08:01:13 thumbor:ERROR Loading image failed with cannot identify image file <_io.BytesIO object at 0x7fc32d3d0270>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/thumbor/handlers/init.py", line 283, in get_image
engine.load(buffer, self.context.request.extension)
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/init.py", line 201, in load
image_or_frames = self.create_image(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/pil.py", line 105, in create_image
img = Image.open(BytesIO(buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/PIL/Image.py", line 3280, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fc32d3d0270>
2025-03-07 08:01:13 tornado.access:ERROR 504 GET /vQBWYIr8ZkdQsnPW8a2s6yH46RM=/fit-in/480x270/JhYMg2lhiA4rJrRkbudlq/EwkPRGZnVK5qWf38slhAD/logo.png (172.16.0.65) 212.44ms
2025-03-07 08:01:14 thumbor:ERROR Loading image failed with cannot identify image file <_io.BytesIO object at 0x7fc32d1b6520>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/thumbor/handlers/init.py", line 283, in get_image
engine.load(buffer, self.context.request.extension)
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/init.py", line 201, in load
image_or_frames = self.create_image(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/pil.py", line 105, in create_image
img = Image.open(BytesIO(buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/PIL/Image.py", line 3280, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fc32d1b6520>
2025-03-07 08:01:14 tornado.access:ERROR 504 GET /KAtKnloZ0tZu0dW3JGTV8BRMLCE=/fit-in/640x360/JhYMg2lhiA4rJrRkbudlq/EwkPRGZnVK5qWf38slhAD/logo.png (172.16.0.65) 198.78ms
2025-03-07 08:01:14 thumbor:ERROR Loading image failed with cannot identify image file <_io.BytesIO object at 0x7fc32d40db20>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/thumbor/handlers/init.py", line 283, in get_image
engine.load(buffer, self.context.request.extension)
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/init.py", line 201, in load
image_or_frames = self.create_image(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/pil.py", line 105, in create_image
img = Image.open(BytesIO(buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/PIL/Image.py", line 3280, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fc32d40db20>
2025-03-07 08:01:14 tornado.access:ERROR 504 GET /Acvb0zB1060K5zZnT2esB828rD4=/fit-in/720x405/JhYMg2lhiA4rJrRkbudlq/EwkPRGZnVK5qWf38slhAD/logo.png (172.16.0.65) 364.61ms
2025-03-07 08:01:14 thumbor:ERROR Loading image failed with cannot identify image file <_io.BytesIO object at 0x7fc32d37f330>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/thumbor/handlers/init.py", line 283, in get_image
engine.load(buffer, self.context.request.extension)
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/init.py", line 201, in load
image_or_frames = self.create_image(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/pil.py", line 105, in create_image
img = Image.open(BytesIO(buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/PIL/Image.py", line 3280, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fc32d37f330>
2025-03-07 08:01:14 tornado.access:ERROR 504 GET /s3Z6bOw-lSkYYqJ-rWr6Z3N28oU=/fit-in/160x90/JhYMg2lhiA4rJrRkbudlq/EwkPRGZnVK5qWf38slhAD/logo.png (172.16.0.65) 197.68ms
2025-03-07 08:01:15 thumbor:ERROR Loading image failed with cannot identify image file <_io.BytesIO object at 0x7fc32ddb2570>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/thumbor/handlers/init.py", line 283, in get_image
engine.load(buffer, self.context.request.extension)
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/init.py", line 201, in load
image_or_frames = self.create_image(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/pil.py", line 105, in create_image
img = Image.open(BytesIO(buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/PIL/Image.py", line 3280, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fc32ddb2570>
2025-03-07 08:01:15 tornado.access:ERROR 504 GET /xlb5xrVjHYJEldszDpfdXOqEOhY=/fit-in/240x135/JhYMg2lhiA4rJrRkbudlq/EwkPRGZnVK5qWf38slhAD/logo.png (172.16.0.65) 251.41ms
2025-03-07 08:01:15 thumbor:ERROR Loading image failed with cannot identify image file <_io.BytesIO object at 0x7fc32df140e0>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/thumbor/handlers/init.py", line 283, in get_image
engine.load(buffer, self.context.request.extension)
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/init.py", line 201, in load
image_or_frames = self.create_image(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/thumbor/engines/pil.py", line 105, in create_image
img = Image.open(BytesIO(buffer))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/PIL/Image.py", line 3280, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fc32df140e0>
2025-03-07 08:01:15 tornado.access:ERROR 504 GET /xpbYHrULEt3OSWJicuVyNijnVZ4=/fit-in/1440x810/JhYMg2lhiA4rJrRkbudlq/EwkPRGZnVK5qWf38slhAD/logo.png (172.16.0.65) 204.39ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions