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

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
ouine
Posts: 4
Joined: 2018-05-30T21:27:34-07:00
Authentication code: 1152

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

Post by ouine » 2018-05-30T21:33:17-07:00

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 :
Last edited by ouine on 2018-05-31T01:22:22-07:00, edited 1 time in total.

User avatar
fmw42
Posts: 23248
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post by fmw42 » 2018-05-30T23:24:26-07:00

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

ouine
Posts: 4
Joined: 2018-05-30T21:27:34-07:00
Authentication code: 1152

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

Post by ouine » 2018-05-31T00:43:51-07:00

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

snibgo
Posts: 10281
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post by snibgo » 2018-05-31T03:27:23-07:00

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.
snibgo's IM pages: im.snibgo.com

ouine
Posts: 4
Joined: 2018-05-30T21:27:34-07:00
Authentication code: 1152

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

Post by ouine » 2018-05-31T05:51:21-07:00

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" ?
Last edited by ouine on 2018-05-31T06:30:01-07:00, edited 2 times in total.

snibgo
Posts: 10281
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post by snibgo » 2018-05-31T06:09:41-07:00

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.
snibgo's IM pages: im.snibgo.com

ouine
Posts: 4
Joined: 2018-05-30T21:27:34-07:00
Authentication code: 1152

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

Post by ouine » 2018-05-31T06:29:24-07:00

error founded, the entire path was not defined.

thanks

Post Reply