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

Sandro Tosi morph at debian.org
Sat Oct 31 21:29:37 UTC 2009


Hi Julian,

2009/5/6 Julian Andres Klode <jak at debian.org>:
> 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.

Are you still able to reproduce this bug?

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Reportbug-maint mailing list