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

`convert /tmp/ActiveStorage-46750-20240328-74-1919gb4.jpg[0] -auto-orient -resize 200x200^ -crop 200x200+0+0 /tmp/image_processing20240328-74-1y6ut1u.jpg` failed with status: 1 and error:
convert-im6.q16: insufficient image data in file `/tmp/ActiveStorage-46750-20240328-74-1919gb4.jpg' @ error/jpeg.c/ReadJPEGImage/1117.
convert-im6.q16: no images defined `/tmp/image_processing20240328-74-1y6ut1u.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/home/_influencer_long_row.html.erb locals=["influencer", "show_ranking"]>, #<ActionView::Template app/views/home/_influencers_list.html.erb locals=["show_ranking", "top_readers"]>, #<ActionView::Template app/views/home/readers.html.erb locals=[]>

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"user"=>"james-maltby"}

Response

Headers:

None