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

py 3.4.1 error #2973

Closed
przemyslawpluta opened this issue May 23, 2014 · 3 comments
Closed

py 3.4.1 error #2973

przemyslawpluta opened this issue May 23, 2014 · 3 comments

Comments

@przemyslawpluta
Copy link

@przemyslawpluta przemyslawpluta commented May 23, 2014

Running latest version of youtube-dl - 2014.05.19 with py 3.4.1 on win7 64bit

 python youtube-dl http://youtu.be/AVqsLU3LQyE

produces this error:

[youtube] Setting language
Traceback (most recent call last):
  File "C:\Python34\lib\runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Python34\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File ".\youtube-dl\__main__.py", line 18, in <module>
  File ".\youtube-dl\youtube_dl\__init__.py", line 849, in main
  File ".\youtube-dl\youtube_dl\__init__.py", line 839, in _real_main
  File ".\youtube-dl\youtube_dl\YoutubeDL.py", line 1039, in download
  File ".\youtube-dl\youtube_dl\YoutubeDL.py", line 516, in extract_info
  File ".\youtube-dl\youtube_dl\extractor\common.py", line 162, in extract
  File ".\youtube-dl\youtube_dl\extractor\common.py", line 157, in initialize
  File ".\youtube-dl\youtube_dl\extractor\youtube.py", line 125, in _real_initialize
  File ".\youtube-dl\youtube_dl\extractor\youtube.py", line 52, in _set_language
  File ".\youtube-dl\youtube_dl\extractor\common.py", line 276, in _download_webpage
  File ".\youtube-dl\youtube_dl\extractor\common.py", line 216, in _download_webpage_handle
  File ".\youtube-dl\youtube_dl\extractor\common.py", line 196, in _request_webpage
  File ".\youtube-dl\youtube_dl\YoutubeDL.py", line 1214, in urlopen
  File "C:\Python34\lib\urllib\request.py", line 455, in open
    response = self._open(req, data)
  File "C:\Python34\lib\urllib\request.py", line 473, in _open
    '_open', req)
  File "C:\Python34\lib\urllib\request.py", line 433, in _call_chain
    result = func(*args)
  File "C:\Python34\lib\urllib\request.py", line 1230, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "C:\Python34\lib\urllib\request.py", line 1189, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "C:\Python34\lib\http\client.py", line 1090, in request
    self._send_request(method, url, body, headers)
  File "C:\Python34\lib\http\client.py", line 1128, in _send_request
    self.endheaders(body)
  File "C:\Python34\lib\http\client.py", line 1086, in endheaders
    self._send_output(message_body)
  File "C:\Python34\lib\http\client.py", line 924, in _send_output
    self.send(msg)
  File "C:\Python34\lib\http\client.py", line 859, in send
    self.connect()
  File "C:\Python34\lib\http\client.py", line 1221, in connect
    super().connect()
  File "C:\Python34\lib\http\client.py", line 836, in connect
    self.timeout, self.source_address)
  File "C:\Python34\lib\socket.py", line 491, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "C:\Python34\lib\socket.py", line 530, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
LookupError: unknown encoding: idna
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 23, 2014

Please post the full output of python youtube-dl http://youtu.be/AVqsLU3LQyE --verbose.

@przemyslawpluta
Copy link
Author

@przemyslawpluta przemyslawpluta commented May 24, 2014

Curious one ... Downgraded back to py 3.4.0 to check if the error pops as well but worked fine so reinstalled py 3.4.1 and now I can't replicate the issue. Seems to be working fine.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 24, 2014

Ok, I'm closing it for now. But if you find the problem again, please post the verbose output and we will reopen the issue.

@jaimeMF jaimeMF closed this May 24, 2014
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
2 participants
You can’t perform that action at this time.