Skip to content

Didn't work #1

@rishabh11336

Description

@rishabh11336

PasswordError Traceback (most recent call last)
/tmp/ipykernel_1307/1260578536.py in <cell line: 0>()
5 os.makedirs('temp', exist_ok=True)
6
----> 7 pdf = pikepdf.open('/content/credit-report.pdf', allow_overwriting_input=True)
8 pdf.save('temp/unlocked.pdf')

/usr/local/lib/python3.12/dist-packages/pikepdf/_methods.py in open(filename_or_stream, password, hex_password, ignore_xref_streams, suppress_warnings, attempt_recovery, inherit_page_attributes, access_mode, allow_overwriting_input)
529 try:
530 check_stream_is_usable(stream)
--> 531 pdf = Pdf._open(
532 stream,
533 password=password,

PasswordError: /content/credit-report.pdf: invalid password

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions