Paperclip - Stream not recognized by identify command
Posted
by user117046
on Stack Overflow
See other posts from Stack Overflow
or by user117046
Published on 2010-06-01T01:17:29Z
Indexed on
2010/06/01
1:23 UTC
Read the original article
Hit count: 457
I'm getting a paperclip error every time that I upload an image:
[paperclip] An error was received while processing: #<Paperclip::NotIdentifiedByImageMagickError: /tmp/stream20100531-1921-uvlewk-0 is not recognized by the 'identify' command.>
I'm running:
Ubuntu 10.04, Imagemagick 6.5.1-0 (via apt-get), Paperclip 3.2.1.1
My path to identify is 'usr/bin/identify' and have confirmed Imagemagick works via command line
I've tried putting adding the path to the options, but to no avail. I've tried:
Paperclip.options[:command_path] = "usr/bin"
or
Paperclip.options.merge!(:command_path => "/usr/bin")
in environment.rb or config/initializers/paperclip.rb. Though it makes no rational sense, I also tried "usr/local/bin" since this is the default for most people.
Any thoughts on getting around this? Thanks!
© Stack Overflow or respective owner