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