#3267: GTK Notification plugin error
---------------------+-------------------
  Reporter:  Cas     |      Owner:
      Type:  bug     |     Status:  new
  Priority:  minor   |  Milestone:  2.0.4
 Component:  Plugin  |    Version:  2.0.0
Resolution:          |   Keywords:
---------------------+-------------------

Comment (by Alexey104):

 Hello!
 I'm having something similar.[[br]]
 OS: Arch Linux.[[br]]
 DE: i3wm(4.16.1).[[br]]
 Deluge Version: 2.0.3

 When download is finished, i get this in the terminal:
 {{{
 Unhandled error in Deferred:
 17:40:38 [CRITICAL][twisted                           :154 ] Unhandled
 error in Deferred:
 17:40:38 [CRITICAL][twisted                           :154 ] Unhandled
 error in Deferred:

 Traceback (most recent call last):
   File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line
 322, in addCallback
     callbackKeywords=kw)
   File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line
 311, in addCallbacks
     self._runCallbacks()
   File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line
 654, in _runCallbacks
     current.result = callback(current.result, *args, **kw)
   File "/usr/lib/python3.7/site-
 
packages/deluge/plugins/Notifications-0.3-py3.7.egg/deluge_notifications/gtkui.py",
 line 147, in handle_custom_popup_notification

 --- <exception caught here> ---
   File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line
 151, in maybeDeferred
     result = f(*args, **kw)
   File "/usr/lib/python3.7/site-
 
packages/deluge/plugins/Notifications-0.3-py3.7.egg/deluge_notifications/gtkui.py",
 line 181, in __popup

 builtins.TypeError: argument value: Expected GLib.Variant, but got str

 17:40:38 [CRITICAL][deluge.log                        :93  ]
 twisted.internet.defer
 [Failure instance: Traceback: <class 'TypeError'>: argument value:
 Expected GLib.Variant, but got str
 /usr/lib/python3.7/site-packages/twisted/internet/defer.py:322:addCallback
 /usr/lib/python3.7/site-
 packages/twisted/internet/defer.py:311:addCallbacks
 /usr/lib/python3.7/site-
 packages/twisted/internet/defer.py:654:_runCallbacks
 /usr/lib/python3.7/site-
 
packages/deluge/plugins/Notifications-0.3-py3.7.egg/deluge_notifications/gtkui.py:147:handle_custom_popup_notification
 --- <exception caught here> ---
 /usr/lib/python3.7/site-
 packages/twisted/internet/defer.py:151:maybeDeferred
 /usr/lib/python3.7/site-
 
packages/deluge/plugins/Notifications-0.3-py3.7.egg/deluge_notifications/gtkui.py:181:__popup
 ]
 17:40:38 [CRITICAL][deluge.log                        :93  ]
 twisted.internet.defer
 [Failure instance: Traceback: <class 'TypeError'>: argument value:
 Expected GLib.Variant, but got str
 /usr/lib/python3.7/site-packages/twisted/internet/defer.py:322:addCallback
 /usr/lib/python3.7/site-
 packages/twisted/internet/defer.py:311:addCallbacks
 /usr/lib/python3.7/site-
 packages/twisted/internet/defer.py:654:_runCallbacks
 /usr/lib/python3.7/site-
 
packages/deluge/plugins/Notifications-0.3-py3.7.egg/deluge_notifications/gtkui.py:147:handle_custom_popup_notification
 --- <exception caught here> ---
 /usr/lib/python3.7/site-
 packages/twisted/internet/defer.py:151:maybeDeferred
 /usr/lib/python3.7/site-
 
packages/deluge/plugins/Notifications-0.3-py3.7.egg/deluge_notifications/gtkui.py:181:__popup
 ]
 }}}

 I didn't have this issue in previous versions of deluge.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3267#comment:2>
Deluge <https://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 https://groups.google.com/group/deluge-dev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/057.cbbb7a3c4f98d12c714487bd9211beeb%40deluge-torrent.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to