Opened 4 years ago
Last modified 4 years ago
#3371 new bug
[Naotification plugin] Broken notifications
Reported by: | Alexander Kurakin | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | needs verified |
Component: | Plugin | Version: | 2.0.3 |
Keywords: | Cc: | kuraga333@mail.ru |
Description
Get this in terminal, instead of real notification on torrent finish:
Unhandled error in Deferred: 19:53:54 [CRITICAL][twisted :154 ] Unhandled error in Deferred: 19:53:54 [CRITICAL][twisted :154 ] Unhandled error in Deferred: (debug: C: Deferred was created: C: File "/usr/bin/deluge", line 11, in <module> C: load_entry_point('deluge==2.0.3', 'gui_scripts', 'deluge')() C: File "/usr/lib64/python3.6/site-packages/deluge/ui/ui_entry.py", line 143, in start_ui C: ui.start() C: File "/usr/lib64/python3.6/site-packages/deluge/ui/gtk3/__init__.py", line 58, in start C: do_profile=self.options.profile, C: File "/usr/lib64/python3.6/site-packages/deluge/common.py", line 1344, in run_profiled C: return func(*args) C: File "/usr/lib64/python3.6/site-packages/deluge/ui/gtk3/__init__.py", line 49, in run C: gtkui.start() C: File "/usr/lib64/python3.6/site-packages/deluge/ui/gtk3/gtkui.py", line 246, in start C: reactor.run() C: File "/usr/lib64/python3.6/site-packages/twisted/internet/_glibbase.py", line 301, in run C: self._run() C: File "/usr/lib64/python3.6/site-packages/gi/overrides/Gtk.py", line 1630, in main C: return _Gtk_main(*args, **kwargs) C: File "/usr/lib64/python3.6/site-packages/twisted/internet/_glibbase.py", line 333, in _simulate C: self.runUntilCurrent() C: File "/usr/lib64/python3.6/site-packages/twisted/internet/base.py", line 913, in runUntilCurrent C: call.func(*call.args, **call.kw) C: File "/usr/lib64/python3.6/site-packages/deluge/core/torrentmanager.py", line 1296, in on_alert_torrent_finished C: component.get('EventManager').emit(TorrentFinishedEvent(torrent_id)) C: File "/usr/lib64/python3.6/site-packages/deluge/core/eventmanager.py", line 37, in emit C: handler(*event.args) C: File "/usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.egg/deluge_notifications/common.py", line 70, in wrapper C: return self._handle_custom_providers(kind, eventtype, *args, **kwargs) C: File "/usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.egg/deluge_notifications/common.py", line 58, in _handle_custom_providers C: d = defer.maybeDeferred(handler, *args, **kwargs) C: File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 151, in maybeDeferred C: result = f(*args, **kw) C: File "/usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.egg/deluge_notifications/gtkui.py", line 220, in _on_torrent_finished_event_popup C: d = client.core.get_torrent_status(torrent_id, ['name', 'file_progress']) C: File "/usr/lib64/python3.6/site-packages/deluge/ui/client.py", line 551, in __call__ C: return self.daemon.call(self.base, *args, **kwargs) C: File "/usr/lib64/python3.6/site-packages/deluge/ui/client.py", line 500, in call C: return defer.maybeDeferred(m, *copy.deepcopy(args), **copy.deepcopy(kwargs)) C: File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 160, in maybeDeferred C: return succeed(result) C: File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 88, in succeed C: d = Deferred() I: First Invoker was: I: File "/usr/bin/deluge", line 11, in <module> I: load_entry_point('deluge==2.0.3', 'gui_scripts', 'deluge')() I: File "/usr/lib64/python3.6/site-packages/deluge/ui/ui_entry.py", line 143, in start_ui I: ui.start() I: File "/usr/lib64/python3.6/site-packages/deluge/ui/gtk3/__init__.py", line 58, in start I: do_profile=self.options.profile, I: File "/usr/lib64/python3.6/site-packages/deluge/common.py", line 1344, in run_profiled I: return func(*args) I: File "/usr/lib64/python3.6/site-packages/deluge/ui/gtk3/__init__.py", line 49, in run I: gtkui.start() I: File "/usr/lib64/python3.6/site-packages/deluge/ui/gtk3/gtkui.py", line 246, in start I: reactor.run() I: File "/usr/lib64/python3.6/site-packages/twisted/internet/_glibbase.py", line 301, in run I: self._run() I: File "/usr/lib64/python3.6/site-packages/gi/overrides/Gtk.py", line 1630, in main I: return _Gtk_main(*args, **kwargs) I: File "/usr/lib64/python3.6/site-packages/twisted/internet/_glibbase.py", line 333, in _simulate I: self.runUntilCurrent() I: File "/usr/lib64/python3.6/site-packages/twisted/internet/base.py", line 913, in runUntilCurrent I: call.func(*call.args, **call.kw) I: File "/usr/lib64/python3.6/site-packages/deluge/core/torrentmanager.py", line 1296, in on_alert_torrent_finished I: component.get('EventManager').emit(TorrentFinishedEvent(torrent_id)) I: File "/usr/lib64/python3.6/site-packages/deluge/core/eventmanager.py", line 37, in emit I: handler(*event.args) I: File "/usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.egg/deluge_notifications/common.py", line 70, in wrapper I: return self._handle_custom_providers(kind, eventtype, *args, **kwargs) I: File "/usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.egg/deluge_notifications/common.py", line 58, in _handle_custom_providers I: d = defer.maybeDeferred(handler, *args, **kwargs) I: File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 151, in maybeDeferred I: result = f(*args, **kw) I: File "/usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.egg/deluge_notifications/gtkui.py", line 220, in _on_torrent_finished_event_popup I: d = client.core.get_torrent_status(torrent_id, ['name', 'file_progress']) I: File "/usr/lib64/python3.6/site-packages/deluge/ui/client.py", line 551, in __call__ I: return self.daemon.call(self.base, *args, **kwargs) I: File "/usr/lib64/python3.6/site-packages/deluge/ui/client.py", line 500, in call I: return defer.maybeDeferred(m, *copy.deepcopy(args), **copy.deepcopy(kwargs)) I: File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 160, in maybeDeferred I: return succeed(result) I: File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 89, in succeed I: d.callback(result) ) Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 322, in addCallback callbackKeywords=kw) File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 311, in addCallbacks self._runCallbacks() File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.egg/deluge_notifications/gtkui.py", line 147, in handle_custom_popup_notification return defer.maybeDeferred(self.__popup, title, message) --- <exception caught here> --- File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 151, in maybeDeferred result = f(*args, **kw) File "/usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.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 19:53:54 [CRITICAL][deluge.log :93 ] twisted.internet.defer [Failure instance: Traceback: <class 'TypeError'>: argument value: Expected GLib.Variant, but got str /usr/lib64/python3.6/site-packages/twisted/internet/defer.py:322:addCallback /usr/lib64/python3.6/site-packages/twisted/internet/defer.py:311:addCallbacks /usr/lib64/python3.6/site-packages/twisted/internet/defer.py:654:_runCallbacks /usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.egg/deluge_notifications/gtkui.py:147:handle_custom_popup_notification --- <exception caught here> --- /usr/lib64/python3.6/site-packages/twisted/internet/defer.py:151:maybeDeferred /usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.egg/deluge_notifications/gtkui.py:181:__popup ] 19:53:54 [CRITICAL][deluge.log :93 ] twisted.internet.defer [Failure instance: Traceback: <class 'TypeError'>: argument value: Expected GLib.Variant, but got str /usr/lib64/python3.6/site-packages/twisted/internet/defer.py:322:addCallback /usr/lib64/python3.6/site-packages/twisted/internet/defer.py:311:addCallbacks /usr/lib64/python3.6/site-packages/twisted/internet/defer.py:654:_runCallbacks /usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.egg/deluge_notifications/gtkui.py:147:handle_custom_popup_notification --- <exception caught here> --- /usr/lib64/python3.6/site-packages/twisted/internet/defer.py:151:maybeDeferred /usr/lib64/python3.6/site-packages/deluge/plugins/Notifications-0.3-py3.6.egg/deluge_notifications/gtkui.py:181:__popup ]
Note:
See TracTickets
for help on using tickets.
Duplicate of bug #3267.