Package: thefuck
Version: 3.11-1
Severity: grave

I'm using thefuck inside my .zshrc like this:

  if [[ -x /usr/bin/thefuck ]]; then
      eval "$(/usr/bin/thefuck --alias)"
  fi

For a few days now, every shell I open as well as calling "thefuck"
manually throws the following Python traceback:

Traceback (most recent call last):
  File "/usr/bin/thefuck", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2976, 
in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2962, 
in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2989, 
in _initialize_master_wor
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 660, 
in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 968, 
in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 854, 
in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pathlib2' distribution was not found 
and is required by thefuck

It seems that the new upstream version wants python-pathlib2 instead of
python-pathlib despite the Debian package says otherwise:

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), 
(111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), 
(105, 'experimental-debug')
Architecture: amd64 (x86_64)

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

Versions of packages thefuck depends on:
ii  python-colorama   0.3.7-1
ii  python-decorator  4.0.6-1
ii  python-pathlib    1.0.1-2
ii  python-psutil     4.2.0-1
ii  python-six        1.10.0-3
ii  python2.7         2.7.12-2
pn  python:any        <none>

thefuck recommends no packages.

thefuck suggests no packages.

-- no debconf information

Reply via email to