Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mat mat
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • mat
  • matmat
  • Issues
  • #6626
Closed
Open
Created Jun 10, 2016 by fr33tux@fr33tuxReporter

Fails to clean password-protected PDF file

When cleaning a pdf file which is "protected" by a password, the following traceback is issued :

Command Line Error: Incorrect password
 Traceback (most recent call last):
  File "./mat", line 150, in 
    main()
  File "./mat", line 143, in main
    add2archive=args.add2archive, low_pdf_quality=args.low_pdf_quality)
  File "/home/fr33tux/mat/MAT/mat.py", line 186, in create_class_file
    return stripper_class(filename, parser, mime, backup, is_writable, **kwargs)
  File "/home/fr33tux/mat/MAT/office.py", line 122, in __init__
    self.document = Poppler.Document.new_from_file(uri, self.password)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 76, in constructor
    return info.invoke(cls, *args, **kwargs)

(from redmine: created on 2014-01-28)

Assignee
Assign to
Time tracking