Showing /app/app/views/users/_user_mini_profile.html.erb where line #4 raised:

`convert /tmp/ActiveStorage-91644-20240329-147-jmn0gk.jpg[0] -auto-orient -resize 200x200^ -crop 200x200+0+0 /tmp/image_processing20240329-147-1kxv4ab.jpg` failed with status: 1 and error:
convert-im6.q16: insufficient image data in file `/tmp/ActiveStorage-91644-20240329-147-jmn0gk.jpg' @ error/jpeg.c/ReadJPEGImage/1117.
convert-im6.q16: no images defined `/tmp/image_processing20240329-147-1kxv4ab.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/projects/show.html.erb locals=[]>

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"children-of-dr-moreau"}

Response

Headers:

None