[Reportbug-maint] Bug#484534: reportbug: Possible solution

Neil Mayhew neil_mayhew at users.sourceforge.net
Wed Jun 11 21:30:39 UTC 2008


Package: reportbug
Followup-For: Bug #484534


The problem seems to be due to the use of python -S in the shebang line.
The -S option disables 'import site' on initialization. If I edit
/usr/bin/reportbug and remove the -S, the problem goes away.

The conventional shebang line for python scripts is #!/usr/bin/env
python. However, I can see that reportbug might want to eliminate the
possibility of a non-standard python (eg from /usr/local) so just taking
the -S off is probably the right thing to do.

-- Package-specific info:
** Environment settings:
EDITOR="vi"
VISUAL="vi"
INTERFACE="urwid"

** /home/mayhewn/.reportbugrc:
reportbug_version "3.39"
mode standard
ui urwid
email "neil_mayhew at users.sourceforge.net"

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

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

Versions of packages reportbug depends on:
ii  apt                           0.7.11     Advanced front-end for dpkg
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-central                0.6.7      register and build utility for Pyt

reportbug recommends no packages.

-- no debconf information





More information about the Reportbug-maint mailing list