mhogomchungu / media-downloader

Media Downloader is a Qt/C++ front end to yt-dlp, youtube-dl, gallery-dl, lux, you-get, svtplay-dl, aria2c, wget and safari books..
GNU General Public License v2.0
1.34k stars 101 forks source link

Unable to update #395

Closed tnilzon closed 2 months ago

tnilzon commented 2 months ago

Not able to update anymore. Media Downloader does not update, svtplay-dl does not update. As for Media Downloader, it indicates "Update Complete, Restart To Use New Version", but when restarting, the update process starts all over.

OS Name Microsoft Windows 11 Pro, Version 10.0.22631 Build 22631 Media Downloader Version: 4.4.0.132001/4.5.0 Media Downloader Log file is attached.

error_messages.txt

mhogomchungu commented 2 months ago

Steps to take to correct the problem:-

  1. Close Media Downloader.
  2. Delete folder at "C:/Users/tomas/AppData/Roaming/media-downloader/update".
  3. Manually update Media Downloader using a git installer located at below path.

Known bug and is already fixed. Older git versions before a certain version have to manually be updated to jump over this endless loop.

The problem is caused by presence of both "MediaDownloader-4.5.0.zip" and "MediaDownloader.git.zip" files. The git version you are using wrongly picks the first one above because github lists its first.

The bug started showing up after i added "MediaDownloader-4.5.0.zip" file and a solution here is either for me to remove it and not put released version here or for users to manually update their old git versions they are using and i decided to go with the latter solution.

https://github.com/mhogomchungu/media-downloader-git/releases/download/0.0.0/MediaDownloader.git.setup.exe

tnilzon commented 2 months ago

Thanks, that fixed the problem with Media Downloader, but the problem with svtplay-dl not being updated still persists. error_messages.txt

mhogomchungu commented 2 months ago
  1. Close Media Downloader.
  2. Delete folder "C:/Users/tomas/AppData/Roaming/media-downloader/bin/svtplay-dl"
  3. Start Media Downloader and check it continues to fail to update.
tnilzon commented 2 months ago

That worked, many thanks! update_messages.txt

mhogomchungu commented 2 months ago

Glad it worked.

That folder is supposed to be deleted before extraction start and will investigate why it was not happening in your case.

tnilzon commented 2 months ago

Great, thanks.RegardsTomas -------- Original message --------From: mhogomchungu @.> Date: 4/26/24 12:12 (GMT+01:00) To: mhogomchungu/media-downloader @.> Cc: Tomas NIlzon @.>, Author @.> Subject: Re: [mhogomchungu/media-downloader] Unable to update (Issue #395) Glad it worked. That folder is supposed to be deleted before extraction start and will investigate why it was not happening in your case.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>