Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnailer failing when missing extension on PNG file #8

Open
arthurzenika opened this issue Sep 7, 2022 · 0 comments
Open

Thumbnailer failing when missing extension on PNG file #8

arthurzenika opened this issue Sep 7, 2022 · 0 comments

Comments

@arthurzenika
Copy link

          DEBUG    Thumbnailer Started                                                                                                                                                                                     thumbnailer.py:153
           DEBUG    Processing thumbnail                                                                                                                                                                                    thumbnailer.py:172
                    /home/arthur/src/public/pelican-site/content/images/cep-2XxNPw8bad1RQaQ3hUgVaAmOYt_rsAzUYgtpoT4_QSN4kuaDw2E-mrprcRK5RhyvMt68eJY6a1YAhqluPHRKoyyInC_p3hhwajHiIj_nhM6UdG9Pk7SLNvQx=>thumbnail_square                     
           DEBUG    STREAM b'IHDR' 16 13                                                                                                                                                                                 PngImagePlugin.py:201
           DEBUG    STREAM b'IDAT' 41 8192                                                                                                                                                                               PngImagePlugin.py:201
           DEBUG    Using resizer _exact_resize                                                                                                                                                                              thumbnailer.py:90
           DEBUG    Importing BlpImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing BmpImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing BufrStubImagePlugin                                                                                                                                                                                 Image.py:369
           DEBUG    Importing CurImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing DcxImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing DdsImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing EpsImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing FitsImagePlugin                                                                                                                                                                                     Image.py:369
           DEBUG    Importing FitsStubImagePlugin                                                                                                                                                                                 Image.py:369
           DEBUG    Importing FliImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing FpxImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Image: failed to import FpxImagePlugin: No module named 'olefile'                                                                                                                                             Image.py:372
           DEBUG    Importing FtexImagePlugin                                                                                                                                                                                     Image.py:369
           DEBUG    Importing GbrImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing GifImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing GribStubImagePlugin                                                                                                                                                                                 Image.py:369
           DEBUG    Importing Hdf5StubImagePlugin                                                                                                                                                                                 Image.py:369
           DEBUG    Importing IcnsImagePlugin                                                                                                                                                                                     Image.py:369
           DEBUG    Importing IcoImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing ImImagePlugin                                                                                                                                                                                       Image.py:369
           DEBUG    Importing ImtImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing IptcImagePlugin                                                                                                                                                                                     Image.py:369
           DEBUG    Importing JpegImagePlugin                                                                                                                                                                                     Image.py:369
           DEBUG    Importing Jpeg2KImagePlugin                                                                                                                                                                                   Image.py:369
           DEBUG    Importing McIdasImagePlugin                                                                                                                                                                                   Image.py:369
           DEBUG    Importing MicImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Image: failed to import MicImagePlugin: No module named 'olefile'                                                                                                                                             Image.py:372
           DEBUG    Importing MpegImagePlugin                                                                                                                                                                                     Image.py:369
           DEBUG    Importing MpoImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing MspImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing PalmImagePlugin                                                                                                                                                                                     Image.py:369
           DEBUG    Importing PcdImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing PcxImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing PdfImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing PixarImagePlugin                                                                                                                                                                                    Image.py:369
           DEBUG    Importing PngImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing PpmImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing PsdImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing SgiImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing SpiderImagePlugin                                                                                                                                                                                   Image.py:369
           DEBUG    Importing SunImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing TgaImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing TiffImagePlugin                                                                                                                                                                                     Image.py:369
           DEBUG    Importing WebPImagePlugin                                                                                                                                                                                     Image.py:369
           DEBUG    Importing WmfImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing XbmImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing XpmImagePlugin                                                                                                                                                                                      Image.py:369
           DEBUG    Importing XVThumbImagePlugin                                                                                                                                                                                  Image.py:369
           CRITICAL ValueError: unknown file extension:                                                                                                                                                                        __init__.py:566

The file contains a PNG :

$ file /home/arthur/src/public/pelican-site/content/images/cep-2XxNPw8bad1RQaQ3hUgVaAmOYt_rsAzUYgtpoT4_QSN4kuaDw2E-mrprcRK5RhyvMt68eJY6a1YAhqluPHRKoyyInC_p3hhwajHiIj_nhM6UdG9Pk7SLNvQx 
/home/arthur/src/public/pelican-site/content/images/cep-2XxNPw8bad1RQaQ3hUgVaAmOYt_rsAzUYgtpoT4_QSN4kuaDw2E-mrprcRK5RhyvMt68eJY6a1YAhqluPHRKoyyInC_p3hhwajHiIj_nhM6UdG9Pk7SLNvQx: PNG image data, 456 x 108, 8-bit/color RGBA, non-interlaced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant