troubleshooting Question

wand error on python3 ubuntu 18

Avatar of coder
coderFlag for Australia asked on
* python3Operating SystemsUbuntuLinuxLinux OS Dev
3 Comments1 Solution17 ViewsLast Modified:
Hi Experts,

I get the following error on ubuntu python

from wand.image import Image

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

wand_pdf_page = Image(, resolution=96)

Open in new window

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

Open in new window

Any help is highly appreciated.
Please help me in resolving this error.

Dan Craciun
IT Consultant

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Log in to continue reading
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform for $9.99/mo
View membership options
Unlock 1 Answer and 3 Comments.
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
The Value of Experts Exchange in My Daily IT Life

Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>


Owner of Outages.IO
Phoenix, Arizona, United States
Member Since 2016
Join a full scale community that combines the best parts of other tools into one platform.
Unlock 1 Answer and 3 Comments.
View membership options
“All of life is about relationships, and EE has made a virtual community a real community. It lifts everyone's boat.”
William Peck

Member since 2004