Opened 12 years ago
Closed 12 years ago
#2175 closed bug (Fixed)
systemtray free variable 'self' referenced before assignment in enclosing scope
Reported by: | Calum | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.3.6 |
Component: | GTK UI | Version: | 1.3.5 |
Keywords: | Cc: |
Description
Forwarded from Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=858863
:systemtray.py:488:on_response:NameError: free variable 'self' referenced before assignment in enclosing scope : :Traceback (most recent call last): : File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/systemtray.py", line 488, in on_response : if self.config["tray_password"] == sha_hash(entered_pass.get_text()).hexdigest(): :NameError: free variable 'self' referenced before assignment in enclosing scope : :Local variables in innermost frame: :response_id: -5 :dialog: <gtk.Dialog object at 0x29cb8c0 (GtkDialog at 0x1f80a70)>
Change History (6)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Milestone: | 1.3.6 → 1.3.x |
---|
comment:4 by , 12 years ago
This might fix it but since I cannot replicate, it's impossible to know for sure.
comment:5 by , 12 years ago
Milestone: | 1.3.x → 1.3.6 |
---|
Note:
See TracTickets
for help on using tickets.
I can't see how this is possible,
self
is the first argument to theunlock_tray
method where this function is defined.