[Deluge] #3267: GTK Notification plugin error

2 views
Skip to first unread message

Deluge

unread,
Jun 12, 2019, 4:56:06 AM6/12/19
to delug...@googlegroups.com
#3267: GTK Notification plugin error
--------------------+-------------------
Reporter: Cas | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.0.3
Component: Plugin | Version: 2.0.0
Keywords: |
--------------------+-------------------
User reported these three errors while running the plugin

{{{

12:15:51.490 [CRITICAL][twisted :154 ] Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py",
line 322, in addCallback callbackKeywords=kw)
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py",
line 311, in addCallbacks self._runCallbacks()
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py",
line 654, in _runCallbacks current.result = callback(current.result,
*args, **kw)
File "/usr/lib/python3/dist-
packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/gtkui.py",
line 161, in handle_custom_sound_notification self.__play_sound,
self.config['custom_sounds'][eventtype] --- <exception caught="" here="">
---
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py",
line 151, in maybeDeferred result = f(*args, **kw)
File "/usr/lib/python3/dist-
packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/gtkui.py",
line 194, in __play_sound return defer.fail(err_msg) File
"/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 108, in
fail d.errback(result)
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py",
line 499, in errback fail = failure.Failure(fail)
File "/usr/lib/python3/dist-packages/twisted/python/failure.py",
line 249, in __init__ raise TypeError("Strings are not supported by
Failure") builtins.TypeError: Strings are not supported by Failure

12:15:51.497 [CRITICAL][deluge.log :93 ] twisted.internet.defer
[Failure instance:

Traceback:
<class 'typeerror'="">: argument value: Expected GLib.Variant, but got str
/usr/lib/python3/dist-packages/twisted/internet/defer.py:322:addCallback
/usr/lib/python3/dist-packages/twisted/internet/defer.py:311:addCallbacks
/usr/lib/python3/dist-packages/twisted/internet/defer.py:654:_runCallbacks
/usr/lib/python3/dist-
packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/gtkui.py:147:handle_custom_popup_notification
--- <exception caught="" here=""> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:151:maybeDeferred
/usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg
/deluge_notifications/gtkui.py:181:__popup ]

12:18:28.697 [CRITICAL][twisted :154 ] Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py",
line 322, in addCallback callbackKeywords=kw)
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py",
line 311, in addCallbacks self._runCallbacks()
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py",
line 654, in _runCallbacks current.result = callback(current.result,
*args, **kw)
File "/usr/lib/python3/dist-
packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/gtkui.py",
line 147, in handle_custom_popup_notification return
defer.maybeDeferred(self.__popup, title, message)
--- <exception caught="" here=""> ---
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py",
line 151, in maybeDeferred result = f(*args, **kw) File "/usr/lib/python3
/dist-
packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/gtkui.py",
line 181, in __popup self.note.set_hint('desktop-entry', 'deluge')
builtins.TypeError: argument value: Expected GLib.Variant, but got str

}}}

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3267>
Deluge <http://deluge-torrent.org/>
Deluge Project

Reply all
Reply to author
Forward
0 new messages