Package: python2.5
Version: 2.5.2-4
Severity: normal

To reproduce, run this code snippet using ssh without allocating a terminal:

import curses
try:
        curses.initscr()
        cols = curses.COLS
        curses.endwin()
except:
        print "Not using ncurses"
print "blah"


It should output "Not using ncurses" and "blah", but you get:
$ ssh sipang python2.5 test.py
Error opening terminal: unknown.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python2.5 depends on:
ii  libbz2-1.0                1.0.5-0.1      high-quality block-sorting file co
ii  libc6                     2.7-10         GNU C Library: Shared libraries
ii  libdb4.5                  4.5.20-11      Berkeley v4.5 Database Libraries [
ii  libncursesw5              5.6+20080419-2 Shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries
ii  libsqlite3-0              3.5.8-1        SQLite 3 shared library
ii  libssl0.9.8               0.9.8g-8       SSL shared libraries
ii  mime-support              3.40-1.1       MIME files 'mime.types' & 'mailcap
ii  python2.5-minimal         2.5.2-4        A minimal subset of the Python lan

python2.5 recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to