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

Closed
hobbldygoop opened this Issue Mar 14, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@hobbldygoop

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/main.py", line 886, in main
    handle_url()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/livestreamer_cli/main.py", 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/main.py", 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/main.py", line 135, in output_stream_http
    filename=server.url,
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/livestreamer_cli/utils/http_server.py", 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/http_server.py", 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/http_server.py", line 36, in addresses
    socket.AF_INET):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

when I start with livestreamer --player-continuous-http http://twitch.tv/channelname
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