Hi - I am having a very strange issue relating to image promotion. With certain images, so far only jpegs from iPhones, I get an Encoding::UndefinedConversionError
error when I try to promote the image. I am not sure if this is happening because of something in Shrine (3.1.0) or something in image_processing
but it seems like it is happening in one or the other. Most photos work just fine, even most from iPhones. There is nothing particularly special about this photo that I can identify, and it is not the only one that fails. I am using ImageMagick for processing through the image_processing
gem. I have not yet tried vips.
Full error from Sidekiq:
{"context":"Job raised exception","job":{"class":"ShrinePromoteWorker","args":[229],"retry":true,"queue":"default","jid":"0ba277acb1f59a61ba43be0f","created_at":1576161439.0403652,"enqueued_at":1576161745.372324,"error_message":"\"\\xD6\" from ASCII-8BIT to UTF-8","error_class":"Encoding::UndefinedConversionError","failed_at":1576161441.4497209,"retry_count":3,"retried_at":1576161599.5275307},"jobstr":"{\"class\":\"ShrinePromoteWorker\",\"args\":[229],\"retry\":true,\"queue\":\"default\",\"jid\":\"0ba277acb1f59a61ba43be0f\",\"created_at\":1576161439.0403652,\"enqueued_at\":1576161745.372324,\"error_message\":\"\\\"\\\\xD6\\\" from ASCII-8BIT to UTF-8\",\"error_class\":\"Encoding::UndefinedConversionError\",\"failed_at\":1576161441.4497209,\"retry_count\":3,\"retried_at\":1576161599.5275307}"}