Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
3.0 kB
1
Indexable
Never
2021-07-07 03:59:23,185: Thumbnail tag failed
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/PIL/JpegImagePlugin.py", line 610, in _save
    rawmode = RAWMODE[im.mode]
KeyError: 'RGBA'
**NO MATCH**
The above exception was the direct cause of the following exception:
**NO MATCH**
Traceback (most recent call last):
  File "/home/rpoltorakov/.local/lib/python3.9/site-packages/sorl/thumbnail/engines/pil_engine.py", line 276, in _get_raw_data
    image.save(bf, **params)
  File "/usr/local/lib/python3.9/site-packages/PIL/Image.py", line 2164, in save
    save_handler(self, fp, filename)
  File "/usr/local/lib/python3.9/site-packages/PIL/JpegImagePlugin.py", line 612, in _save
    raise OSError(f"cannot write mode {im.mode} as JPEG") from e
OSError: cannot write mode RGBA as JPEG
**NO MATCH**
During handling of the above exception, another exception occurred:
**NO MATCH**
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/PIL/JpegImagePlugin.py", line 610, in _save
    rawmode = RAWMODE[im.mode]
KeyError: 'RGBA'
**NO MATCH**
The above exception was the direct cause of the following exception:
**NO MATCH**
Traceback (most recent call last):
  File "/home/rpoltorakov/.local/lib/python3.9/site-packages/sorl/thumbnail/templatetags/thumbnail.py", line 56, in render
    return self._render(context)
  File "/home/rpoltorakov/.local/lib/python3.9/site-packages/sorl/thumbnail/templatetags/thumbnail.py", line 136, in _render
    thumbnail = get_thumbnail(file_, geometry, **options)
  File "/home/rpoltorakov/.local/lib/python3.9/site-packages/sorl/thumbnail/shortcuts.py", line 8, in get_thumbnail
    return default.backend.get_thumbnail(file_, geometry_string, **options)
  File "/home/rpoltorakov/.local/lib/python3.9/site-packages/sorl/thumbnail/base.py", line 126, in get_thumbnail
    self._create_thumbnail(source_image, geometry_string, options,
  File "/home/rpoltorakov/.local/lib/python3.9/site-packages/sorl/thumbnail/base.py", line 160, in _create_thumbnail
    default.engine.write(image, options, thumbnail)
  File "/home/rpoltorakov/.local/lib/python3.9/site-packages/sorl/thumbnail/engines/base.py", line 143, in write
    raw_data = self._get_raw_data(
  File "/home/rpoltorakov/.local/lib/python3.9/site-packages/sorl/thumbnail/engines/pil_engine.py", line 280, in _get_raw_data
    image.save(bf, **params)
  File "/usr/local/lib/python3.9/site-packages/PIL/Image.py", line 2164, in save
    save_handler(self, fp, filename)
  File "/usr/local/lib/python3.9/site-packages/PIL/JpegImagePlugin.py", line 612, in _save
    raise OSError(f"cannot write mode {im.mode} as JPEG") from e
OSError: cannot write mode RGBA as JPEG
2021-07-07 03:59:23,411: Not Found: /static/bootstrap/dist/css/bootstrap.min.css
2021-07-07 03:59:23,527: Not Found: /static/jquery/dist/jquery.min.js
2021-07-07 03:59:23,541: Not Found: /static/bootstrap/dist/js/bootstrap.min.js
2021-07-07 03:59:23,716: Not Found: /favicon.ico/