Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while Decrpyting #58

Open
adu013 opened this issue Aug 22, 2023 · 0 comments
Open

Issue while Decrpyting #58

adu013 opened this issue Aug 22, 2023 · 0 comments

Comments

@adu013
Copy link

adu013 commented Aug 22, 2023

I'm getting the following issue while decrypting a file by using
psr decrypt 20230601.pdf 20230611-decrypt.pdf

Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\Python38\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\Arindam\OneDrive\Documents\Projects\StatementConverter\env\Scripts\psr.exe\__main__.py", line 9, in <module>
  File "c:\users\arindam\onedrive\documents\projects\statementconverter\env\lib\site-packages\click\core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "c:\users\arindam\onedrive\documents\projects\statementconverter\env\lib\site-packages\click\core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "c:\users\arindam\onedrive\documents\projects\statementconverter\env\lib\site-packages\click\core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\users\arindam\onedrive\documents\projects\statementconverter\env\lib\site-packages\click\core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\users\arindam\onedrive\documents\projects\statementconverter\env\lib\site-packages\click\core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "c:\users\arindam\onedrive\documents\projects\statementconverter\env\lib\site-packages\pdf_statement_reader\__init__.py", line 63, in decrypt
    decrypt_pdf(input_filename, output_filename, password)
  File "c:\users\arindam\onedrive\documents\projects\statementconverter\env\lib\site-packages\pdf_statement_reader\decrypt.py", line 34, in decrypt_pdf
    pdf = Pdf.open(input_filename, password)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant