First, I tried to install ImageMagick using Port. When I installed Port, I ran through the installation wizard and it said it was completed. Afterward, I went to Terminal and typed 'sudo port' but it said 'port' was an unrecognized command. I rebooted, and it still did not work. So - I moved on to manual install.
Using the instructions provided, I ungzipped and untarred ImageMagick into a subdirectory of Applications. I ran the test commands, which worked, but when launching the latest version of Gallery Remote, it still says ImageMagick is not installed.
How do I go about troubleshooting this?
Posts: 1479
Can you attach the output of 'which convert', and attach the GR log?
FAQ: Log, what log?
--
Gallery Remote developer
Posts: 1
Just have the same Problem on my Mac. I happens even with b36 and also with b37. I tested Image Magick and got the converted Output.
I didn't get any output from which convert, it just shows the terminal ready for the next input.
But i will attach the log file of GR.
Regards
Posts: 3
I, too, am experiencing this issue. ImageMagick 6.4.1 tests worked fine when I had a shell open and exported the MAGICK_HOME variable, etc. Gallery Remote connects to my Gallery and I can add an image - as soon as a drop the image in Gallery Remote, I get the error that ImageMagick is not installed or working correctly.
The only thing I noticed from the log was by comparing an old install on another machine that works. The path to convert is not being printed in the error, and when convert works on my old machine, the path is printed. On the install that is *not* working, I set the imConvertPath to /Library/ImageMagick-6.4.1/bin/convert in im.properties, where I installed ImageMagick.
Current Error:
14430|TRACE|MainFrame |updatePicturesList: current album: April 2008 (1)
14430|TRACE|ThumbCache|preloadThumbnails
14430|TRACE|ThumbCache|Calling Start
14431|TRACE|StatusBar |level: 2 - Loading thumbnails - 0
14431|TRACE|ImageUtils|Executing [convert, -filter, Box, /Users/jlathren/Pictures/iPhoto Library/Originals/2008/Mar 26, 2008/IMGP8362.JPG, -resize, 64x64, +profile, *, /tmp/thumbs-jlathren/thumb767953915.gif]
14432|ERROR|ImageUtils|java.io.IOException: convert: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
at java.lang.ProcessImpl.start(ProcessImpl.java:91)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:464)
at com.gallery.GalleryRemote.util.ImageUtils.exec(ImageUtils.java:1226)
at com.gallery.GalleryRemote.util.ImageUtils.exec(ImageUtils.java:1219)
at com.gallery.GalleryRemote.util.ImageUtils.load(ImageUtils.java:145)
at com.gallery.GalleryRemote.util.ImageUtils.load(ImageUtils.java:101)
at com.gallery.GalleryRemote.ThumbnailCache.run(ThumbnailCache.java:98)
at java.lang.Thread.run(Thread.java:613)
14432|CRITI|ImageUtils|ImageMagick doesn't seem to be working. Disabling
However, when it works on the old install, the message reads:
58027|TRACE|StatusBar |level: 2 - Loading thumbnails - 0
58030|TRACE|ImageUtils|Executing [/usr/local/bin/convert, -filter, Box, /Users/twong/Desktop/IMGP6830.JPG, -resize, 64x64, +profile, *, /tmp/thumbs/thumb1789630034.gif]
62225|TRACE|ImageUtils|Returned with value 0
62230|TRACE|ImageUtils|Time: 4202 - Avg: 4202
62230|TRACE|ThumbCache|update progress 1/1
Any ideas?
Posts: 3
PS -
This happens early on in the log when Gallery Remote starts up:
422|CRITI|ImageUtils|ImageMagick path is not fully qualified, presence won't be tested until later
On the ImageMagick install, there are several variables that must be exported to run in the shell:
twongs-imac:ImageMagick-6.4.1 twong$ export MAGICK_HOME="/Library/ImageMagick-6.4.1"
twongs-imac:ImageMagick-6.4.1 twong$ export PATH="$MAGICK_HOME/bin:$PATH"
twongs-imac:ImageMagick-6.4.1 twong$ export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib"
I am not setting these permanently anywhere. Is this a problem? When I have set them and run 'which convert', I get the following:
twongs-imac:ImageMagick-6.4.1 twong$ which convert
/Library/ImageMagick-6.4.1/bin/convert
Posts: 3
Well, I got a bit further - I sleuthed out that I had the pathing property for convert in im.properties set to the wrong variable name:
the app is expecting 'im.convertPath'.
After correcting that, the full path was listed when convert was run. However, now I am getting:
15040|TRACE|ImageUtils|Executing [/Library/ImageMagick-6.4.1/bin/convert, -filter, Box, /Users/twong/Desktop/0603081717.jpg, -resize, 64x64, +profile, *, /tmp/thumbs-twong/thumb811696547.gif]
15357|TRACE|ImageUtils|Err: dyld: Library not loaded: /ImageMagick-6.4.1/lib/libMagickCore.1.dylib
15357|TRACE|ImageUtils|Err: Referenced from: /Library/ImageMagick-6.4.1/bin/convert
15357|TRACE|ImageUtils|Err: Reason: image not found
15357|TRACE|ImageUtils|Returned with value 133
15357|CRITI|ImageUtils|ImageMagick doesn't seem to be working. Disabling
Again, I ask, in the Mac OS X 10.5.3 environment, do I need to set some permanent environment or pathing variables?
Posts: 1479
OK, so now convert is getting called correctly, but is not loading the shared library. According to this page on the ImageMagick site, you do have to set your environment so ImageMagick can find its libraries. Did you do that?
--
Gallery Remote developer
Posts: 5
This is what I am getting when I run the "which convert"...
/Users/Carmichael/ImageMagick-6.4.2/bin/convert
The problem is that I am having issues editing the im.properties file...I got all the way to unpacking img.tar but couldn't find the im.properties
Posts: 5
Here is my info...
Gallery version = 2.2.5 core 1.2.0.7
PHP version = 4.4.9 cgi
Webserver = Apache/1.3.34 Ben-SSL/1.55
Database = mysqlt 4.0.27-standard-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, NetPBM, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux infong 2.4 #1 SMP Tue Dec 18 22:34:10 UTC 2007 i686 GNU/Linux
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1
Rows in GalleryAccessMap table = 28
Rows in GalleryAccessSubscriberMap table = 3
Rows in GalleryUser table = 2
Rows in GalleryItem table = 3
Rows in GalleryAlbumItem table = 3
Rows in GalleryCacheMap table = 0
Posts: 1479
[i]I've updated this page to mention that you can just edit the main properties file, you no longer need to mess with the properties file inside your application.
--
Gallery Remote developer