ImagickException with message Wand contains no images
ImagickException with message Wand contains no images
Uncaught exception 'ImagickException' with message 'Wand contains no images MagickWand-2
runing apache2, centos 5.3, php 5.1.6. I yum installed ImageMagic and pecl installed imagic. I've updated php.ini with the .so. The php source works fantastic on Ubuntu but bombs on centos. Has anyone seen this before?
runing apache2, centos 5.3, php 5.1.6. I yum installed ImageMagic and pecl installed imagic. I've updated php.ini with the .so. The php source works fantastic on Ubuntu but bombs on centos. Has anyone seen this before?
Re: ImagickException with message Wand contains no images
So, I've tried to upgrade to php 5.2.9 and no dice. I read something where they may have been a conflict with php 5.1 and the latest version of image magick.
Is there a better place to put this thread or a forum where I might have better luck?
Is there a better place to put this thread or a forum where I might have better luck?
Re: ImagickException with message Wand contains no images
Can you post the source code?
Mikko Koppanen
My blog: http://valokuva.org
My blog: http://valokuva.org
Re: ImagickException with message Wand contains no images
I get the same error on a Debian server. i think the problem is with the imagick version. On one server I have installed 2.2.1-dev module version and it works great and on another server 2.3.0 module version and it doesn't work at all.mattmcla wrote:The php source works fantastic on Ubuntu but bombs on centos. Has anyone seen this before?
Does anyone have a solution other than a downgrade on the server??
Re: ImagickException with message Wand contains no images
There is nothing I can do without seeing the code.
Mikko Koppanen
My blog: http://valokuva.org
My blog: http://valokuva.org
Re: ImagickException with message Wand contains no images
I am also experiencing this issue
and yet
Code: Select all
$ php <<< '<?php $p = new Imagick("Mendel.jpg");'
Fatal error: Uncaught exception 'ImagickException' with message 'Wand contains no images `MagickWand-1' @ magick-image.c/MagickSetImageFilename/9363' in /home/triffid/-:1
Stack trace:
#0 /home/triffid/-(1): Imagick->__construct('/home/triffid/M...')
#1 {main}
thrown in /home/triffid/- on line 1
Code: Select all
$ convert Mendel.jpg Mendel.png
$ file Mendel.*
Mendel.jpg: JPEG image data, JFIF standard 1.01, comment: "Created with GIMP\377"
Mendel.png: PNG image, 2247 x 1512, 8-bit/color RGB, non-interlaced
$
Re: ImagickException with message Wand contains no images
Thought I should provide some versions:
ImageMagick 6.5.2-9 2009-10-11 Q16 OpenMP
PHP 5.2.11-pl0-gentoo
pecl-imagick-2.3.0
libjpeg-7
ImageMagick 6.5.2-9 2009-10-11 Q16 OpenMP
PHP 5.2.11-pl0-gentoo
pecl-imagick-2.3.0
libjpeg-7
Re: ImagickException with message Wand contains no images
This error has been fixed in the trunk version of Imagick. The underlying error is that image reading fails but incorrect error message is displayed.
Mikko Koppanen
My blog: http://valokuva.org
My blog: http://valokuva.org