edx-dl icon indicating copy to clipboard operation
edx-dl copied to clipboard

Download Failed After Some Downloads

Open RamitDutta opened this issue 4 years ago • 3 comments

🚨Please review the Troubleshooting section before reporting any issue. Don't forget also to check the current issues to avoid duplicates.

Subject of the issue

What kind of problem is this? It happens to all the Edx courses that I downloaded .

[download] https://youtube.com/watch?v=dZVR9fgZnEA => Downloaded\Mastering_Quantum_Mechanics_Part_1-_Wave_Mechanics\04-Week_3\11-%(title)s-%(id)s.%(ext)s Downloading video with URL https://youtube.com/watch?v=dZVR9fgZnEA from YouTube. [youtube] dZVR9fgZnEA: Downloading webpage [youtube] dZVR9fgZnEA: Downloading MPD manifest [download] Got server HTTP error: HTTP Error 500: Internal Server Error. Retrying (attempt 1 of 10)... [download] Got server HTTP error: HTTP Error 500: Internal Server Error. Retrying (attempt 2 of 10)... [download] Got server HTTP error: HTTP Error 500: Internal Server Error. Retrying (attempt 3 of 10)... [download] Got server HTTP error: HTTP Error 500: Internal Server Error. Retrying (attempt 4 of 10)... [download] Got server HTTP error: HTTP Error 500: Internal Server Error. Retrying (attempt 5 of 10)... [download] Got server HTTP error: HTTP Error 500: Internal Server Error. Retrying (attempt 6 of 10)... [download] Got server HTTP error: HTTP Error 500: Internal Server Error. Retrying (attempt 7 of 10)... [download] Got server HTTP error: HTTP Error 500: Internal Server Error. Retrying (attempt 8 of 10)... [download] Got server HTTP error: HTTP Error 500: Internal Server Error. Retrying (attempt 9 of 10)... [download] Got server HTTP error: HTTP Error 500: Internal Server Error. Retrying (attempt 10 of 10)... ERROR: giving up after 10 retries Traceback (most recent call last): File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\runpy.py", line 86, in run_code exec(code, run_globals) File "C:\Users\ramit.DESKTOP-QB6H7DB\AppData\Local\Programs\Python\Python38-32\Scripts\edx-dl.exe_main.py", line 9, in File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 1073, in main download(args, selections, filtered_units, headers) File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 849, in download download_unit(unit, args, target_dir, filename_prefix, File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 811, in download_unit download_video(unit.videos[0], args, target_dir, filename_prefix, File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 794, in download_video skip_or_download(youtube_downloads, headers, args) File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 781, in skip_or_download f(url, filename, headers, args) File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 707, in download_url download_youtube_url(url, filename, headers, args) File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 754, in download_youtube_url execute_command(cmd, args) File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\utils.py", line 42, in execute_command raise e File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\utils.py", line 37, in execute_command subprocess.check_call(cmd) File "c:\users\ramit.desktop-qb6h7db\appdata\local\programs\python\python38-32\lib\subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['youtube-dl', '--ignore-config', '-o', 'Downloaded\Mastering_Quantum_Mechanics_Part_1-_Wave_Mechanics\04-Week_3\11-%(title)s-%(id)s.%(ext)s', '-f', 'mp4', 'https://youtube.com/watch?v=dZVR9fgZnEA']' returned non-zero exit status 1.

Your environment

  • Operating System (name/version):
  • Python version:
  • youtube-dl version:
  • edx-dl version:

Steps to reproduce

This is the course URL https://courses.edx.org/courses/course-v1:MITx+8.05.2x+1T2018/course/

Expected behaviour

Tell us what should happen.

Actual behaviour

Tell us what happens instead. If the script fails, please copy the entire output of the command or the stacktrace (don't forget to obfuscate your username and password). If you cannot copy the exception, attach a screenshot.

RamitDutta avatar Jun 16 '20 08:06 RamitDutta

Same here with this course : https://courses.edx.org/courses/course-v1:TUMx+AUTONAVx+2T2015/course/

rdpdo avatar Jul 08 '20 12:07 rdpdo

got the same error for https://courses.edx.org/courses/course-v1:MITx+18.01.1x+2T2020/course/

VigneshRamanathan101 avatar Sep 09 '20 06:09 VigneshRamanathan101

Same issue, anyone figured out the fix? Would appreciate any suggestion.

diamneth avatar Sep 09 '20 14:09 diamneth