Bluegrams / Vividl

Modern Windows GUI for youtube-dl/ yt-dlp
https://vividl.sourceforge.io
BSD 3-Clause "New" or "Revised" License
638 stars 54 forks source link

"ERROR: unable to overwrite current version" when updating youtube-dl #26

Closed Mennaruuk closed 3 years ago

Mennaruuk commented 3 years ago

Thank you for making this great app, I use it often and it's awesome. I've been running into a small issue. youtube-dl is not updating for an unfathomable reason. As of now, videos are still downloading though. But I keep running into the error below whenever I attempt to update youtube-dl. It's still using the November 1 release as opposed to the latest November 26. I wish there was an auto-update feature for youtube-dl, or maybe there is but it isn't functioning for me.

image

alxnull commented 3 years ago

Hi,

glad to hear this app is useful to you. Your error message seems to indicate that youtube-dl isn't allowed to write to the folder where it is saved. If you have installed Vividl using the installer, youtube-dl is installed in the Program Files folder, so you might need to start Vividl with admin priviledges to update. (This is not ideal, so I'll probably try to change it in a future version.)

Also, there's no auto-update feature for youtube-dl currently, Vividl is using the built-in update command of youtube-dl. But this is also a feature worth considering.

Mennaruuk commented 3 years ago

It worked! I ran it as admin and I was able to update youtube-dl. Another workaround is manually downloading the latest youtube-dl.exe (right here) then replacing the old youtube-dl.exe, which is by default found at C:\Program Files (x86)\Bluegrams\Vividl\Lib\youtube-dl.exe.

And making an auto-update feature for youtube-dl would be a heavenly blessing! Since Vividl already supports checking for updates at startup, so something like that or even auto-updating would be amazing additions to this wonderful software. Thank you for maintaining Vividl, it makes my life easier!

alxnull commented 3 years ago

There are two changes in v.0.5.0 related to this:

Mennaruuk commented 3 years ago

Appreciate it so much dude! Updating both youtube-dl and Vividl have just gotten easier.