Uninitialized constant EXIFR::JPEG

Continuing the discussion from Uninitialized constant when uploading JPG:

This bug is back. Happening right now here on meta…

2 Likes

Let’s see… yep confirmed, why did we regress here @tgxworld?

Because the gem was accidentally upgraded again as we didn’t pin the gem version when it was fixed previously.

https://github.com/discourse/discourse/commit/bb959e85e6a360372298107b31151ac18190fc14

The proper solution is still to update our fork of the image_optim gem but that contains our patch to support timeout but I don’t expect an easy time updating it. There is some history to our fork of the gem, the timeout support that I work on previously was at the per worker level which isn’t ideal which is why the PR didn’t land into the gem. The plan is to add a global timeout across the worker.

3 Likes

I faced this problem while importing. I think this PR from @gerhard can fix this issue.

Done in

https://github.com/toy/image_optim/pull/162

Hopefully it gets merged into the official gem this time :crossed_fingers:

5 Likes

I updated our fork in

https://github.com/discourse/discourse/commit/72a34573796dedcba8a9275f6d45f5c83603c14f

3 Likes

This topic was automatically closed after 7 days. New replies are no longer allowed.