firstlookmedia / pdf-redact-tools

a set of tools to help with securely redacting and stripping metadata from documents before publishing
Other
533 stars 48 forks source link

pdf-explore issue #6

Closed martinlindhe closed 9 years ago

martinlindhe commented 10 years ago

$ ./pdf-explode ~/e-books/First\ Aid\ Made\ Easy.pdf Converting PDF to PNGs convert.im6: unable to open image /home/ml/e-books/First Aid Made Easy_pages//home/ml/e-books/First Aid Made Easy-transparent-0.png': No such file or directory @ error/blob.c/OpenBlob/2638. convert.im6: WriteBlob Failed/home/ml/e-books/First Aid Made Easy_pages//home/ml/e-books/First Aid Made Easy-transparent-0.png' @ error/png.c/MagickPNGErrorHandler/1728. Flattening PNGs Traceback (most recent call last): File "./pdf-explode", line 55, in filename_template = pages_dirname+'/'+filenames[0].replace('-0.png', '-{0}.png') IndexError: list index out of range

martinlindhe commented 10 years ago

forgot to mention, this is on Debian sid

the issue remains after installing the deb generated by build_deb.sh and running the installed script:

Traceback (most recent call last):
  File "/usr/bin/pdf-explode", line 55, in <module>
    filename_template = pages_dirname+'/'+filenames[0].replace('-0.png', '-{0}.png')
IndexError: list index out of range
micahflee commented 9 years ago

fixed!