Page 1 of 1

Magick++ exception: Magick: UnableToOpenCache ()

Posted: 2013-02-21T02:26:38-07:00
by parmeshwar
Hi,

Facing issue while creating object of the Image class.
Constuctor called here is Image ( const Blob &blob_ )
It is returning with exception description "Magick: UnableToOpenCache ()".

Appricate any help..

Re: Magick++ exception: Magick: UnableToOpenCache ()

Posted: 2013-02-21T04:47:46-07:00
by magick
You did not provide enough information in your post to be helpful. Make sure your release of ImageMagick is working from the command line:
  • convert logo: logo.png
    identify -verbose logo.png
Do these commands work? If not, you need to reinstall ImageMagick. Once they do work there is some hope your Magick++ code will work. Grab the ImageMagick source. Take a look at Magick++/tests/readWriteBlob.cpp. Does this module work on your system? If so, use it as a template for your own custom code.

Re: Magick++ exception: Magick: UnableToOpenCache ()

Posted: 2013-02-21T22:25:32-07:00
by parmeshwar
Thanks for your reply.
It was working well till some point. Later on it started to return this exception for the files processed.
Could this be related to the free disk space available in TMPDIR.