Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637142 - net-misc/streamlink-0.8.1: pkg_resources.DistributionNotFound: The 'websocket-client' distribution was not found and is required by streamlink
Summary: net-misc/streamlink-0.8.1: pkg_resources.DistributionNotFound: The 'websocket...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: tsmksubc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-11 16:52 UTC by Anders Larsson
Modified: 2017-12-23 16:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Larsson 2017-11-11 16:52:08 UTC
Steps to reproduce:
* Update streamlink to 0.8.1 from 0.7.0
* Attempt to run streamlink

Result:
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/streamlink", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3142, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3126, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3155, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 664, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 981, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 867, in resolve
    raise DistributionNotFound(req, requirers)

Workarounds:
* Downgrade to streamlink 0.7.0, or
* emerge -1 dev-python/websocket-client

Permanent fix:
* Add dev-python/websocket-client as a dependency to streamlink
Comment 1 Anders Larsson 2017-11-11 17:00:11 UTC
Missed last line of traceback:

pkg_resources.DistributionNotFound: The 'websocket-client' distribution was not found and is required by streamlink
Comment 2 tsmksubc 2017-11-11 19:49:58 UTC
https://github.com/gentoo/gentoo/pull/6174
Comment 3 Kajzer 2017-11-29 12:57:59 UTC
Take your time.
Comment 4 Larry the Git Cow gentoo-dev 2017-12-23 16:52:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b33a4a08bd94802dc57890f05dd03fcbc61458

commit 95b33a4a08bd94802dc57890f05dd03fcbc61458
Author:     soredake <fdsfgs@krutt.org>
AuthorDate: 2017-12-23 16:12:58 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2017-12-23 16:52:15 +0000

    net-misc/streamlink: improve live version
    
    Closes: https://bugs.gentoo.org/637142
    Closes: https://github.com/gentoo/gentoo/pull/6174

 net-misc/streamlink/streamlink-9999.ebuild | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)