murrty / youtube-dl-gui

Download/Convert videos from websites without needing to learn command line
GNU General Public License v3.0
430 stars 44 forks source link

Yt -dlp bug #143

Closed trimechee closed 1 year ago

trimechee commented 1 year ago

Hello, I install Youtube-dl-gui with ffmpeg (version made by yt-dlp team) and ffrobe in the same folder , the softwate ask me to install youtube dl(yt-dlp), i click yes but i have this message : "an exception has occured" : An unhandled exception occurred. The application will exit after closing this dialog.

System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet. à youtube_dl_gui.UpdateChecker.UpdateYoutubeDl(Nullable`1 Location) à youtube_dl_gui.Program.Main(String[] args)

========== FULL REPORT ========== System.UnhandledExceptionEventArgs ========== END REPORT ==========

========== OS INFO ========== (Please don't omit this info, it may be important) Current version: 3.1.0 Curernt culture: French (France) System Caption: Microsoft Windows 10 Professionnel Version: 10.0.19043 Service Pack Major: 0 Service Pack Minor: 0 ========== END INFO ==========

trimechee commented 1 year ago

i try to download yt -dlp by my self, i open finally the main interace of the software after i clock "no" to po-up messages but after few seconds, i have "an exception has occured" :

"An unhandled thread exception occurred. The application will exit after closing this dialog.

System.ArgumentOutOfRangeException: InvalidArgument=La valeur '0' n'est pas valide pour 'SelectedIndex'. Nom du paramètre : SelectedIndex à System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) à System.Windows.Forms.RadioButton.OnCheckedChanged(EventArgs e) à System.Windows.Forms.RadioButton.set_Checked(Boolean value) à System.Windows.Forms.RadioButton.OnClick(EventArgs e) à System.Windows.Forms.RadioButton.OnMouseUp(MouseEventArgs mevent) à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) à System.Windows.Forms.Control.WndProc(Message& m) à System.Windows.Forms.ButtonBase.WndProc(Message& m) à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

========== FULL REPORT ========== System.Threading.ThreadExceptionEventArgs ========== END REPORT ==========

========== OS INFO ========== (Please don't omit this info, it may be important) Current version: 3.1.0 Curernt culture: French (France) System Caption: Microsoft Windows 10 Professionnel Version: 10.0.19043 Service Pack Major: 0 Service Pack Minor: 0 ========== END INFO ==========

trimechee commented 1 year ago

A caught DownloadException occured.

Message: The media you are trying to access may not be accessible at this time, or it may have been removed. Stacktrace: à youtube_dl_gui.frmExtendedDownloader.b__14_0() Source: youtube-dl-gui Target Site: Void b__14_0() Inner Exception:

========== FULL REPORT ========== youtube_dl_gui.DownloadException: The media you are trying to access may not be accessible at this time, or it may have been removed. à youtube_dl_gui.frmExtendedDownloader.b__14_0() ========== END REPORT ==========

========== OS INFO ========== (Please don't omit this info, it may be important) Current version: 3.1.0 Curernt culture: French (France) System Caption: Microsoft Windows 10 Professionnel Version: 10.0.19043 Service Pack Major: 0 Service Pack Minor: 0 ========== END INFO ==========

murrty commented 1 year ago

I fixed the first two exceptions, but unless I knew what video you were trying to download I can't help you with the third one.

trimechee commented 1 year ago

Great ! the third one was a sentence, it was not a url address, in fact I was trying different options and I had activated "clipboard auto download" .... I notice that the software does not remember the "clipboard auto download" option " when i close the programe and i open it, "clipboard auto download" is disbaled, can you fix it please? and also it will be grat that the software remember the last preset chosen selected, thank you very much !

trimechee commented 1 year ago

@murrty before your last fix, i put the whole folder of FFmprg in the folder of youtube-dl-gui with yt-dlp.exe and i have no problems , when i have problems, i have put only ffmpeg.exe and ffrobe.exe in the folder of youtube-dl-gui

DaniSheng commented 1 year ago

No working when choosed download mp4 option. Ended with webm extension.

murrty commented 1 year ago

I was able to replicate the Nullable exception. I didn't run into the second exception. The third one is questionable, I can't do anything about it unless I had the problematic URL, though it should be obvious that it's probably not available to download.

No working when choosed download mp4 option. Ended with webm extension.

Please open a separate issue with helpful information, link to the video, options selected etc.