Magick++ exception: Magick: UnableToOpenCache ()

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
parmeshwar
Posts: 2
Joined: 2013-02-21T02:09:01-07:00
Authentication code: 6789

Magick++ exception: Magick: UnableToOpenCache ()

Post by parmeshwar » 2013-02-21T02:26:38-07:00

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..

User avatar
magick
Site Admin
Posts: 11065
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick » 2013-02-21T04:47:46-07:00

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.

parmeshwar
Posts: 2
Joined: 2013-02-21T02:09:01-07:00
Authentication code: 6789

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

Post by parmeshwar » 2013-02-21T22:25:32-07:00

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.

Post Reply