Title: Building docs broken with pillow 5.4 · Issue #13079 · matplotlib/matplotlib · GitHub
Open Graph Title: Building docs broken with pillow 5.4 · Issue #13079 · matplotlib/matplotlib
X Title: Building docs broken with pillow 5.4 · Issue #13079 · matplotlib/matplotlib
Description: With the new release of pillow the following error occurs: generating gallery for gallery/images_contours_and_fields... [100%] watermark_image.py Traceback (most recent call last): File "/home/circleci/.local/lib/python3.6/site-packages/...
Open Graph Description: With the new release of pillow the following error occurs: generating gallery for gallery/images_contours_and_fields... [100%] watermark_image.py Traceback (most recent call last): File "/home/circ...
X Description: With the new release of pillow the following error occurs: generating gallery for gallery/images_contours_and_fields... [100%] watermark_image.py Traceback (most recent call last): File "/home...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/13079
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Building docs broken with pillow 5.4","articleBody":"With the new release of `pillow` the following error occurs:\r\n\r\n```\r\ngenerating gallery for gallery/images_contours_and_fields... [100%] watermark_image.py\r\n\r\nTraceback (most recent call last):\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/sphinx/cmd/build.py\", line 303, in build_main\r\n args.tags, args.verbosity, args.jobs, args.keep_going)\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/sphinx/application.py\", line 263, in __init__\r\n self._init_builder()\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/sphinx/application.py\", line 325, in _init_builder\r\n self.emit('builder-inited')\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/sphinx/application.py\", line 510, in emit\r\n return self.events.emit(event, self, *args)\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/sphinx/events.py\", line 80, in emit\r\n results.append(callback(*args))\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/sphinx_gallery/gen_gallery.py\", line 221, in generate_gallery_rst\r\n seen_backrefs)\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/sphinx_gallery/gen_rst.py\", line 462, in generate_dir_rst\r\n gallery_conf)\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/sphinx_gallery/gen_rst.py\", line 711, in generate_file_rst\r\n save_thumbnail(image_path_template, src_file, file_conf, gallery_conf)\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/sphinx_gallery/gen_rst.py\", line 425, in save_thumbnail\r\n scale_image(img, thumb_file, *gallery_conf[\"thumbnail_size\"])\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/sphinx_gallery/gen_rst.py\", line 386, in scale_image\r\n img = img.resize((width_sc, height_sc), Image.BICUBIC)\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/PIL/Image.py\", line 1800, in resize\r\n im = self.convert(self.mode[:-1]+'a')\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/PIL/Image.py\", line 915, in convert\r\n self.load()\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/PIL/ImageFile.py\", line 250, in load\r\n self.load_end()\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/PIL/PngImagePlugin.py\", line 677, in load_end\r\n self.png.call(cid, pos, length)\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/PIL/PngImagePlugin.py\", line 140, in call\r\n return getattr(self, \"chunk_\" + cid.decode('ascii'))(pos, length)\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/PIL/PngImagePlugin.py\", line 356, in chunk_IDAT\r\n raise EOFError\r\nEOFError\r\n\r\nException occurred:\r\n File \"/home/circleci/.local/lib/python3.6/site-packages/PIL/PngImagePlugin.py\", line 356, in chunk_IDAT\r\n raise EOFError\r\nEOFError\r\nThe full traceback has been saved in /tmp/sphinx-err-f0iznxik.log, if you want to report the issue to the developers.\r\nPlease also report this if it was a user error, so that a better error message can be provided next time.\r\nA bug report can be filed in the tracker at \u003chttps://github.com/sphinx-doc/sphinx/issues\u003e. Thanks!\r\nMakefile:30: recipe for target 'html' failed\r\nmake: *** [html] Error 2\r\nExited with code 2\r\n```\r\n\r\nIt looks like some problem with saving a `.png` file somewhere along the way - maybe an issue with `sphinx_gallery`?","author":{"url":"https://github.com/dstansby","@type":"Person","name":"dstansby"},"datePublished":"2019-01-02T15:29:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/13079/matplotlib/issues/13079"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:01558342-1add-b5a3-4659-5ad41ff8222a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B822:2D56E3:375091:48D433:6A52F9B7 |
| html-safe-nonce | 0d71d7b2680c357ce088a10edd0da5cd0b81998a518059563f5ea44e532b8a4c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODIyOjJENTZFMzozNzUwOTE6NDhENDMzOjZBNTJGOUI3IiwidmlzaXRvcl9pZCI6Ijg3MzM3MDc0ODU4NTEwODkzMzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5324d9b95cc7bd138aaf3659afde5769c3bff71adea5787a0aaf61c4d301e1ff |
| hovercard-subject-tag | issue:395283695 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/13079/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cede4b4a18fc9bbd11971a347006249cdbfea4f9cdab3ab93cf19000cde1e9a6/matplotlib/matplotlib/issues/13079 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cede4b4a18fc9bbd11971a347006249cdbfea4f9cdab3ab93cf19000cde1e9a6/matplotlib/matplotlib/issues/13079 |
| og:image:alt | With the new release of pillow the following error occurs: generating gallery for gallery/images_contours_and_fields... [100%] watermark_image.py Traceback (most recent call last): File "/home/circ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dstansby |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width