#2221: deluge-gtk caught exception at coldstart with a new torrent file in 
daemon
configuration
---------------------------+------------------------------------------------
 Reporter:  bvasiliev      |       Owner:       
     Type:  bug            |      Status:  new  
 Priority:  minor          |   Milestone:  1.3.x
Component:  gtkui          |     Version:  1.3.5
 Keywords:  gtkui, daemon  |  
---------------------------+------------------------------------------------
 Cold starting Deluge in the daemon configuration through the gkt interface
 with the a new torrent file causes an error when adding a file from the
 queue.

 How to reproduce:[[BR]]
 1. Enable the daemon configuration (classic mode disable);[[BR]]
 2. Verify that the deluged is ''not'' running;[[BR]]
 3. Run the deluge-gtk with a new torrent file:[[BR]]

 {{{
 → deluge-gtk ./t.torrent
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-
 packages/deluge/ui/gtkui/addtorrentdialog.py", line 291, in
 _on_torrent_changed
     self.update_torrent_options(model.get_value(row, 0))
   File "/usr/lib/python2.7/dist-
 packages/deluge/ui/gtkui/addtorrentdialog.py", line 361, in
 update_torrent_options
     self.set_default_options()
   File "/usr/lib/python2.7/dist-
 packages/deluge/ui/gtkui/addtorrentdialog.py", line 458, in
 set_default_options
     self.core_config["download_location"])
 KeyError: 'download_location'
 [ERROR   ] 23:21:48 component:118 [Failure instance: Traceback: <type
 'exceptions.KeyError'>: 'download_location'
 /usr/lib/python2.7/dist-
 packages/twisted/internet/defer.py:290:addCallbacks
 /usr/lib/python2.7/dist-
 packages/twisted/internet/defer.py:551:_runCallbacks
 /usr/lib/python2.7/dist-
 packages/deluge/component.py:285:on_depends_started
 /usr/lib/python2.7/dist-packages/deluge/component.py:124:_component_start
 --- <exception caught here> ---
 /usr/lib/python2.7/dist-
 packages/twisted/internet/defer.py:134:maybeDeferred
 /usr/lib/python2.7/dist-
 packages/deluge/ui/gtkui/queuedtorrents.py:90:start
 /usr/lib/python2.7/dist-
 packages/deluge/ui/gtkui/queuedtorrents.py:178:on_button_add_clicked
 /usr/lib/python2.7/dist-
 packages/deluge/ui/gtkui/queuedtorrents.py:176:add_torrent
 /usr/lib/python2.7/dist-
 packages/deluge/ui/gtkui/ipcinterface.py:227:process_args
 /usr/lib/python2.7/dist-
 packages/deluge/ui/gtkui/addtorrentdialog.py:230:add_from_files
 /usr/lib/python2.7/dist-
 packages/deluge/ui/gtkui/addtorrentdialog.py:458:set_default_options
 }}}

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2221>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to