[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#633081: marked as done (python-apt: apt.progress.text does not work if output is not a terminal)



Your message dated Tue, 19 Jun 2012 10:27:25 +0200
with message-id <20120619102351.GA8822@debian.org>
and subject line Re: Bug#633081: python-apt: apt.progress.text does not work if output is not a terminal
has caused the Debian Bug report #633081,
regarding python-apt: apt.progress.text does not work if output is not a terminal
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 owner@bugs.debian.org
immediately.)


-- 
633081: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633081
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-apt
Version: 0.7.100.1
Severity: normal

apt.progress.text makes a termio ioctl against its output even if it's
not a terminal.

buf = fcntl.ioctl(self._file, termios.TIOCGWINSZ, 8 * ' ')

Hamish


-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39.1-linode34 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-apt depends on:
ii  apt [libapt-pkg4.10]    0.8.10.3         Advanced front-end for dpkg
ii  apt-utils [libapt-inst1 0.8.10.3         APT utility programs
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.5-8        GCC support library
ii  libstdc++6              4.4.5-8          The GNU Standard C++ Library v3
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-apt-common       0.7.100.1        Python interface to libapt-pkg (lo
ii  python2.5               2.5.5-11         An interactive high-level object-o
ii  python2.6               2.6.6-8+b1       An interactive high-level object-o

Versions of packages python-apt recommends:
ii  iso-codes               3.23-1           ISO language, territory, currency,
ii  lsb-release             3.2-23.2squeeze1 Linux Standard Base version report
ii  python2.6               2.6.6-8+b1       An interactive high-level object-o

Versions of packages python-apt suggests:
pn  python-apt-dbg                <none>     (no description available)
pn  python-apt-doc                <none>     (no description available)
pn  python-gtk2                   <none>     (no description available)
pn  python-vte                    <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 0.7.100.2

On Fri, Jul 08, 2011 at 03:18:31AM -0400, Hamish Moffatt wrote:
> Package: python-apt
> Version: 0.7.100.1
> Severity: normal
> 
> apt.progress.text makes a termio ioctl against its output even if it's
> not a terminal.
> 
> buf = fcntl.ioctl(self._file, termios.TIOCGWINSZ, 8 * ' ')

This seems fixed in 0.7.100.2 since March 2011.

python-apt (0.7.100.2) unstable; urgency=low

  * apt/progress/text.py:
    - only run ioctl for termios.TIOCGWINSZ if the fd is a tty

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgphJJqjZD9xT.pgp
Description: PGP signature


--- End Message ---

Reply to: