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.
$ dpkg -l | grep pdf-redact
ii pdf-redact-tools 0.1.2-1 all PDF Redact Tools helps with securely redacting and stripping
When using pdf-redact-tools from the ubuntu ppa by @micahflee the software will throw the same error no matter what PDF is used.
Error
pdf-redact-tools --explode Test.pdf
Converting PDF to PNGs
convert-im6.q16: not authorized `/home/user/Downloads/Test.pdf' @ error/constitute.c/ReadImage/412.
convert-im6.q16: no images defined `/home/user/Downloads/Test_pages/page-transparent.png' @ error/convert.c/ConvertImageCommand/3258.
Flattening PNGs
Traceback (most recent call last):
File "/usr/bin/pdf-redact-tools", line 216, in <module>
main()
File "/usr/bin/pdf-redact-tools", line 188, in main
if pdfrt.explode(achromatic):
File "/usr/bin/pdf-redact-tools", line 101, in explode
filename_template = os.path.join(self.pages_dirname, filenames[0].replace('-0.png', '-{}.png'))
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
This problem is probably beacuse pdf's is restricted in /etc/ImageMagick-6/policy.xml . If you comment out <!--<policy domain="coder" rights="none" pattern="PDF" />-->
it should work.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
OS Version
Software version
When using
pdf-redact-tools
from the ubuntu ppa by @micahflee the software will throw the same error no matter what PDF is used.Error
The text was updated successfully, but these errors were encountered: