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
Comment (by int3l):
Fix: [https://github.com/deluge-torrent/deluge/pull/250 GitHub PR: Fix
argument type for the notification popup hint]
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3267#comment:3>
Comment (by Alexey104):
Replying to [comment:3 int3l]:
> Fix: [https://github.com/deluge-torrent/deluge/pull/250 GitHub PR: Fix
argument type for the notification popup hint]
Works great now, many thanks!
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3267#comment:4>
* status: new => closed
* resolution: => Fixed
Comment:
Fixed: [63a4301a8be8]
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3267#comment:5>
* cc: kuraga333@… (added)
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3267#comment:6>