MalloyDelacroix / DownloaderForReddit

The Downloader for Reddit is a GUI application with some advanced features to extract and download submitted content from reddit.
GNU General Public License v3.0
498 stars 47 forks source link

Endless Loop is still breaking the software #164

Closed mananas77 closed 3 years ago

mananas77 commented 3 years ago
  1. I did a test where i tried to download everything from a Subreddit when i encounterd the loop again. I can tell that it seems to be related to video in some way but it doesn't give a specified error when it enters the loop.

  2. The log have something like a hundred "status_code": 502" errors in relation to downloading the (video) part of reddit video urls: "https://v.redd.it/****". So it seems that the software have issues with downloading this kind of url.

  3. Even though there is lots of these errors it doesn't appear to be the reason behind the loop cause one would think it would break at first encounter. It appear to be related to something that happens at the end of the downloading cycle when about 99% is done. And when the software enters the loop i still have lots of (Video) and (Audio) files that have not been combined yet.

Environment Information

Steps to reproduce my latest encounter

  1. Use latest build v3.3.1-beta
  2. Add a Subreddit with lots of videos. (I tried with "PublicFreakout")
  3. Change the settings to (Post Limit: 1000) (Extract Self Post Content: True" and everything else default.
  4. Start downloading
  5. Wait until you get stuck in the loop at the ending phase.

For all but the most trivial of issues, please attach the latest log file. DownloaderForReddit.log

mananas77 commented 3 years ago

Update: When cleaning out the download folder i noticed that it was something about this video where it must have broke: https://www.reddit.com/r/PublicFreakout/comments/jbqeg9/i_am_not_the_owner_of_this_video_but_i_am_the/

FFMPEG was still holding the (video) and (audio) parts hostage so i had to terminate FFMPEG in Task Manager to delete em.