Opened 12 years ago
Closed 11 years ago
#2175 closed bug (Fixed)
systemtray free variable 'self' referenced before assignment in enclosing scope
Reported by: | Cas | 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 Changed 11 years ago by gazpachoking
comment:2 Changed 11 years ago by gazpachoking
comment:3 Changed 11 years ago by Cas
- Milestone changed from 1.3.6 to 1.3.x
comment:4 Changed 11 years ago by Cas
This might fix it but since I cannot replicate, it's impossible to know for sure.
comment:5 Changed 11 years ago by Cas
- Milestone changed from 1.3.x to 1.3.6
comment:6 Changed 11 years ago by Cas
- Resolution set to fixed
- Status changed from new to closed
Fixed 1.3-stable: 5ecc5804
Note: See
TracTickets for help on using
tickets.
I can't see how this is possible, self is the first argument to the unlock_tray method where this function is defined.