Page MenuHomePhabricator

HTTP 404 error for specific TIF thumbnail on Commons
Closed, ResolvedPublic

Event Timeline

Aklapper renamed this task from Thumbnailing problem on Commons to HTTP 404 error for specific TIF thumbnail on Commons.Jul 28 2022, 9:30 AM

Hello @Jeff_G. It was interesting to work on this ticket because it was not really obvious what is going on with the mentioned files. I found nine buggy files.
I tested all files mentioned in the description of the ticket and the following link which goes to Commons_talk:CropTool.
I figured out that all thumbnails that we can't see even the preview fail with the next error on the production version of Thumbor -> RGB color space not permitted on grayscale PNG. I mean the thumbnails that look as in the screenshot below.

tempsnip.png (888×1 px, 230 KB)

But on the Debian:Buster and Python3.7 (it will be a production version of Thumbor but now it is only on staging) I don't see this error locally and I successfully get the thumbnails of all these mentioned files. ImageMagick can already automatically convert RGB to grayscale than the ImageMagick version for Debian:Stretch - it is the version of OS that the current Thumbor production is based on.
The solution is to wait until the current version of Thumbor will be in production and this problem will disappear.