You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2020. It is now read-only.
running pdf-redact-tools --sanitize an-untrusted.pdf I got the following error:
Converting PDF to PNGs
Flattening PNGs
Traceback (most recent call last):
File "/usr/bin/pdf-redact-tools", line 178, in <module>
main()
File "/usr/bin/pdf-redact-tools", line 170, in main
if pdfrt.explode():
File "/usr/bin/pdf-redact-tools", line 83, in explode
filename_template = os.path.join(self.pages_dirname, filenames[0].replace('-0.png', '-{}.png'))
IndexError: list index out of range
It's a 5 Mo file, could that be too large for this operation? Any other clue on what could be the issue?
context:
Ubuntu 14.10
pdf-redact-tools installed from built .deb package
thanks in advance!
The text was updated successfully, but these errors were encountered:
It looks a bit more like filenames is an empty list, thus there's no valid index. It's filled with the list of files in a directory... it must have somehow been filled with an empty directory?
running
pdf-redact-tools --sanitize an-untrusted.pdf
I got the following error:It's a 5 Mo file, could that be too large for this operation? Any other clue on what could be the issue?
context:
thanks in advance!
The text was updated successfully, but these errors were encountered: