Imagemagick not found when upgrading 0.7.1 --> 0.8-beta2

Found a bug? Tell us!!
Post Reply
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Imagemagick not found when upgrading 0.7.1 --> 0.8-beta2

Post by joho »

The convert executable from ImageMagick is located in /usr/bin on a server (here) where s9y is located, not in /usr/local/bin .. I'm not sure this is the reason, but the install/upgrade script said it couldn't find the convert executable.
At the end of a smile, there is a laugh and a 1/2 [DAD]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Imagemagick not found when upgrading 0.7.1 --> 0.8-be

Post by garvinhicking »

You should be able to change the path to imagemagick in configuration.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Post by joho »

Indeed, no problem with that; I meant that perhaps the check should be made in /usr/bin as well as /usr/local/bin. I'd say chances are bigger the script will get a match in /usr/bin than in /usr/local/bin for most users.
At the end of a smile, there is a laugh and a 1/2 [DAD]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hm, that is strange. In include/functions_installer.inc.php, line 152-171 we actually do query several locations (/usr/X11R6/bin, /usr/bin, /usr/local/bin and check each of them if they are executable.

Thus the function should only fail, if the checks (is_executable) fail...?!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Post by joho »

Hmm.. I wonder what happens with that function in case "open_basedir" is in effect.. ? Anyway, it did fail here, and convert is in /usr/bin, I can tell you that much.
At the end of a smile, there is a laugh and a 1/2 [DAD]
Post Reply