rubymonsters / slam-alphas

Location app for women poetry slammers in the German speaking scene
https://karte.slamalphas.org/
MIT License
4 stars 2 forks source link

Trying to upload a .gif results in 500 #208

Open lislis opened 7 years ago

lislis commented 7 years ago

We could handle that case properly

 CarrierWave::ProcessingError occurred in users#update:

  Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: `identify /app/tmp/1511218084-6-0001-9806/medium/4LISA.jpg` failed with error:
identify.im6: insufficient image data in file `/app/tmp/1511218084-6-0001-9806/medium/4LISA.jpg' @ error/jpeg.c/ReadJPEGImage/1008.

  app/controllers/users_controller.rb:70:in `block in update'
lislis commented 6 years ago

I added a mention of supporting file types in #218 But I'd like to use something like https://github.com/blackwinter/ruby-filemagic and give real feedback

lislis commented 5 years ago

possibly related to #255 as gifs can be quite large. needs investigation