Opened 13 years ago

Closed 13 years ago

#843 closed bug (Fixed)

Traceback while trying to add torrents

Reported by: ari-_-e Owned by: andar
Priority: major Milestone:
Component: GTK UI Version: 1.2.0_dev
Keywords: Cc:

Description

While adding some torrents, I get:

Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/deluge/ui/gtkui/addtorrentdialog.py", line 252, in _on_torrent_changed
    self.update_torrent_options(model.get_value(row, 0))
  File "/usr/lib64/python2.5/site-packages/deluge/ui/gtkui/addtorrentdialog.py", line 322, in update_torrent_options
    self.set_default_options()
  File "/usr/lib64/python2.5/site-packages/deluge/ui/gtkui/addtorrentdialog.py", line 418, in set_default_options
    self.core_config["download_location"])
KeyError: 'download_location'
Traceback (most recent call last):
  File "//usr/lib64/python2.5/site-packages/twisted/python/log.py", line 51, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "//usr/lib64/python2.5/site-packages/twisted/python/log.py", line 36, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "//usr/lib64/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "//usr/lib64/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "//usr/lib64/python2.5/site-packages/twisted/internet/gtk2reactor.py", line 200, in _doReadOrWrite
    why = source.doRead()
  File "//usr/lib64/python2.5/site-packages/twisted/internet/tcp.py", line 362, in doRead
    return self.protocol.dataReceived(data)
  File "/usr/lib64/python2.5/site-packages/deluge/ui/gtkui/ipcinterface.py", line 44, in dataReceived
    process_args(data)
  File "/usr/lib64/python2.5/site-packages/deluge/ui/gtkui/ipcinterface.py", line 150, in process_args
    component.get("AddTorrentDialog").add_from_files([os.path.abspath(arg)])
  File "/usr/lib64/python2.5/site-packages/deluge/ui/gtkui/addtorrentdialog.py", line 195, in add_from_files
    self.set_default_options()
  File "/usr/lib64/python2.5/site-packages/deluge/ui/gtkui/addtorrentdialog.py", line 418, in set_default_options
    self.core_config["download_location"])
exceptions.KeyError: 'download_location'

This seems to only happen if I try to add multiple torrents at the same time.

Change History (1)

comment:1 Changed 13 years ago by andar

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

Fixed [4861]

Note: See TracTickets for help on using tickets.