[Reportbug-maint] Bug#527259: NameError: free variable 'dialog' referenced before assignment in enclosing scope

Julian Andres Klode jak at debian.org
Wed May 6 12:49:05 UTC 2009


Package: reportbug
Version: 4.2
Severity: important

Running the GTK+ UI failed with a NameError exception:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/reportbug/ui/gtk2_ui.py", line 91, in <lambda>
    dialog.connect ('response', lambda *args: dialog.destroy ())
NameError: free variable 'dialog' referenced before assignment in enclosing scope

This problem only happens when reportbug can not connect to the BTS, e.g. if an
invalid proxy is specified. It seems to call error_dialog() which crashes.


-- Package-specific info:
** Environment settings:
EDITOR="editor"
DEBEMAIL="jak at debian.org"
EMAIL="jak at debian.org"

** /home/jak/.reportbugrc:
reportbug_version "3.99.0"
mode expert
no-cc
header "X-Debbugs-CC: jak at debian.org"
mutt

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (350, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages reportbug depends on:
ii  apt                           0.7.21     Advanced front-end for dpkg
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-reportbug              4.2        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)
ii  esmtp-run [mail-transport-age 0.6.0-1    User configurable relay-only MTA
ii  file                          5.02-1     Determines file type using "magic"
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep
pn  python-gnome2-extras          <none>     (no description available)
ii  python-gtk2                   2.14.1-2   Python bindings for the GTK+ widge
pn  python-urwid                  <none>     (no description available)
ii  python-vte                    1:0.20.1-1 Python bindings for the VTE widget

-- no debconf information

-- 
Julian Andres Klode  - Free Software Developer
   Debian Developer  - Contributing Member of SPI
   Ubuntu Member     - Fellow of FSFE

Website: http://jak-linux.org/   XMPP: juliank at jabber.org
Debian:  http://www.debian.org/  SPI:  http://www.spi-inc.org/
Ubuntu:  http://www.ubuntu.com/  FSFE: http://www.fsfe.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20090506/04d8cfbf/attachment.pgp>


More information about the Reportbug-maint mailing list