[Reportbug-maint] Bug#491328: reportbug: urwid mode: AttributeError: 'module' object has no attribute 'get_password'

Jan Muszynski debianbugs at jancm.org
Fri Jul 18 16:33:04 UTC 2008

Package: reportbug
Version: 3.43
Severity: normal

-- Package-specific info:
** Environment settings:

** /home/bugsbunny/.reportbugrc:
reportbug_version "3.43"
mode advanced
ui text
email "debianbugs at jancm.org"
smtphost "smtp.jancm.org"
smtpuser "XXXXX"

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (110, 'unstable'), (100, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                           0.7.14+b1  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.

Versions of packages reportbug suggests:
pn  debconf-utils                 <none>     (no description available)
pn  debsums                       <none>     (no description available)
ii  dlocate                       0.96.1     fast alternative to dpkg -L and dp
ii  exim4                         4.69-5     meta-package to ease Exim MTA (v4)
ii  exim4-daemon-light [mail-tran 4.69-5+b1  lightweight Exim MTA (v4) daemon
ii  file                          4.24-4     Determines file type using "magic"
ii  gnupg                         1.4.9-2    GNU privacy guard - a free PGP rep
ii  python-urwid          curses-based UI/widget library for

-- no debconf information

My smtp server requires user/password authentication. When configuring 
reportbug it asked for username, but not a password. (That's fine, I 
assume it will ask for the password at send time). Running in urwid mode 
reportbug gave the following:

.. . .
Connecting to smtp.jancm.org via SMTP...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 1823, in <module>
  File "/usr/bin/reportbug", line 848, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1815, in user_interface
    smtphost, self.options.smtpuser, self.options.smtppasswd, 
  File "/usr/share/reportbug/reportbuglib/reportbug_submit.py", line 
378, in send_report
    smtppasswd = ui.get_password(
AttributeError: 'module' object has no attribute 'get_password'


More information about the Reportbug-maint mailing list