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.
What version of Hugo are you using (
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.