Guest User

Untitled

a guest
Jan 23rd, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. File "/usr/lib64/python2.7/StringIO.py", line 271, in getvalue
  2. self.buf += ''.join(self.buflist)
  3. UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 58: ordinal not in range(128)`
  4.  
  5. def adequacaoCut(pdf, person, pathInt, pathImg):
  6. with open('pdfs/'+pdf, 'rb') as f:
  7. doc = slate.PDF(f)
  8. print doc
  9. ... rest of code that works fine
Add Comment
Please, Sign In to add comment