Your message dated Sun, 4 Nov 2018 12:29:51 +0100
with message-id <[email protected]>
and subject line External issue - not shutil_get_terminal_size's fault
has caused the Debian Bug report #865359,
regarding python-backports-shutil-get-terminal-size: ipython invocation of 
module shutil_get_terminal_size broken
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
865359: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865359
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-backports-shutil-get-terminal-size
Version: 1.0.0-3
Severity: important

Dear Maintainer,

After the stretch update, ipython breaks when trying the following:

    from backports.shutil_get_terminal_size import get_terminal_size

I removed ipython and related packages from my system, made sure I
didn't have a conflicting pip installation, reinstalled ipython and the
error below still occurs.

rt450:/home/rory# dpkg  -P ipython python-backports-shutil-get-terminal-size 
python-ipython python-ipdb python-ipython
Package python-ipython listed more than once, only processing once.
dpkg: warning: ignoring request to remove ipython which isn't installed
dpkg: warning: ignoring request to remove 
python-backports-shutil-get-terminal-size which isn't installed
dpkg: warning: ignoring request to remove python-ipython which isn't installed
dpkg: warning: ignoring request to remove python-ipdb which isn't installed

rt450:/home/rory# pip uninstall backports.shutil_get_terminal_size
Cannot uninstall requirement backports.shutil-get-terminal-size, not installed

rt450:/home/rory# pip uninstall shutil_get_terminal_size
Cannot uninstall requirement shutil-get-terminal-size, not installed

rt450:/home/rory# apt-get install ipython python-ipdb

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/IPython/__init__.py", line 48, in 
<module>
    from .core.application import Application
  File "/usr/lib/python2.7/dist-packages/IPython/core/application.py", line 25, 
in <module>
    from IPython.core import release, crashhandler
  File "/usr/lib/python2.7/dist-packages/IPython/core/crashhandler.py", line 
28, in <module>
    from IPython.core import ultratb
  File "/usr/lib/python2.7/dist-packages/IPython/core/ultratb.py", line 128, in 
<module>
    from IPython.utils.terminal import get_terminal_size
  File "/usr/lib/python2.7/dist-packages/IPython/utils/terminal.py", line 22, 
in <module>
    from backports.shutil_get_terminal_size import get_terminal_size as 
_get_terminal_size
ImportError: No module named shutil_get_terminal_size

The package version of python-backports-shutil-get-terminal-size 1.0.0-3 on
this system is 1.0.0-3.

The problem is resolved on my machine by installing
backports-shutil-get-terminal-size from pip.

        rt450: /home/rory# pip list | grep backp
        backports.shutil-get-terminal-size (1.0.0)

It appears that the Debian package of backports.shutil-get-terminal-size is
broken.

Regards
Rory

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (700, 'stable'), (500, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) (ignored: LC_ALL set to 
en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi,

so you had pip-installed things in the way, and the shutil_get_terminal_size package is innocent.

Thanks for your feedback!

jpuydt on irc.debian.org

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to