Trouble testing imagemagick module

Mark Hammond

Joined: 2008-02-11
Posts: 6
Posted: Wed, 2010-11-17 23:36

The trouble happens when I go to test the ImageMagick settings.

Here is the system information:

Gallery URL = http://www.beautifulandes.com/gallery/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.14 cgi-fcgi
Webserver = Apache
Database = mysql 4.0.30-max-log, lock.system=database
Toolkits = LinkItemToolkit, Gd, Exif, Thumbnail, Getid3
Acceleration = none/900, none/900
Operating system = Linux linhostssl27.prod.mesa1.secureserver.net 2.4.21-63.ELsmp #1 SMP Tue Nov 3 18:23:59 EST 2009 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C)
Rows in GalleryAccessMap table = 46
Rows in GalleryAccessSubscriberMap table = 1054
Rows in GalleryUser table = 6
Rows in GalleryItem table = 1058
Rows in GalleryAlbumItem table = 59
Rows in GalleryCacheMap table = 0

The problem happens when I test the settings for ImageMagick. I've used gallery for about 4 years now, and am not sure what has changed.

Here is the debug output:

is_dir(/usr/bin/)
Loading plugin imagemagick
imagemagick plugin successfully instantiated
Check the version of the imagemagick plugin
The version of the imagemagick plugin is ok
getcwd()
chdir(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
file_exists(/usr/bin/identify)
getParameter exec.beNice for core plugin
Executing: (nice "/usr/bin/identify"
"/home/content/T/h/e/TheRingess/html/gallery/modules/imagemagick/data/test.gif"
) 2>"/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgRjYDoZ"
getParameter exec.expectedStatus for core plugin
file_exists(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgRjYDoZ)
filesize(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgRjYDoZ)
fopen(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgRjYDoZ,
r, 0)
feof(Resource id #306)
fgets(Resource id #306, 4096)
feof(Resource id #306)
fgets(Resource id #306, 4096)
feof(Resource id #306)
fclose(Resource id #306)
unlink(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgRjYDoZ)
Regular Output:
Error Output:
sh: line 1: nice: command not found
Status: 127 (expected 0)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
tempnam(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/, imgk_)
file_exists(/usr/bin/convert)
Executing: (nice "/usr/bin/convert" "-size" "200x200" "-geometry"
"200x200"
"/home/content/T/h/e/TheRingess/html/gallery/modules/imagemagick/data/test.gif"
"gif:/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/imgk_S8cajH" )
2>"/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgw1RPdp"
file_exists(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgw1RPdp)
filesize(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgw1RPdp)
fopen(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgw1RPdp,
r, 0)
feof(Resource id #308)
fgets(Resource id #308, 4096)
feof(Resource id #308)
fgets(Resource id #308, 4096)
feof(Resource id #308)
fclose(Resource id #308)
unlink(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgw1RPdp)
Regular Output:
Error Output:
sh: line 1: nice: command not found
Status: 127 (expected 0)
unlink(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/imgk_S8cajH)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
file_exists(/usr/bin/combine)
file_exists(/usr/bin/composite)
is_executable(/usr/bin/composite)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
tempnam(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/, imgk_)
Executing: (nice "/usr/bin/composite" "-geometry" "+0+0"
"/home/content/T/h/e/TheRingess/html/gallery/modules/imagemagick/data/test.jpg"
"/home/content/T/h/e/TheRingess/html/gallery/modules/imagemagick/data/test.gif"
"gif:/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/imgk_N7Wca7" )
2>"/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgS3iK6O"
file_exists(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgS3iK6O)
filesize(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgS3iK6O)
fopen(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgS3iK6O,
r, 0)
feof(Resource id #310)
fgets(Resource id #310, 4096)
feof(Resource id #310)
fgets(Resource id #310, 4096)
feof(Resource id #310)
fclose(Resource id #310)
unlink(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/g2dbgS3iK6O)
Regular Output:
Error Output:
sh: line 1: nice: command not found
Status: 127 (expected 0)
unlink(/home/content/T/h/e/TheRingess/html/gallery/g2data/tmp/imgk_N7Wca7)
chdir(/home/content/T/h/e/TheRingess/html/gallery)

The problem seems to be that the nice command cannot be found.

Any suggestions.