"No such file or directory" when adding an image

hnandrew

Joined: 2004-05-23
Posts: 5
Posted: Sun, 2004-05-23 20:19

Alright, whenever I try to upload an image that's bigger than really tiny, I'm getting this crap:

Quote:
Processing status...

- Adding morningshade.png
Resizing/compressing original image
No resizing required
File /home/httpd/vhosts/happyneow.com/subdomains/lensmeyoureyes/httpdocs/gallery/albums/album01/morningshade.png type 3.

Executing:
'/usr/lib/ImageMagick-6.0.1/convert' -quality 90 -size 150x150 +profile '*' '/home/httpd/vhosts/happyneow.com/subdomains/lensmeyoureyes/httpdocs/gallery/albums/album01/morningshade.png' -geometry 150x150 '/home/httpd/vhosts/happyneow.com/subdomains/lensmeyoureyes/httpdocs/gallery/albums/album01/morningshade.thumb.png'

Results:

none

Error messages::

sh: line 1: /usr/lib/ImageMagick-6.0.1/convert: No such file or directory

Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ No email sent as no valid email addresses were found

As far as I know ImageMagick is installed properly, has anyone had similar problems?

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery version: 1.4.3-pl1
Apache version: Apache/2.0.46
PHP version (don't just say PHP 4, please): I can find this out if necessary, but I don't really want to re-run the config wizard again.
Graphics Toolkit: Image Magick
Operating system: Red Hat Enterprise Server 3 (I believe)
Web browser/version (if applicable):

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2004-05-23 20:25

hnandrew, "sh: line 1: /usr/lib/ImageMagick-6.0.1/convert: No such file or directory" ... Pretty self explanitory, the convert command is not there. You need to tell the config where the compiled convert program is, not where it's libraries are.

Also, ImageMagick 6.0 is unsupported by Gallery at this time. Perhaps a better option would be to use the netpbm binaries offered on the downloads page.

 
hnandrew

Joined: 2004-05-23
Posts: 5
Posted: Sun, 2004-05-23 20:28

well crap then, i'll go yell at my server admin (I've very little experience with linux) thanks h0bbel.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2004-05-23 20:33

hnandrew, no problem. Just ask him where the convert command is located. :)