[Reportbug-maint] Bug#624822: reportbug: Crashes when fetching bugs for a package without bugs.

Didier Raboud odyx at debian.org
Sun May 1 21:18:24 UTC 2011


Package: reportbug
Version: 5.1
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, 

when trying to report a bug against libsparsehash-dev (which has no bug at the
moment), I get a crash when reportbug fetches the bugslist:

=== LOG ===
$ reportbug libsparsehash-dev
*** Welcome to reportbug.  Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of the
submitter).
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'Didier Raboud <odyx at debian.org>' as your from address.
Getting status for libsparsehash-dev...
Which of the following packages is the bug in?
Just press ENTER to exit reportbug.

1 libsparsehash-dev  Google's extremely memory-efficient C++ hash_map
implementation

2 sparsehash         memory-efficient C++ hash_map implementation (transition
package)

Select one of these packages: 1
Please enter the version of the package this report applies to (blank OK)
> 
Will send report to Debian (per lsb_release).
Querying Debian BTS for reports on libsparsehash-dev (source)...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2151, in <module>
    main()
  File "/usr/bin/reportbug", line 1072, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1669, in user_interface
    self.options.mbox_reader_cmd)
  File "/usr/lib/pymodules/python2.6/reportbug/ui/text_ui.py", line 534, in
handle_bts_query
    ui.run_wrapper(nullfunc)
NameError: global name 'ui' is not defined
$ 
=== LOG ===
It works with reportbug 5.0.

Cheers,

OdyX
- -- Package-specific info:
** Environment settings:
DEBEMAIL="odyx at debian.org"
INTERFACE="text"

** /home/didier/.reportbugrc:
reportbug_version "5.0"
mode advanced
ui text
sign gpg
keyid 2BEF0A33

- -- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages reportbug depends on:
ii  apt                           0.8.14.1   Advanced front-end for dpkg
ii  python                        2.6.6-14   interactive high-level object-orie
ii  python-reportbug              5.1        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils                <none>      (no description available)
pn  debsums                      <none>      (no description available)
pn  dlocate                      <none>      (no description available)
pn  emacs22-bin-common | emacs23 <none>      (no description available)
ii  exim4                        4.75-2      metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tra 4.75-2      lightweight Exim MTA (v4) daemon
ii  file                         5.04-5+b1   Determines file type using "magic"
ii  gnupg                        1.4.11-3    GNU privacy guard - a free PGP rep
ii  python-gtk2                  2.24.0-1    Python bindings for the GTK+ widge
pn  python-gtkspell              <none>      (no description available)
pn  python-urwid                 <none>      (no description available)
pn  python-vte                   <none>      (no description available)
ii  xdg-utils                    1.1.0~rc1-2 desktop integration utilities from

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iJwEAQECAAYFAk29zh8ACgkQKA1Vt+jBwDhBFgQAoLutvnX4Naxa+a21/+2SKgdi
ynEti8TEAvqimE0Hp9CnBm8BvBaSkwfdmfF0+kJNZXXDfqAerKOTZI2QuIlBWea/
6RBcxRewTETbtEztgJ8OXhBf/JAbIm0WkuZT7jaxKkA0PmA3D2xm2D6PqWb2lo2b
QfVgkXGrsbhehBzYHbM=
=hIt3
-----END PGP SIGNATURE-----





More information about the Reportbug-maint mailing list