Page 1 of 1

ImagickException: unable to open image No such file or directory @ error/blob.c/OpenBlob/3335

Posted: 2018-05-30T21:33:17-07:00
by ouine
Hello,
i am trying to use imageMagik but i have each time this message :

ImagickException: unable to open image 'internal_data/attachments/360/360663-1a050459666ae1dcee9ba89d73a9e426.data': No such file or directory @ error/blob.c/OpenBlob/3335 in src/addons/Andy/ConvertImage/Listener.php at line 524

I checked and the file is on the right place, with the good permissions.

Did someone know this problem ?

the Imagemagick version is : 7.0.7-19
imagik : 3.4.3
plateform : Gentoo
the imageis here : http://www.vtwin-bikes.com/forum/maitrecylindre03.jpg
i am using the soft xenforo :

Re: ImagickException: unable to open image No such file or directory @ error/blob.c/OpenBlob/3335

Posted: 2018-05-30T23:24:26-07:00
by fmw42
Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-se ... f=1&t=9620

For novices, see

http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown

Re: ImagickException: unable to open image No such file or directory @ error/blob.c/OpenBlob/3335

Posted: 2018-05-31T00:43:51-07:00
by ouine
Thanks,

the Imagemagick version is : 7.0.7-19
imagik : 3.4.3
plateform : Gentoo
the imageis here : http://www.vtwin-bikes.com/forum/maitrecylindre03.jpg
i am using the soft xenforo :

ImagickException: unable to open image 'internal_data/attachments/360/360592-1a050459666ae1dcee9ba89d73a9e426.data': No such file or directory @ error/blob.c/OpenBlob/3335 src/addons/Andy/ConvertImage/Listener.php:524

Re: ImagickException: unable to open image No such file or directory @ error/blob.c/OpenBlob/3335

Posted: 2018-05-31T03:27:23-07:00
by snibgo
The message probably means what it says:
ouine wrote:unable to open image 'internal_data/attachments/360/360663-1a050459666ae1dcee9ba89d73a9e426.data'
That file couldn't be opened as an image.

If you think it should be capable of being opened, please provide a link to it.

It may also be helpful if you show the IMagick code.

Re: ImagickException: unable to open image No such file or directory @ error/blob.c/OpenBlob/3335

Posted: 2018-05-31T05:51:21-07:00
by ouine
Hello,

thanks, this is a image and can be openend as an image.

i attached the files but i added a .jpg at the end because i can't attached it without but you can try without .jpg, its working.

EDIT: file deleted

what is the "iMagick code" ?

Re: ImagickException: unable to open image No such file or directory @ error/blob.c/OpenBlob/3335

Posted: 2018-05-31T06:09:41-07:00
by snibgo
You are using IMagick. The error message says it comes from IMagick. So you have a PHP script that contains IMagick code. It might help if you paste that code here. (IMagick is different to ImageMagick. IMagick provides an interface between PHP and ImageMagick.)

The error message says that it can't open a certain file in a certain subdirectory. What is the current directory when the PHP script is running? Does using an absolute path (starting with "/") instead of subdirectory solve the problem?

If that doesn't help, please provide a link to the file that has the same name as the file in the error message.

Re: ImagickException: unable to open image No such file or directory @ error/blob.c/OpenBlob/3335

Posted: 2018-05-31T06:29:24-07:00
by ouine
error founded, the entire path was not defined.

thanks