Replies: 1 comment 4 replies
-
The package that I use are:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I have a problem during saving a big file from a numpy array. I use TemporaryFile, but on the line "with wandImage..." the script raise an exception like:
File "/home/prj/env/lib/python3.8/site-packages/wand/image.py", line 9106, in init
self.read(file=file)
File "/home/prj/env/lib/python3.8/site-packages/wand/image.py", line 9705, in read
self.raise_exception()
File "/home/prj/env/lib/python3.8/site-packages/wand/resource.py", line 222, in raise_exception
raise e
wand.exceptions.CacheError: cache resources exhausted `' @ error/cache.c/OpenPixelCache/4083
I try to scale up the values on /etc/ImageMagick-6/policy.xml but I have the same error, any idea about a solution of that problem?
The code:
The package that I use are:
Here my policy.xml:
Thank you,
Daniel
Beta Was this translation helpful? Give feedback.
All reactions