From cfa3441da4409811527f87bfd6e970bfca837c78 Mon Sep 17 00:00:00 2001 From: Jonathan Hartley Date: Sat, 25 Mar 2023 23:25:36 -0500 Subject: [PATCH] Fix exception from gallery RSS with WebP images WebP images in a gallery cause `nikola build` to fail with an unhandled AttributeError exception, as described in #3671. This happens because the MIME type of WebP images is not known, and the resulting None value causes the RSS generation code to choke. This PR fixes that, by augmenting Python's list of known mimetypes with a hardcoded WebP one, before we ask for the mimetype of each image in a gallery. This addresses the above issue's checklist item "*Inject a hardcoded 'image/web' mimetype at runtime, before .guess_type() gets called.*", but does not complete the issue. --- .../galleries/demo/metadata.sample.yml | 2 +- .../galleries/demo/tesla_conducts_lg.jpg | Bin 18941 -> 0 bytes .../galleries/demo/tesla_conducts_lg.webp | Bin 0 -> 15278 bytes nikola/plugins/task/galleries.py | 3 +++ 4 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 nikola/data/samplesite/galleries/demo/tesla_conducts_lg.jpg create mode 100644 nikola/data/samplesite/galleries/demo/tesla_conducts_lg.webp diff --git a/nikola/data/samplesite/galleries/demo/metadata.sample.yml b/nikola/data/samplesite/galleries/demo/metadata.sample.yml index f5045731a5..9f89f33447 100644 --- a/nikola/data/samplesite/galleries/demo/metadata.sample.yml +++ b/nikola/data/samplesite/galleries/demo/metadata.sample.yml @@ -7,7 +7,7 @@ order: 2 name: tesla4_lg.jpg order: 0 --- -name: tesla_conducts_lg.jpg +name: tesla_conducts_lg.webp caption: Nikola Tesla conducts electricity order: 1 --- diff --git a/nikola/data/samplesite/galleries/demo/tesla_conducts_lg.jpg b/nikola/data/samplesite/galleries/demo/tesla_conducts_lg.jpg deleted file mode 100644 index f47d2ae1e338dddae4e6e24af71ca442ea8cc051..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18941 zcmb5VXH*nT*EQUehdh9i(E&z4lH?p_Bn>b`0g-f(B?rk895RSxRD!?|B@0MKl$>*r zjDUiGhzKY_)Q{`A@8^BrzhABCRW;Ssr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9g$;jPA{p4ti}@!C6@WEacx>pk`As!FGK$TRmpMmNT}!0sllcT z0rP<&V%O~T413+&W8GA5HgO*d6dZmVGR0wtG^@U!kaBFp9a9-yn2N479`=A-cd&(% zj>+m_>YY^^9Scim<`%xK7g6rSh~C8n8(VZ6Y2bxm1W0HX*%uA93!n^=2{B`1JE7EA za*JE5#k2&?rUcAR=qn~ji|~|1kQ_`9cu6r(i94%{ zMakZIKxkw2xM~rwC@OOe$ONj(PxPOfvaM!;;9&#RQ0lt6{Ln%jF%j`bPj13DYPi@dySH?&>)Eg%ODU+4!dzk-R}bY0!J4ndq)&4y)Whg!nsI zR52TH71Z%gVI&f57ds%brV~XV{ReUnm#W8eTHi1fsflyn;&%RMgR5_<2*Q7+6nDKc z4++{N8_Xnj;z5)eI{yHetNPE~MJxVdr2ha}`>2C+g6(EyfWkKqhZI`S(A`>2q5zHM zY-oE#&9L-?DdBSYAI|DdF8P-zq6Mez12d&m)ou?0DxKe^q@Vt9uWz)x>q!+b*?md8 zx|5`QoD@+8lO5U``1hC8!eJQWzjoITyNbX#+JyV86VMeDK|dW<{uX?Y{9QoU0ly^_ zL1iq<5k!K*0UIr@AGVps6h%6%_?Ld_D1&c9+OKG600le~;75*|jQ;@gPg~l?dtRQ0 z;PUA5WkL3OiXhNqyHkwJ98GLK7*9a&^5V75%xbyQqL}ob-9->vPdUX>BSwK9NB3E@ zyIq=51OrIU`k6oFMG$7t?e=Lwx?P6BR%i6prs6;U083Yxc7qd`RuvzI!qOl>6qs5* z>L`MS=J3J>el_ozWj~Sq&=|LaI$82j zL=E`*pV3d`e{@b^P{)FuxP$wsq5=5&ztGQ-{m?kthjz2%e{~c=KO0a_g`Xmz#?%4> zS?dZYfc`qK^t0rPa|*3KBUA e-3MlM+)RdikM5#~F&^_$qn>whB*Ka)ga6qx(kNX3 diff --git a/nikola/data/samplesite/galleries/demo/tesla_conducts_lg.webp b/nikola/data/samplesite/galleries/demo/tesla_conducts_lg.webp new file mode 100644 index 0000000000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y~qfJ0O0&9&=?gyB#}xwzm)xK2!?)CPlk4r^Eq>jQ~C|yjS2`qa1NNCkaePw Pbgb%iKmHd;zAgM8HFcXx literal 0 HcmV?d00001 diff --git a/nikola/plugins/task/galleries.py b/nikola/plugins/task/galleries.py index 7874cf169c..25bc91c9e1 100644 --- a/nikola/plugins/task/galleries.py +++ b/nikola/plugins/task/galleries.py @@ -725,6 +725,9 @@ def gallery_rss(self, img_list, dest_img_list, img_titles, lang, permalink, outp def make_url(url): return urljoin(self.site.config['BASE_URL'], url.lstrip('/')) + # WebP is not yet an official MIME type but we need to recognize them + mimetypes.add_type('image/webp', '.webp') + all_data = list(zip(img_list, dest_img_list, img_titles)) if self.kw['sort_by_date']: