question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Decryption returned a non-zero exit code

See original GitHub issue

What happened?

Decryption error

Expected Result

decrypt should work properly

Branch

master/main

What operating systems are you seeing the problem on?

Linux/Unix

Relevant log output

[05:55:04] [udemy-downloader] [handle_segments:1157] INFO: > Lecture Tracks Downloaded
[05:55:04] [udemy-downloader] [handle_segments:1166] INFO: KID for video file is: 84989ADEF469484FB1336529353E11C8
[05:55:04] [udemy-downloader] [handle_segments:1173] INFO: KID for audio file is: 84989ADEF469484FB1336529353E11C8
[05:55:04] [udemy-downloader] [handle_segments:1179] INFO: > Decrypting video, this might take a minute...
ERROR: unknown command line flag 'enable_raw_key_decryption'
ERROR: unknown command line flag 'keys'
[05:55:05] [udemy-downloader] [handle_segments:1206] ERROR: Error: 
Traceback (most recent call last):
  File "main.py", line 1180, in handle_segments
    ret_code = decrypt(video_kid, video_filepath_enc, video_filepath_dec)
  File "main.py", line 1123, in decrypt
    raise Exception("Decryption returned a non-zero exit code")
Exception: Decryption returned a non-zero exit code

Other information

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Ex-Communicad0commented, May 9, 2022

Sorry my mistake i have fixed the issue

1reaction
Puyodead1commented, May 9, 2022

1.1.8 or latest

Shaka-packager (main repo) & mp4decrypt (selenium version) both having same issue on ubuntu

that’s extremely old… the latest version is 2.6.1.

Also a note, people often say “latest” and it turns out they are in fact not on the latest, so giving the exact version number is always good.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gpg returned a non-zero error code: 2 · Issue #519 · pulp ...
When syncing signatures, in order to decode a non-encrypted signed doc, we use gpg.decrypt. There is no verification of the signature, no keys...
Read more >
php - GPG Error Code 2
GPG is asking whether you want to continue on with the encryption using an unsigned key. Since no user can input Y it...
Read more >
Non-Zero return code on successful decryption?
Hello, I have an automated script that will decrypt files that are sent to us over. FTP. One file that was received today...
Read more >
exit status - What does gpg error code 2 ...
Currently when I perform gpg decrypt for a specified file it returns 2. The problem with this is when I search the form,...
Read more >
Error in 'decrypt' command: External sea...
Solved: Trying to use the DECRYPT app and I keep getting an error. I have it installed in a ... External search command...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found