Imagemagick and Ffmpeg configure problem

leapbrother

Joined: 2003-12-20
Posts: 27
Posted: Sun, 2005-01-16 21:26

Hi..

Firstly, what a great piece of software. You guys rock, thanks for making our life more pleasurable. I have uploaded Gallery 2 and I must say the installation was a breeze, especially for a newbie like myself. Everything worked fine, no problems what so ever going through each section step by step. I have however ran into some problems when trying to activate the modules, specifically ImageMagick and Ffmpeg.

I have activated them in the admin section but run into problems when trying to configure them. I am asked for the directory path to ImageMagick binaries, and based upon my hosting structure I enter the following

/homepages/18/d96653638/htdocs/us/modules/imagemagick/

When I test the settings I get the following error message:

ImageMagick binary test results
Binary Name Pass/Fail
identify Failed
Error messages:
Problem executing binary:
File does not exist
identify Failed
Error messages:
Problem executing binary:
File does not exist
convert Failed
Error messages:
Problem executing binary:
File does not exist
composite Failed
Error messages:
Problem executing binary:

The folder has been CHOD to 755 (took me a while to work out what that was, but now done)

If I try and save it even with these errors I get the message

“The path you entered doesn't contain valid ImageMagick binaries. Use the 'test' button to check where the error is

 
itcheg

Joined: 2003-11-30
Posts: 87
Posted: Sun, 2005-01-16 22:04

It seems that you directing it to with-in gallery2 (though not sure why the parent directory is /us/). Gallery2 is asking you for the ImageMagick binaries, that is where ImageMagick is installed, same with ffmpeg. Gallery needs them to manipulate pictures (or in the case of ffmpeg to extract a movie frame for a thumb) These don't come with gallery, either your host has installed them or you have to install them.

 
leapbrother

Joined: 2003-12-20
Posts: 27
Posted: Sun, 2005-01-16 23:31

ahhh.. okay... I thought as they were listed in the modules, they were all ready installed.

I have had a look at their website and to be honest I have no idea how to install them. Do you know? Do I simply downlaod the files, and upload them to a directory of my hosting server?

/us/ is the domain I created for gallery rather than in my root directory.

Thanks.. I appreciate the help.

 
itcheg

Joined: 2003-11-30
Posts: 87
Posted: Mon, 2005-01-17 04:31

If you don't know how to install, best to just go with NetPBM for your graphics toolkit. You can download it from the gallery.menalto.com download page, upload them and then just tell gallery were you put them.

 
almost

Joined: 2005-01-12
Posts: 103
Posted: Mon, 2005-01-17 17:12

I'm having the same problem. I downloaded NetPBM as instructed above, uploaded to my website, pointed Gallery2 to them, ran "Test Settings" and got Failed for all existing binaries and File does not exist for bmpto pnm and ppmtobmp. jhead is the only binary that passes, giving me confidence that I'm doing at least something right.

Any ideas?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-01-17 17:28

are the files executable?
are you able to run the commands from the command line (if you have shell access)?

 
leapbrother

Joined: 2003-12-20
Posts: 27
Posted: Mon, 2005-01-17 22:25

I couldn't find Jhead... I didn't understand where that was.

Mindless, do you mean I upload the files, then CHOD the directory to 755? I also tried that and got the same problem as almost.

Any further info..?

Thanks

 
leapbrother

Joined: 2003-12-20
Posts: 27
Posted: Mon, 2005-01-17 22:41

Hi..

I downloaded the Netpbm files from the gallery site netpbm_gallery-1.4-pl2-win32.zip , extracted the files to the netpbm directory and uploaded that to my root dir on my host (see attached word document for screen dump and that and contents of netpbm directory).

I put my path as

/homepages/18/d96653638/htdocs/netpbm/

and ran test settings.. and got the follwing error

NetPBM binary test results
Binary Name Pass/Fail
giftopnm
Failed
Error messages:

File does not exist

ppmtogif
Failed
Error messages:

File does not exist

jpegtopnm
Failed
Error messages:

File does not exist

pnmtojpeg
Failed
Error messages:

File does not exist

pngtopnm
Failed
Error messages:

File does not exist

pnmtopng
Failed
Error messages:

File does not exist

tifftopnm
Failed
Error messages:

File does not exist

pnmtotiff
Failed
Error messages:

File does not exist

bmptopnm
Failed
Error messages:

File does not exist

ppmtobmp
Failed
Error messages:

File does not exist

pnmcomp
Failed
Error messages:

File does not exist

yet as you can see from the screen dump, these files are there. I checked the CHOD settings and the directory is set as 755. I can see the files there so can't work out why it will not accept them.

Thanks..

 
leapbrother

Joined: 2003-12-20
Posts: 27
Posted: Mon, 2005-01-17 22:44

sorry file can be found here

www.remarked.net/gallery2configv2.doc

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-01-17 23:16

chmod every file, not just the directory

 
leapbrother

Joined: 2003-12-20
Posts: 27
Posted: Tue, 2005-01-18 14:32

that is done by CHOD settings 755* right?

Rather than using the path /homepages/18/d96653638/htdocs/us/modules/ffmpeg/ I used /usr/bin/ and that has now worked. Thanks..

But I do not know here jhead is.

Also, do I post here for Gallery remote issues?

Thanks

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2005-01-19 02:13

Start a new topic for new issues, that helps. You can download jhead (ask Google where it is) and put a copy on your server yourself then use that...

 
almost

Joined: 2005-01-12
Posts: 103
Posted: Wed, 2005-01-19 21:59

Some times I feel like a nut. ChMod-ding all binaries to 755 did the trick.

Gallery-supplied NetPBM binaries missing bmp support, though.

Thx.