Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in reading response file: #49

Closed
Nellio opened this issue Dec 17, 2021 · 8 comments
Closed

Error in reading response file: #49

Nellio opened this issue Dec 17, 2021 · 8 comments
Assignees
Labels
Bug Something isn't working

Comments

@Nellio
Copy link

Nellio commented Dec 17, 2021

macOS 12.1 Monterey
M1 processor
MacYTDL, version 1.19.1, set to install and use YTDLP

Capture d’écran 2021-12-17 à 09 57 23

A few seconds after clicking the “Continue” button, the following error message pops up, warning of an “eof” error:

Capture d’écran 2021-12-17 à 09 58 12

Clicking “OK” lets the download continue silently (no progress window is displayed) and complete successfully.

Not clicking “OK” leads after a few seconds to a download error notification, and a “.part” download file in the MacYTDL download folder.

@section83 section83 self-assigned this Dec 17, 2021
@section83 section83 added the Bug Something isn't working label Dec 17, 2021
@section83 section83 added this to the Research underway milestone Dec 17, 2021
@section83
Copy link
Owner

Many thanks for making the report. Sorry, MacYTDL is not working properly. Yours is the first report I've received of someone using an M1 Mac with macOS Monterey.

Did you get this warning ?

Warning

Did it download 9 videos ?

Did you see this ?

Did you see this ?

This might be a kind of YouTube video URL that I've not seen before. I need to do some research.

Thanks again.

@Nellio
Copy link
Author

Nellio commented Dec 18, 2021

  1. No such warning.
  2. No. As I didn’t click OK, the download aborted silently and left a .part file of the individual video, with the correct individual video file name, in the download folder. [Pourquoi la moto diesel n'a JAMAIS marché .f401.mp4.part]
  3. No.
    You’re welcome. :)

@Nellio
Copy link
Author

Nellio commented Dec 18, 2021

I just saw you made a typo in the URL you tested: 'wqtch' instead of ‘watch’. The correct URL is: https://www.youtube.com/watch?v=sZC-fh8UJZA

@section83
Copy link
Owner

That's embarrassing ! Anyway, it has alerted me to the issue of YT channels.

With the correct URL I get a normal progress monitor and a complete download:

Progress

Is this the page from which you are downloading ?

Page

I get a normal "response" file and a normal advice that download has completed.
Finished

Can you send me the "response file (if there is one) ? If it contains any personal information (e.g. name of your home folder), send it by email to macytdl@gmail.com.

It is located in:

/Users/[Your home folder]/Library/Preferences/MacYTDL/

Its name will be like this:

youtube-dl_response-Pourquoi_la_moto_diesel_n'a_JAMAIS_marché_.-Saturday_18_December_2021_at_8_33_05_pm.txt

Also, can you send a copy of the simulate file: "youtube-dl_simulate.txt" and "MacYTDL.plist" that are in the same folder.

Thanks.

@section83
Copy link
Owner

And yet another question: Are you using youtube-dl ? If so, switch to YT-DLP and try again.

youtube-dl does work on my Mac but, the download is very slow.

@Nellio
Copy link
Author

Nellio commented Dec 19, 2021

  1. Yes.

  2. "MacYTDL, version 1.19.1, set to install and use YTDLP"

What’s strange is that when I click OK in the error dialog window, the download procedes silently and completes successfully.

@section83
Copy link
Owner

OK, I think I found the problem. My code in the "Monitor" was relying on the text of an error message to control formation of the dialog. I assumed the message would be in English. That was incorrect. So, I've used a different method.

I can't test this so, I hope you can give it a try:

https://github.com/section83/MacYTDL/releases/download/1.19.3/MacYTDL-v1.19.3.dmg

@Nellio
Copy link
Author

Nellio commented Dec 22, 2021

Works like a charm. Thanks!

@Nellio Nellio closed this as completed Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants