On Fri, Jan 8, 2010 at 10:32 PM, brianp <[email protected]> wrote:
> Hey everyone, > I'm still having a ton of image issues. > > I had been using attachment_fu and ran into errors so i changed to > paperclip. attachment_fu was working to a degree but ran into some > other issues. Not it seems imagemagick is broken. > > I've installed paperclip. With no image editing it works fine. As soon > as I need to thumbnail anything I get this error: > > [paperclip] An error was received while processing: > #<Paperclip::NotIdentifiedByImageMagickError: /var/folders/4s/ > 4sQnoBr2F2yB6Y37PPp9U++++TI/-Tmp-/IMG_1207,321,0.jpg is not recognized > by the 'identify' command.> > [paperclip] An error was received while processing: > #<Paperclip::NotIdentifiedByImageMagickError: /var/folders/4s/ > 4sQnoBr2F2yB6Y37PPp9U++++TI/-Tmp-/IMG_1207,321,0.jpg is not recognized > by the 'identify' command.> > [paperclip] An error was received while processing: > #<Paperclip::NotIdentifiedByImageMagickError: /var/folders/4s/ > 4sQnoBr2F2yB6Y37PPp9U++++TI/-Tmp-/IMG_1207,321,0.jpg is not recognized > by the 'identify' command.> > > I've tried adding all of the following (separately) to the > initializers/paperclip.rb as well as environments/development.rb > > Paperclip.options[:swallow_stderr] = false > Paperclip.options[:command_path] = "/usr/bin" > Paperclip.options[:command_path] = "/opt/local/bin" > Paperclip.options[:command_path] = "/usr/local/ImageMagick/" > Paperclip.options[:image_magick_path] = '/opt/local/bin' > > None of these solved the issue. > > I also tried reinstalling ImageMagick via macports: > sudo port install ImageMagick > > I've updated my macports and all installed ports. > > I've tried installing imageMagick via an anti-macports script: > http://github.com/maddox/magick-installer/blob/master/magick-installer.sh > > I'm tried running "identify" on the command line > brianp$ identify image.jpg > -bash: identify: command not found > > So I'm assuming the problem is at the heart of the installation as it > seems none of the functions are being installed. > > Anyone have any new suggestions ? > > Brian, I have installed ImageMagick via MacPorts and it's working as expected. For example, $ identify ./Library/Caches/Java/cache/javaws/splash/splash13217.jpg ./Library/Caches/Java/cache/javaws/splash/splash13217.jpg JPEG 320x80 320x80+0+0 8-bit DirectClass 6.3KiB 0.010u 0:00.030 Furthermore, I'm using both Snow Leopard and Leopard. Thus, if you cannot access identify, then I would recommend checking your PATH environment variable first to make sure that your PATH looks something like this: export PATH=/opt/local/bin:/opt/local/sbin:${PATH} Good luck, -Conrad > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > > >--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

