ProgrammingHero1 / audiobook

288 stars 219 forks source link

Same unsolvable error always #9

Closed anapeksha closed 4 years ago

anapeksha commented 4 years ago

code 139 (interrupted by signal 11: SIGSEGV) error returned always Screenshot from 2020-10-02 16-40-57

shravanasati commented 4 years ago

Don't open the book. Just pass the book string directly to the PdfFileReader class. The class PdfFileReader takes the path of the PDF file (string), not a binary file.

ashraf-minhaj commented 4 years ago

You opened the file in read-binary format. open('file_name", 'r') should work just as fine.