gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
75.93k stars 7.54k forks source link

Webp EXIF reading fails on 0.133.0 #12793

Closed alexvanderberkel closed 2 months ago

alexvanderberkel commented 2 months ago

What version of Hugo are you using (0.133.0)?

$ hugo version 0.133.0

Does this issue reproduce with the latest release? Yes

This is closely connected to issue #12741. I am using the same gallery shortcode and still facing and issue in the latest version of hugo install via snap on ubuntu.

Error: rror: error building site: render: failed to render pages: render of "page" failed: "~/themes/hugo-theme-massively/layouts/_default/single.html:26:19": execute of template failed: template: _default/single.html:26:19: executing "_default/single.html" at <.Content>: error calling Content: "/~/content/FaroeIslands/index.en.md:7:1": failed to render shortcode "gallery": failed to process shortcode: "~/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/mfg92/hugo-shortcode-gallery@v1.3.0/layouts/shortcodes/gallery.html:122:21": execute of template failed: template: shortcodes/gallery.html:122:21: executing "shortcodes/gallery.html" at <$original.Exif>: error calling Exif: metadata init failed: json: error calling MarshalJSON for type exif.Tags: json: unsupported value: +Inf

Image: I belief multiple images are affected by it but this is an example image: 03_Summer_IMG_0880.zip

Exiftool was able to read and output the exif information.

github-actions[bot] commented 2 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.