Ubuntu 11.10 - RMagick - unable to acquire cache view
Posted: 2012-06-20T12:58:44-07:00
Hello,
I have a couple of servers that use RMagick (a Ruby API to imagemagick) inside a Rails app.
My OS is Ubuntu 11.10 server x64
Compilation :
./configure LDFLAGS=-L/usr/local/lib --with-quantum-depth=8 --disable-openmp -enable-shared
Tried using versions : ImageMagick-6.7.6-7, ImageMagick-6.7.7-7
Both versions randomly give this error when trying to call the RMagick method draw (http://www.imagemagick.org/RMagick/doc/draw.html#draw). It's really random, it can work for hours and start failing 5 times in a row etc ...
Magick::FatalImageMagickError (unable to acquire cache view `No such file or directory' @ fatal/cache-view.c/AcquireAuthenticCacheView/121)
The file exists, and is accessed over NFS, maybe that's the issue?
I found a fix to my issue : using 6.5.7-10 fixes everything and I don't have any problem with it, but I'd better use an updated version of course.
Maybe it's Rmagick that can't play nice with most recent versions of imagemagick, but it looks like an error from ImageMagick.
If you need any additional information, just ask!
Thanks for your help
I have a couple of servers that use RMagick (a Ruby API to imagemagick) inside a Rails app.
My OS is Ubuntu 11.10 server x64
Compilation :
./configure LDFLAGS=-L/usr/local/lib --with-quantum-depth=8 --disable-openmp -enable-shared
Tried using versions : ImageMagick-6.7.6-7, ImageMagick-6.7.7-7
Both versions randomly give this error when trying to call the RMagick method draw (http://www.imagemagick.org/RMagick/doc/draw.html#draw). It's really random, it can work for hours and start failing 5 times in a row etc ...
Magick::FatalImageMagickError (unable to acquire cache view `No such file or directory' @ fatal/cache-view.c/AcquireAuthenticCacheView/121)
The file exists, and is accessed over NFS, maybe that's the issue?
I found a fix to my issue : using 6.5.7-10 fixes everything and I don't have any problem with it, but I'd better use an updated version of course.
Maybe it's Rmagick that can't play nice with most recent versions of imagemagick, but it looks like an error from ImageMagick.
If you need any additional information, just ask!
Thanks for your help