Showing /app/app/views/home/_influencer_row.html.erb where line #10 raised:

`convert /tmp/ActiveStorage-41094-20240319-189-1x9jwqc.jpg[0] -auto-orient -resize 200x200^ -crop 200x200+0+0 /tmp/image_processing20240319-189-cehvjy.jpg` failed with status: 1 and error:
convert-im6.q16: insufficient image data in file `/tmp/ActiveStorage-41094-20240319-189-1x9jwqc.jpg' @ error/jpeg.c/ReadJPEGImage/1117.
convert-im6.q16: no images defined `/tmp/image_processing20240319-189-cehvjy.jpg' @ error/convert.c/ConvertImageCommand/3258.
Extracted source (around line #7):
5
6
7
8
9
10
              
if user.photo.attached?
if variant_key = :small
variant_key.nil? ? user.photo : user.photo.variant(resize: '200x200^', crop: '200x200+0+0').processed
elsif variant_key = :thumb
variant_key.nil? ? user.photo : user.photo.variant(resize: '45x45^', crop: '45x45+0+0').processed
end

Trace of template inclusion: #<ActionView::Template app/views/users/show.html.erb locals=[]>

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"mrs-g-norman"}

Response

Headers:

None