ImageMagick path on Mac OS X & Omeka_File_Derivative_Exception


This has been discussed on the forum many times, but none of the other threads seem to be offering a solution that works for me.

I instlled ImageMagick with Homebrew:

macpro:~ ttasovac$ convert -v
Version: ImageMagick 6.8.6-3 2013-08-14 Q16
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC

I set the correct path (/usr/local/bin) in Omeka settings, but this path is NOT recognized and trying to upload an item, i get the following errors:

#0 /Users/ttasovac/Development/ Omeka_File_Derivative_Image_Creator->setImageMagickDirPath('/usr/local/bin')
#1 /Users/ttasovac/Development/ Omeka_File_Derivative_Image_Creator->__construct('/usr/local/bin')
#2 /Users/ttasovac/Development/ File->createDerivatives()
#3 /Users/ttasovac/Development/ Job_FileProcessUpload->perform()
#4 /Users/ttasovac/Development/ Omeka_Job_Dispatcher_Adapter_Synchronous->send('{"className":"J...', Array)
#5 /Users/ttasovac/Development/ Omeka_Job_Dispatcher_Default->send('Job_FileProcess...', Array)
#6 [internal function]: File->afterSave(Array)
#7 /Users/ttasovac/Development/ call_user_func(Array, Array)
#8 /Users/ttasovac/Development/ Omeka_Record_AbstractRecord->runCallbacks('afterSave', Array)
#9 /Users/ttasovac/Development/ Omeka_Record_AbstractRecord->save()
#10 /Users/ttasovac/Development/ Item->saveFiles()
#11 [internal function]: Item->afterSave(Array)
#12 /Users/ttasovac/Development/ call_user_func(Array, Array)
#13 /Users/ttasovac/Development/ Omeka_Record_AbstractRecord->runCallbacks('afterSave', Array)
#14 /Users/ttasovac/Development/ Omeka_Record_AbstractRecord->save(false)
#15 /Users/ttasovac/Development/ Omeka_Controller_AbstractActionController->addAction()
#16 /Users/ttasovac/Development/ ItemsController->addAction()
#17 /Users/ttasovac/Development/ Zend_Controller_Action->dispatch('addAction')
#18 /Users/ttasovac/Development/ Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#19 /Users/ttasovac/Development/ Zend_Controller_Front->dispatch()
#20 /Users/ttasovac/Development/ Zend_Application_Bootstrap_Bootstrap->run()
#21 /Users/ttasovac/Development/ Zend_Application->run()
#22 /Users/ttasovac/Development/ Omeka_Application->run()
#23 {main}

Any tips would be greatly appreciated.

All best,

Hi ttasovac,

I was having the same problem when I tried to use Homebrew to install ImageMagic. Macports gave me a whole lot of trouble, too.

I followed jtalbert's instructions, which are posted here:

So, ultimately I manually installed ImageMagick on my OSX 10.8.4, and that did the trick.

Download ImageMagic from here:

And then follow either jtalbert's instructions, or my own step-by-step, which is posted here:

I hope you find this helps. Good luck!

--Cedrick M.

Thanks, Cedrick.

Unfortunately, manually installing doesn't help either.

I am using Omeka 2.1-rc1 because I want to check various API things, but I can't even begin to use it like this. Does any of the developers know if something was changed about how ImageMagick is dealt with in 2.1?

I have tested convert from the command line and it works. But Omeka is just being stubborn and won't recognize it.

All best,