Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Image::Magick - Exception 435: unable to open file `Image::Magick::Q16' @ error/Q16.xs/XS_Image__Magick__Q16_Read/13529

by mldvx4 (Friar)
on Jun 08, 2023 at 11:25 UTC ( [id://11152694] : note . print w/replies, xml ) Need Help??


in reply to Re: Image::Magick - Exception 435: unable to open file `Image::Magick::Q16' @ error/Q16.xs/XS_Image__Magick__Q16_Read/13529
in thread Image::Magick - Exception 435: unable to open file `Image::Magick::Q16' @ error/Q16.xs/XS_Image__Magick__Q16_Read/13529

Thanks. I gave it a try and switched from using a file handle to using just a file name and still get an an error, albeit a different one:

Error b: Exception 430: unable to open file '/tmp/magick-K306MFDJ8ArD4Ytnu0O7O3MOC9CghbHa': No such file or directory @ error/constitute.c/ReadImage/785

I'm not creating any temporary files there, so it must be the module which is trying to do that. It looks like the temporary file vanishes before it is used.

  • Comment on Re^2: Image::Magick - Exception 435: unable to open file `Image::Magick::Q16' @ error/Q16.xs/XS_Image__Magick__Q16_Read/13529