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

twitch stream crashes at startup #790

hobbldygoop opened this Issue Mar 14, 2015 · 0 comments


None yet
1 participant

hobbldygoop commented Mar 14, 2015

Since today livestreamer can't start twitch streams anymore for me.

It crashes with:

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/livestreamer", line 9, in <module>
    load_entry_point('livestreamer==1.12.0', 'console_scripts', 'livestreamer')()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/livestreamer_cli/", line 886, in main
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/livestreamer_cli/", line 491, in handle_url
    handle_stream(plugin, streams, stream_name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/livestreamer_cli/", line 374, in handle_stream
    return output_stream_http(plugin, streams)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/livestreamer_cli/", line 135, in output_stream_http
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/livestreamer_cli/utils/", line 49, in url
    return next(self.urls, None)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/livestreamer_cli/utils/", line 44, in urls
    for addr in self.addresses:
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/livestreamer_cli/utils/", line 36, in addresses
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

when I start with livestreamer --player-continuous-http
OS is Mac OSX 10.9
I just wrapped a try-catch over getaddrinfo() to temporarliy make it work for me. I guess it's caused by something with my network config maybe, not sure. But I don't think it's necessary to completely fail here when you can just listen on localhost.

@chrippa chrippa closed this in 166215f Mar 22, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment