troubleshooting Question

wand error on python3 ubuntu 18

Avatar of coder
coderFlag for Australia asked on
Operating SystemsLinuxLinux OS DevLinux DistributionsUbuntu
3 Comments1 Solution16 ViewsLast Modified:
Hi Experts,

I get the following error on ubuntu python

from wand.image import Image

try:
    from PIL import Image as PILImage
except ImportError:
    import Image as PILImage


wand_pdf_page = Image(filename=wand_temp.name, resolution=96)
I get the following error for executing the last line

Error: /ioerror in --.reusablestreamdecode--
Operand stack:
   --dict:13/21(L)--   --nostringval--   --nostringval--   --dict:4/13(L)--   114194   --nostringval--   --nostringval--   --dict:5/5(L)--   --dict:5/5(L)--   --nostringval--   --dict:0/0(L)--   --nostringval--   --nostringval--   false   false   false   --nostringval--   --nostringval--   --nostringval--   (\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000...)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   .reusablestreamdecode   --nostringval--   2   %stopped_push   --nostringval--   .reusablestreamdecode   .reusablestreamdecode   false   1   %stopped_push   2045   1   3   %oparray_pop   2044   1   3   %oparray_pop   2025   1   3   %oparray_pop   2026   1   3   %oparray_pop   .reusablestreamdecode   .reusablestreamdecode   2   1   1   .reusablestreamdecode   %for_pos_int_continue   2029   1   7   %oparray_pop   .reusablestreamdecode   .reusablestreamdecode   false   1   %stopped_push   .reusablestreamdecode   .reusablestreamdecode   .reusablestreamdecode   .reusablestreamdecode   .reusablestreamdecode   1878   11   9   %oparray_pop   2003   10   9   %oparray_pop   .reusablestreamdecode   .reusablestreamdecode   .reusablestreamdecode   %loop_continue   .reusablestreamdecode
Dictionary stack:
   --dict:964/1684(ro)(G)--   --dict:1/20(G)--   --dict:82/200(L)--   --dict:82/200(L)--   --dict:133/256(ro)(G)--   --dict:311/450(ro)(G)--   --dict:34/64(L)--   --dict:6/9(L)--   --dict:7/20(L)--
Current allocation mode is global
Last OS error: No such file or directory
GPL Ghostscript 9.26: Unrecoverable error, exit code 1
Any help is highly appreciated.
Please help me in resolving this error.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros