Page 1 of 1

weird problem w/ imagemagick

Posted: Wed Jul 20, 2005 9:17 pm
by jcostantino
Ok, I installed s9y, everything is working except for a weird bottleneck (which I'll outline below) and Imagemagick not working correctly.

I had my path as c:\folder\folder\convert.exe and it was reporting that it finished making thumbnails and would complete normally. When I checked the thumbnail size, it was 0 bytes. I checked another thread that had 0 byte IM files and his solution wasn't effective on mine.

What I ended up doing was changing the path to "c:/folder/folder/convert.exe" and it works BUT it ends with this error message:

<blockquote> Unable to execute: "C:/Inetpub/wwwroot/gallery/magick/convert.exe -antialias -scale "110x110" "c:/inetpub/wwwroot/serendipity/uploads/house.jpg" "c:/inetpub/wwwroot/serendipity/uploads/house._Thumb.jpg"", error: , return var: 1</blockquote>

Even though it says it's failed, it still gives me an 11k thumbnail instead of a 0k thumbnail.

Does anyone know why this might be? I'm using the latest s9y build, PHP 4.3.10, ImageMagick 5.5.7 (I'm using that with Gallery) and it's running on Apache 1.3 and XP Pro.

Also, I can't seem to get the "index.php" to be loaded without having to spell out the entire URL like "www.blah.com/serendipity/index.php"

One last thing - it seems as though there is a pause of a few seconds between doing things in Serendipity - for instance if I change to the next page, it seems to stop and think for a while before going on. It does that when you click any kind of link. Gallery doesn't do that so it leads me to believe that I don't have something 100% right with s9y.

Any help would be greatly appreciated!

Posted: Thu Jul 21, 2005 4:47 pm
by jcostantino
I think I solved my problem... I upgraded to 4.4 PHP (apache module) from the 4.x cgi-bin binary and that seems to have helped a lot.

I also fixed the problem with not showing index.php.

Re: weird problem w/ imagemagick

Posted: Sat Apr 21, 2007 12:15 pm
by plumpen
Hi

I get the same error msg when i try to add media or rebuild thumbs:
jcostantino wrote:<blockquote> Unable to execute: "C:/Inetpub/wwwroot/gallery/magick/convert.exe -antialias -scale "110x110" "c:/inetpub/wwwroot/serendipity/uploads/house.jpg" "c:/inetpub/wwwroot/serendipity/uploads/house._Thumb.jpg"", error: , return var: 1</blockquote>
But in my case there is no thumbnail creation at all.
Im using
Win2003
php-5.2.1
mysql-5.0.37
serendipity-1.1.2
ImageMagick-6.3.3-8-Q16-windows-dll.exe

And yes, i am a noob at this ;)

Could anyone help me, please?

Best regards
Tommy

Re: weird problem w/ imagemagick

Posted: Sat Apr 21, 2007 2:53 pm
by garvinhicking
Hi!

Can you try what happens if you execute that command manually via a DOS command?

Regards,
Garvin

Posted: Sat Apr 21, 2007 3:08 pm
by plumpen
Hi Garvin
Thanks for your reply

I tested to run it from a command line and it worked just fine.

Best regards
Tommy

Posted: Sat Apr 21, 2007 4:43 pm
by garvinhicking
Hi!

Maybe the file permissions do not allow your IIS webserver user to execute the binary?

Regards,
Garvin