Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.
This repository was archived by the owner on May 6, 2020. It is now read-only.

PPA version throwing errors on --explode #33

@grrrrr

Description

@grrrrr

OS Version

$ lsb_release -d
Description:	Ubuntu 18.04.2 LTS

Software version

$ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions