#2763 closed bug (Fixed)

UnboundLocalError: local variable 'info_hash' referenced before assignment

Reported by: Cas Owned by:
Priority: minor Milestone: 1.3.13
Component: GTK UI Version: 1.3.11
Keywords: Cc:

Description

From Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1223058

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/queuedtorrents.py", line 180, in on_button_add_clicked
    self.liststore.foreach(add_torrent, None)
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/queuedtorrents.py", line 178, in add_torrent
    process_args([torrent_path])
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/ipcinterface.py", line 205, in process_args
    component.get("AddTorrentDialog").add_from_magnets([arg])
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/addtorrentdialog.py", line 258, in add_from_magnets
    if info_hash in self.infos:
UnboundLocalError: local variable 'info_hash' referenced before assignment

Change History (1)

comment:1 Changed 18 months ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

Fixed 1.3-stable: [58059300bde65f0]

Note: See TracTickets for help on using tickets.