On Sat, Jan 9, 2010 at 8:10 PM, brianp <[email protected]> wrote:
> whiteone:~ brianp$ port -v > MacPorts 1.8.2 > > I did "sudo port selfupdate" > I don't believe i "sudo port sync" > > I did not upgrade to snow leopard (because it blew up my server) > I'm running on Mac os 10.5.8 > > What do you mean that it blew up your server? Snow Leopard worked for me on the laptop and I'm still on Leopard on the desktop because it's a PowerMac. So, what's the status of the installation because your last e-mail didn't provide any details? -Conrad > On Jan 9, 7:23 pm, Conrad Taylor <[email protected]> wrote: > > On Sat, Jan 9, 2010 at 5:09 PM, brianp <[email protected]> wrote: > > > So i tried: > > > export MAGICK_HOME="/opt/local/" > > > export PATH="$MAGICK_HOME/bin:$PATH" > > > export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib" > > > > The above environment variables are not needed and you're just making > > matters worse if you're using MacPorts. What version of MacPorts are > > you using? Did you 'sudo port selfupdate' and 'sudo port sync' prior to > > installing any port? If you installed MacPorts prior to the installation > of > > Snow Leopard, did you properly update your ports for this OS? > > > > > > > > > > > > > no success. > > > > > So I tried re-installing imagemagick for a 4th(?) time so I could show > > > you the input/output and now the re-install fails: > > > > > whiteone:~ brianp$ cd sites/autowholesaler-r/ > > > whiteone:autowholesaler-r brianp$ sudo port install ImageMagick > > > Password: ------------------ > > > ---> Computing dependencies for ImageMagick > > > ---> Configuring xorg-libX11 > > > Error: Target org.macports.configure returned: configure failure: > > > shell command " cd "/opt/local/var/macports/build/ > > > > _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg- > > > libX11/work/libX11-1.3.2" && ./configure --prefix=/opt/local --without- > > > xcb " returned error 1 > > > Command output: sh: line 0: cd: /opt/local/var/macports/build/ > > > > _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg- > > > libX11/work/libX11-1.3.2: No such file or directory > > > > > Error: The following dependencies failed to build: xorg-libXext xorg- > > > libX11 xorg-libXt xorg-libsm xorg-libice > > > Error: Status 1 encountered during processing. > > > Before reporting a bug, first run the command again with the -d flag > > > to get complete output. > > > whiteone:autowholesaler-r brianp$ > > > > > This just keeps getting worse =( > > > > Which OS and version are you using? Next, the above environment > variables > > are not needed. What version of MacPorts are you using? Did you 'sudo > port > > selfupdate' > > and 'sudo port sync' prior to installing any port? If you installed > > MacPorts prior to > > the installation of Snow Leopard, did you properly update your ports for > > this OS? > > > > -Conrad > > > > > > > > > On Jan 9, 1:42 am, Conrad Taylor <[email protected]> wrote: > > > > On Sat, Jan 9, 2010 at 12:58 AM, Conrad Taylor <[email protected]> > > > wrote: > > > > > 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-installe. > > > .. > > > > > > >> 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 > > > > > > Brian, I would also recommend watching the following screencasts by > Ryan > > > > Bates on the use of Paperclip: > > > > > >http://railscasts.com/episodes?search=paperclip > > > > > > Lastly, I would recommend adding each step of your usage of Ruby gems > or > > > > plugins starting with the installation > > > > because it makes it much easier to assist you. > > > > > > 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]> > <rubyonrails-talk%[email protected]<rubyonrails-talk%[email protected]> > > > > > <rubyonrails-talk%[email protected]<rubyonrails-talk%[email protected]> > <rubyonrails-talk%[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]<rubyonrails-talk%[email protected]> > <rubyonrails-talk%[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]<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.

