Bug#809547: livestreamer: Python error

2016-01-01 Thread Stefan Breunig
Yes, Elia is right. Installing python-requests from unstable will fix
the issue. As far as I can tell, it looks like python-urllib3 was
already updated, but python-requests was not and is still expecting the
old version of urllib. It has been fixed in python-requests (see [1]).

Anyway, this fixes running and building livestreamer:
sudo apt install -t unstable python3-requests python-requests

I am not sure I can do much to alleviate the issue. I can certainly
update the packaging to require a higher python-requests version, but
that will make the package just un-installable in testing.

Thomas, can you confirm this problem is fixed for you after either
install python-requests and python3-requests with 2.9.1-1 or greater?

Thanks,
Stefan


[1]
http://metadata.ftp-master.debian.org/changelogs/main/r/requests/requests_2.9.1-1_changelog



Bug#809547: livestreamer: Python error

2016-01-01 Thread Elia Argentieri
I fixed this issue that I had from another package by installing
python-requests from unstable.

Just run sudo apt install -t unstable python-requests. I guess this
issue will be fixed when that package comes to testing.




On Thu, 31 Dec 2015 23:08:33 -0500 Thomas Ross  wrote:
> Package: livestreamer
> Version: 1.12.2-1
> Severity: important
> 
> When attempting to run livestreamer, it errors:
> 
> thomas@thomas-debian:~$ livestreamer
> Traceback (most recent call last):
>   File "/usr/bin/livestreamer", line 5, in 
> from pkg_resources import load_entry_point
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3138,
> in 
> @_call_aside
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3124,
> in _call_aside
> f(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3151,
> in _initialize_master_working_set
> working_set = WorkingSet._build_master()
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 663,
> in _build_master
> return cls._build_from_requirements(__requires__)
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 676,
> in _build_from_requirements
> dists = ws.resolve(reqs, Environment())
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 849,
> in resolve
> raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'urllib3==1.12' distribution
was not
> found and is required by requests
> 
> It also errors when trying to view a stream:
> 
> thomas@thomas-debian:~$ livestreamer www.twitch.tv/esl_csgo worst
> Traceback (most recent call last):
>   File "/usr/bin/livestreamer", line 5, in 
> from pkg_resources import load_entry_point
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3138,
> in 
> @_call_aside
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3124,
> in _call_aside
> f(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3151,
> in _initialize_master_working_set
> working_set = WorkingSet._build_master()
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 663,
> in _build_master
> return cls._build_from_requirements(__requires__)
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 676,
> in _build_from_requirements
> dists = ws.resolve(reqs, Environment())
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 849,
> in resolve
> raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'urllib3==1.12' distribution
was not
> found and is required by requests
> 
> 
> 



Bug#809547: livestreamer: Python error

2015-12-31 Thread Thomas Ross
Package: livestreamer
Version: 1.12.2-1
Severity: important

When attempting to run livestreamer, it errors:

thomas@thomas-debian:~$ livestreamer
Traceback (most recent call last):
  File "/usr/bin/livestreamer", line 5, in 
from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3138,
in 
@_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3124,
in _call_aside
f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3151,
in _initialize_master_working_set
working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 663,
in _build_master
return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 676,
in _build_from_requirements
dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 849,
in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'urllib3==1.12' distribution was not
found and is required by requests

It also errors when trying to view a stream:

thomas@thomas-debian:~$ livestreamer www.twitch.tv/esl_csgo worst
Traceback (most recent call last):
  File "/usr/bin/livestreamer", line 5, in 
from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3138,
in 
@_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3124,
in _call_aside
f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3151,
in _initialize_master_working_set
working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 663,
in _build_master
return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 676,
in _build_from_requirements
dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 849,
in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'urllib3==1.12' distribution was not
found and is required by requests



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages livestreamer depends on:
ii  python-livestreamer  1.12.2-1
pn  python:any   

livestreamer recommends no packages.

Versions of packages livestreamer suggests:
pn  python-livestreamer-doc  

-- no debconf information