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

Update failed: can't find the current version. Please try again later #26168

Closed
serge-sb opened this issue Jul 29, 2020 · 3 comments
Closed

Update failed: can't find the current version. Please try again later #26168

serge-sb opened this issue Jul 29, 2020 · 3 comments
Labels

Comments

@serge-sb
Copy link

@serge-sb serge-sb commented Jul 29, 2020

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.07.28
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

Command: youtube-dl.exe -U -v

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-U', '-v']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg git-2020-02-06-343ccfc
[debug] Proxy map: {}
Traceback (most recent call last):
  File "C:\Python\Python34\lib\urllib\request.py", line 1183, in do_open
  File "C:\Python\Python34\lib\http\client.py", line 1137, in request
  File "C:\Python\Python34\lib\http\client.py", line 1182, in _send_request
  File "C:\Python\Python34\lib\http\client.py", line 1133, in endheaders
  File "C:\Python\Python34\lib\http\client.py", line 963, in _send_output
  File "C:\Python\Python34\lib\http\client.py", line 898, in send
  File "C:\Python\Python34\lib\http\client.py", line 1287, in connect
  File "C:\Python\Python34\lib\ssl.py", line 362, in wrap_socket
  File "C:\Python\Python34\lib\ssl.py", line 580, in __init__
  File "C:\Python\Python34\lib\ssl.py", line 807, in do_handshake
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpq2whuxta\build\youtube_dl\update.py", line 46, in update_self
  File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpq2whuxta\build\youtube_dl\utils.py", line 2736, in https_open
  File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>

ERROR: can't find the current version. Please try again later.

Description

Windows 7 64bit
The problem is that youtube-dl.exe now fails to update.
I suspect, that the embedded Python version needs to be updated. (I have seen similair issues here, but they were referring to other OSes, not Windows which is different in this case. For Windows Python is embedded into exe file and cannot be updated by end user)

@serge-sb
Copy link
Author

@serge-sb serge-sb commented Jul 29, 2020

@remitamine Could you please review the updated issue? Sorry, I have truncated a bit verbose log output at first, but now it is complete. Please let me know about the ticket that is duplicate to this, as I could now find any. Also note, that other issues about update failures relate to non-Windows OSes, this is really important, as Windows version contains embedded Python.

@remitamine remitamine removed the incomplete label Jul 29, 2020
@zrneely
Copy link

@zrneely zrneely commented Jul 30, 2020

For anyone else who comes here and finds this issue, it appears this is being tracked in #25541.

@serge-sb
Copy link
Author

@serge-sb serge-sb commented Jul 30, 2020

@zrneely That issue is locked. I did a lot of searching about this issue here and finally I found #25622 where @dstftw says, that the problem with updating to a newer version of python is that py2exe supports 3.4 at most. I have found this branch of one of the py2exe forks, that seems to be able to support 3.8: https://github.com/albertosottile/py2exe/tree/py38
Hope to receive any feedback about this info. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.