Open krsarmiento opened 2 years ago
Hi guys! We have a fix for PyPDF2 for the zlib.error: Error -5 while decompressing data: incomplete or truncated stream.
zlib.error: Error -5 while decompressing data: incomplete or truncated stream
https://github.com/py-pdf/PyPDF2/pull/609
I want to include this fix here so I added a created a branch but I don't have right access to push it. Basically I added this PDF:
form_acrobatReader.pdf
Which raises the error.
return zlib.decompress(data) zlib.error: Error -5 while decompressing data: incomplete or truncated stream
So I added this file to the Resources/ folder and a simple unit test to make sure it works.
The change is just a simple line:
return zlib.decompressobj().decompress(data)
How can I get access?
Hi guys! We have a fix for PyPDF2 for the
zlib.error: Error -5 while decompressing data: incomplete or truncated stream
.https://github.com/py-pdf/PyPDF2/pull/609
I want to include this fix here so I added a created a branch but I don't have right access to push it. Basically I added this PDF:
form_acrobatReader.pdf
Which raises the error.
return zlib.decompress(data) zlib.error: Error -5 while decompressing data: incomplete or truncated stream
So I added this file to the Resources/ folder and a simple unit test to make sure it works.
The change is just a simple line:
return zlib.decompressobj().decompress(data)
How can I get access?