#2413: Add torrent from link doesn't work with split client/server
----------------------+--------------------
  Reporter:  Se7enLC  |      Owner:
      Type:  bug      |     Status:  closed
  Priority:  minor    |  Milestone:  1.3.8
 Component:  GTK-UI   |    Version:  1.3.6
Resolution:  Fixed    |   Keywords:
----------------------+--------------------

Comment (by Shished):

 I have this problem in 1.3.11.

 When "focus on window when adding torrent" option is disabled, clicking on
 magnet link does nothing.
 If this option is enabled and window is closed, clicking on magnet link
 opens Deluge window but does not open torrent add dialog.
 It only works correctly if Deluge window was opened before clicking on
 magnet link.

 I'm using Deluge 1.3.11 on openSUSE 13.2 x86_64 with Gnome-Shell 3.14.

 Here is traceback:


 {{{
 Unhandled error in Deferred:
 Unhandled Error
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-
 packages/deluge/ui/gtkui/addtorrentdialog.py", line 157, in show
     return self.update_core_config(True, focus)
   File "/usr/lib/python2.7/site-
 packages/deluge/ui/gtkui/addtorrentdialog.py", line 202, in
 update_core_config
     return
 client.core.get_config_values(self.core_keys).addCallback(_on_config_values)
   File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py",
 line 306, in addCallback
     callbackKeywords=kw)
   File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py",
 line 295, in addCallbacks
     self._runCallbacks()
 --- <exception caught here> ---
   File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py",
 line 577, in _runCallbacks
     current.result = callback(current.result, *args, **kw)
   File "/usr/lib/python2.7/site-
 packages/deluge/ui/gtkui/addtorrentdialog.py", line 199, in
 _on_config_values
     self._show(focus)
   File "/usr/lib/python2.7/site-
 packages/deluge/ui/gtkui/addtorrentdialog.py", line 171, in _show
     if component.get("MainWindow").is_on_active_workspace():
   File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/mainwindow.py",
 line 318, in is_on_active_workspace
     active_wksp = win.get_screen().get_active_workspace()
 exceptions.AttributeError: 'NoneType' object has no attribute 'get_screen'
 }}}

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2413#comment:13>
Deluge <http://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to