[Plugin] YaRSS2 - RSS plugin with GTKUI support

Suggest, post, or discuss plugins for Deluge
shinger
Seeder
Seeder
Posts: 146
Joined: Sat Jun 05, 2010 1:02 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by shinger »

bro wrote:shinger, in the log it says "Address already in use". That means the daemon is already running and occupying that address/port. You need to stop deluged before starting it with logging enabled.

As you can see, it said address already in use, when the "init script of deluge" was active. The second time as you can see on my previous post, you see when i did NOT activated the script i did not get that error.

So with other words dont look at that one, but look at the one below that one.
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.1.2
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by bro »

shinger wrote:
bro wrote:shinger, in the log it says "Address already in use". That means the daemon is already running and occupying that address/port. You need to stop deluged before starting it with logging enabled.
As you can see, it said address already in use, when the "init script of deluge" was active. The second time as you can see on my previous post, you see when i did NOT activated the script i did not get that error.

So with other words dont look at that one, but look at the one below that one.
Oh, sorry, you're right. I'm not sure if those warnings (No such file or directory) should be there the first time deluged is started, but they shouldn't after being created by deluged.

So, does deluged really work without YaRSS2? Neither deluged nor deluge seems to even try loading any plugins. Does the home directory for the user exist and have correct permissions?
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
shinger
Seeder
Seeder
Posts: 146
Joined: Sat Jun 05, 2010 1:02 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by shinger »

bro wrote:
shinger wrote:
bro wrote:shinger, in the log it says "Address already in use". That means the daemon is already running and occupying that address/port. You need to stop deluged before starting it with logging enabled.
As you can see, it said address already in use, when the "init script of deluge" was active. The second time as you can see on my previous post, you see when i did NOT activated the script i did not get that error.

So with other words dont look at that one, but look at the one below that one.
Oh, sorry, you're right. I'm not sure if those warnings (No such file or directory) should be there the first time deluged is started, but they shouldn't after being created by deluged.

So, does deluged really work without YaRSS2? Neither deluged nor deluge seems to even try loading any plugins. Does the home directory for the user exist and have correct permissions?
After you mentioned about that it doesnt show if any plugins is loaded, it did make me curious. I went in to /var/lib/deluge/.config/deluge and i saw a "deluged.log".

edit: dont worry about "deluge"(client side), it is just a deluge-gtk. I dont have any daemon running in the background.

Here the output:

Code: Select all

<USER>@<NAS>:/var/lib/deluge/.config/deluge$ cat deluged.log 
[ERROR   ] 00:10:45 config:387 Expecting property name: line 174 column 3 (char 5210)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 385, in load
    self.__config.update(json.loads(data[start:end]))
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 174 column 3 (char 5210)
[ERROR   ] 00:10:45 init:50 Unable to enable plugin!
[ERROR   ] 00:10:45 init:51 Expecting property name: line 174 column 3 (char 5210)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/init.py", line 48, in enable
    self.plugin.enable()
  File "build/bdist.linux-x86_64/egg/yarss2/core.py", line 59, in enable
    self.yarss_config = YARSSConfig(self.log)
  File "build/bdist.linux-x86_64/egg/yarss2/yarss_config.py", line 80, in __init__
    self._verify_config()
  File "build/bdist.linux-x86_64/egg/yarss2/yarss_config.py", line 170, in _verify_config
    self.config.save()
  File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 412, in save
    loaded_data = json.loads(data[start:end])
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 174 column 3 (char 5210)
[ERROR   ] 00:11:17 init:57 Unable to disable plugin!
[ERROR   ] 00:11:17 init:58 'Core' object has no attribute 'yarss_config'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/init.py", line 55, in disable
    self.plugin.disable()
  File "build/bdist.linux-x86_64/egg/yarss2/core.py", line 67, in disable
    self.yarss_config.save()
AttributeError: 'Core' object has no attribute 'yarss_config'
[ERROR   ] 00:16:04 rpcserver:303 Exception calling RPC request: 'CorePlugin.Extractor'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 298, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 510, in enable_plugin
    self.pluginmanager.enable_plugin(plugin)
  File "/usr/lib/python2.7/dist-packages/deluge/core/pluginmanager.py", line 82, in enable_plugin
    super(PluginManager, self).enable_plugin(name)
  File "/usr/lib/python2.7/dist-packages/deluge/pluginmanagerbase.py", line 151, in enable_plugin
    component.start([instance.plugin._component_name])
  File "/usr/lib/python2.7/dist-packages/deluge/component.py", line 290, in start
    if self.components[name]._component_depend:
KeyError: 'CorePlugin.Extractor'
I hope this gives you more info.
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.1.2
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by bro »

shinger wrote: After you mentioned about that it doesnt show if any plugins is loaded, it did make me curious. I went in to /var/lib/deluge/.config/deluge and i saw a "deluged.log".

edit: dont worry about "deluge"(client side), it is just a deluge-gtk. I dont have any daemon running in the background.

Here the output:

Code: Select all

<USER>@<NAS>:/var/lib/deluge/.config/deluge$ cat deluged.log 
[ERROR   ] 00:10:45 config:387 Expecting property name: line 174 column 3 (char 5210)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 385, in load
    self.__config.update(json.loads(data[start:end]))
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 174 column 3 (char 5210)
[ERROR   ] 00:10:45 init:50 Unable to enable plugin!
[ERROR   ] 00:10:45 init:51 Expecting property name: line 174 column 3 (char 5210)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/init.py", line 48, in enable
    self.plugin.enable()
  File "build/bdist.linux-x86_64/egg/yarss2/core.py", line 59, in enable
    self.yarss_config = YARSSConfig(self.log)
  File "build/bdist.linux-x86_64/egg/yarss2/yarss_config.py", line 80, in __init__
    self._verify_config()
  File "build/bdist.linux-x86_64/egg/yarss2/yarss_config.py", line 170, in _verify_config
    self.config.save()
  File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 412, in save
    loaded_data = json.loads(data[start:end])
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 174 column 3 (char 5210)
[ERROR   ] 00:11:17 init:57 Unable to disable plugin!
[ERROR   ] 00:11:17 init:58 'Core' object has no attribute 'yarss_config'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/init.py", line 55, in disable
    self.plugin.disable()
  File "build/bdist.linux-x86_64/egg/yarss2/core.py", line 67, in disable
    self.yarss_config.save()
AttributeError: 'Core' object has no attribute 'yarss_config'
[ERROR   ] 00:16:04 rpcserver:303 Exception calling RPC request: 'CorePlugin.Extractor'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 298, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 510, in enable_plugin
    self.pluginmanager.enable_plugin(plugin)
  File "/usr/lib/python2.7/dist-packages/deluge/core/pluginmanager.py", line 82, in enable_plugin
    super(PluginManager, self).enable_plugin(name)
  File "/usr/lib/python2.7/dist-packages/deluge/pluginmanagerbase.py", line 151, in enable_plugin
    component.start([instance.plugin._component_name])
  File "/usr/lib/python2.7/dist-packages/deluge/component.py", line 290, in start
    if self.components[name]._component_depend:
KeyError: 'CorePlugin.Extractor'
I hope this gives you more info.
Apparantly a config file is faulty. Can you PM me your yarss2.conf and your core.conf? ( they're in ~/.config/deluge/) Did this problem occur when updating to a newer version of YaRSS2?
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
shinger
Seeder
Seeder
Posts: 146
Joined: Sat Jun 05, 2010 1:02 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by shinger »

Nope. Maybe i update it the wrong way or something?

How i update YaRSS2 plugin. Stop the deluge-daemon on my nas and go to plugins directory using cd. Then i use wget to download the latest version of YaRSS2. After that i rename the old plugin to <<name>.egg.old>.

I sended you my core.conf and YaRSS2.conf. Did you receive it?

Edit: I though about maybe the deluged.log could be a old one, so i deleted what was in it and restarted the script, but i did not receive any logs. Now i'm not even sure what i am doing :(. In the tutorial he says "/var/log/deluged.log", but that one is just empty too.

The initscript was just copied from here: http://dev.deluge-torrent.org/wiki/User ... ipt/Ubuntu

Edit2: After troubleshooting and reading it very carefull, i have fixed the loggin issue. As you can see, its enabled, but NOT visible when i open preferences using Deluge-GTK.

Deluged logfile:

Code: Select all

<USER>@<NAS>:/var/log/deluge/daemon$ cat info.log 
[INFO    ] 11:57:02 daemon:129 Deluge daemon 1.3.5
[INFO    ] 11:57:02 core:80 Starting libtorrent 0.15.10.0 session..
[INFO    ] 11:57:02 rpcserver:366 Starting DelugeRPC server :<PORT>
[INFO    ] 11:57:02 pluginmanagerbase:158 Plugin Notifications enabled..
[INFO    ] 11:57:02 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 11:57:02 pluginmanagerbase:158 Plugin Extractor enabled..
[INFO    ] 11:57:02 pluginmanagerbase:158 Plugin Scheduler enabled..
[INFO    ] 11:57:02 logger:62 YaRSS2.core:64: Enabled YaRSS2 1.1.3
[INFO    ] 11:57:02 pluginmanagerbase:158 Plugin YaRSS2 enabled..

<THE REST ARE MY TORRENTS BEING ADDED BY TORRENTMANAGER>
Deluge-web logfile:

Code: Select all

<USER>@<NAS>:/var/log/deluge/web$ cat info.log 
[INFO    ] 11:57:04 ui:121 Deluge ui 1.3.5
[INFO    ] 11:57:04 ui:124 Starting web ui..
[WARNING ] 11:57:05 config:361 Unable to open config file /var/lib/deluge/.config/deluge/hostlist.conf.1.2: [Errno 2] No such file or directory: '/var/lib/deluge/.config/deluge/hostlist.conf.1.2'
[INFO    ] 11:57:05 server:661 Starting server in PID 25129.
[INFO    ] 11:57:05 server:681 serving on 0.0.0.0:<PORT> view at https://127.0.0.1:<PORT>
Plugins directory:

Code: Select all

<USER>@<NAS>:/var/lib/deluge/.config/deluge/plugins$ ls
YaRSS2-1.1.2-py2.7.egg.old  YaRSS2-1.1.3-py2.7.egg
Attachments
YaRSS2-Not-Visible.png
YaRSS2-Not-Visible.png (130.36 KiB) Viewed 9523 times
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.1.2
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by bro »

shinger wrote:Nope. Maybe i update it the wrong way or something?

How i update YaRSS2 plugin. Stop the deluge-daemon on my nas and go to plugins directory using cd. Then i use wget to download the latest version of YaRSS2. After that i rename the old plugin to <<name>.egg.old>.

I sended you my core.conf and YaRSS2.conf. Did you receive it?
Nope, haven't received any PMs.
shinger wrote: Edit: I though about maybe the deluged.log could be a old one, so i deleted what was in it and restarted the script, but i did not receive any logs. Now i'm not even sure what i am doing :(. In the tutorial he says "/var/log/deluged.log", but that one is just empty too.

The initscript was just copied from here: http://dev.deluge-torrent.org/wiki/User ... ipt/Ubuntu

Edit2: After troubleshooting and reading it very carefull, i have fixed the loggin issue. As you can see, its enabled, but NOT visible when i open preferences using Deluge-GTK.
The deluge (gtk) log file is missing. Since the problem is that it doesn't show in the left menu, that log file might contains some useful info? The webui isn't relevant as there is no webui support.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
shinger
Seeder
Seeder
Posts: 146
Joined: Sat Jun 05, 2010 1:02 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by shinger »

bro wrote:
shinger wrote:Nope. Maybe i update it the wrong way or something?

How i update YaRSS2 plugin. Stop the deluge-daemon on my nas and go to plugins directory using cd. Then i use wget to download the latest version of YaRSS2. After that i rename the old plugin to <<name>.egg.old>.

I sended you my core.conf and YaRSS2.conf. Did you receive it?
Nope, haven't received any PMs.
shinger wrote: Edit: I though about maybe the deluged.log could be a old one, so i deleted what was in it and restarted the script, but i did not receive any logs. Now i'm not even sure what i am doing :(. In the tutorial he says "/var/log/deluged.log", but that one is just empty too.

The initscript was just copied from here: http://dev.deluge-torrent.org/wiki/User ... ipt/Ubuntu

Edit2: After troubleshooting and reading it very carefull, i have fixed the loggin issue. As you can see, its enabled, but NOT visible when i open preferences using Deluge-GTK.
The deluge (gtk) log file is missing. Since the problem is that it doesn't show in the left menu, that log file might contains some useful info? The webui isn't relevant as there is no webui support.
You are right indeed.

Deluge-gtk log:

Code: Select all

[INFO    ] 19:48:37 ui:121 Deluge ui 1.3.5
[INFO    ] 19:48:37 ui:124 Starting gtk ui..
[WARNING ] 19:48:37 gtkui:186 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[INFO    ] 19:48:40 client:221 Connecting to daemon at <IP ADDRESS>:<PORT>..
[INFO    ] 19:48:40 client:125 Connected to daemon at <IP ADDRESS>:<PORT>..
[INFO    ] 19:48:40 client:228 Connection lost to daemon at <IP ADDRESS>:<PORT> reason: Connection was closed cleanly.
[INFO    ] 19:48:43 client:221 Connecting to daemon at <IP ADDRESS>:<PORT>..
[INFO    ] 19:48:43 client:125 Connected to daemon at <IP ADDRESS>:<PORT>..
[INFO    ] 19:48:43 pluginmanagerbase:158 Plugin Notifications enabled..
[WARNING ] 19:48:43 pluginmanagerbase:130 Cannot enable non-existant plugin YaRSS2
[INFO    ] 19:48:43 pluginmanagerbase:158 Plugin Scheduler enabled..
[INFO    ] 19:48:43 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 19:48:43 pluginmanagerbase:158 Plugin Extractor enabled..
Terminal output:

Code: Select all

<USER>@<COMPUTER>:~$ deluge-gtk -l deluge.log -L info
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1055, in connectionFailed
    self.factory.clientConnectionFailed(self, reason)
  File "/usr/lib/python2.7/dist-packages/twisted/web/client.py", line 416, in clientConnectionFailed
    self.deferred.errback(reason)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 397, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 385, in on_download_icon_fail
    elif f.check(error.NoResource, error.ForbiddenResource) and icons:
exceptions.AttributeError: 'module' object has no attribute 'NoResource'
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1055, in connectionFailed
    self.factory.clientConnectionFailed(self, reason)
  File "/usr/lib/python2.7/dist-packages/twisted/web/client.py", line 416, in clientConnectionFailed
    self.deferred.errback(reason)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 397, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 385, in on_download_icon_fail
    elif f.check(error.NoResource, error.ForbiddenResource) and icons:
exceptions.AttributeError: 'module' object has no attribute 'NoResource'
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1055, in connectionFailed
    self.factory.clientConnectionFailed(self, reason)
  File "/usr/lib/python2.7/dist-packages/twisted/web/client.py", line 416, in clientConnectionFailed
    self.deferred.errback(reason)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 397, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 385, in on_download_icon_fail
    elif f.check(error.NoResource, error.ForbiddenResource) and icons:
exceptions.AttributeError: 'module' object has no attribute 'NoResource'
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.1.2
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by bro »

Code: Select all

Cannot enable non-existant plugin YaRSS2
means that it can't find the plugin egg. Can you verify that it is located in ~/.config/deluge/plugins/ on the machine where you start the GTK Client?

The errors in the terminal is a Deluge bug, but it shouldn't be related to YaRSS2.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
shinger
Seeder
Seeder
Posts: 146
Joined: Sat Jun 05, 2010 1:02 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by shinger »

bro wrote:

Code: Select all

Cannot enable non-existant plugin YaRSS2
means that it can't find the plugin egg. Can you verify that it is located in ~/.config/deluge/plugins/ on the machine where you start the GTK Client?

The errors in the terminal is a Deluge bug, but it shouldn't be related to YaRSS2.

I'm not sure what you mean by that, but i also downloaded the latest version of YaRSS2 on my NAS AND computer.

Output NAS:

Code: Select all

<USER>@<NAS>:/var/lib/deluge/.config/deluge/plugins$ ls -a
.  ..  YaRSS2-1.1.3-py2.7.egg.old  YaRSS2-1.2.0-py2.7.egg
Output Computer:

Code: Select all

<USER>@<COMPUTER>:~/.config/deluge/plugins$ ls -a
.  ..  YaRSS2-1.2.0-py2.7.egg
You have already my core.conf of my NAS. There you can see that the directory of the plugins is "/var/lib/deluge/.config/deluge/plugins".

Deluge-gtk deluge.log output:

Code: Select all

[INFO    ] 10:47:36 ui:121 Deluge ui 1.3.5
[INFO    ] 10:47:36 ui:124 Starting gtk ui..
[WARNING ] 10:47:36 gtkui:186 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[INFO    ] 10:47:39 client:221 Connecting to daemon at <IPADDRESS>:<PORT>..
[INFO    ] 10:47:39 client:125 Connected to daemon at <IPADDRESS>:<PORT>..
[INFO    ] 10:47:39 client:228 Connection lost to daemon at <IPADDRESS>:<PORT> reason: Connection was closed cleanly.
[INFO    ] 10:47:40 client:221 Connecting to daemon at <IPADDRESS>:<PORT>..
[INFO    ] 10:47:40 client:125 Connected to daemon at <IPADDRESS>:<PORT>..
[INFO    ] 10:47:41 pluginmanagerbase:158 Plugin Notifications enabled..
[INFO    ] 10:47:41 logger:61 YaRSS2.__init__:52: Appending to sys.path: '/home/<USER>/.config/deluge/plugins/YaRSS2-1.2.0-py2.7.egg/yarss2/include'
[ERROR   ] 10:47:41 pluginmanagerbase:146 Unable to instantiate plugin!
[ERROR   ] 10:47:41 pluginmanagerbase:147 No module named libtorrent
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/pluginmanagerbase.py", line 144, in enable_plugin
    instance = cls(plugin_name.replace("-", "_"))
  File "build/bdist.linux-x86_64/egg/yarss2/__init__.py", line 64, in __init__
    from gtkui.gtkui import GtkUI as _plugin_cls
  File "build/bdist.linux-x86_64/egg/yarss2/gtkui/gtkui.py", line 56, in <module>
  File "build/bdist.linux-x86_64/egg/yarss2/gtkui/dialog_subscription.py", line 55, in <module>
  File "build/bdist.linux-x86_64/egg/yarss2/rssfeed_handling.py", line 47, in <module>
  File "build/bdist.linux-x86_64/egg/yarss2/torrent_handling.py", line 37, in <module>
  File "/usr/lib/python2.7/dist-packages/deluge/core/torrent.py", line 42, in <module>
    from deluge._libtorrent import lt
  File "/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py", line 59, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent
[INFO    ] 10:47:41 pluginmanagerbase:158 Plugin Scheduler enabled..
[INFO    ] 10:47:41 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 10:47:41 pluginmanagerbase:158 Plugin Extractor enabled..
EDIT: Bro, i fixed it. After analyzing deluge.log, i saw it was talking about "No module named libtorrent
Traceback". So i installed libtorrent ON MY COMPUTER (Deluge-gtk) and then connected to deluge-daemon on my NAS. It then showed the YaRSS2 plugin. So the lesson i have learned here is that even if you DONT have deluge-daemon installed, you still need to install libtorrent. Sorry for my ingnorance and taking your time for this idiot mistake.
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.1.2
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by bro »

shinger wrote:EDIT: Bro, i fixed it. After analyzing deluge.log, i saw it was talking about "No module named libtorrent
Traceback". So i installed libtorrent ON MY COMPUTER (Deluge-gtk) and then connected to deluge-daemon on my NAS. It then showed the YaRSS2 plugin. So the lesson i have learned here is that even if you DONT have deluge-daemon installed, you still need to install libtorrent. Sorry for my ingnorance and taking your time for this idiot mistake.
Ah, yes, that dependency shouldn't be needed. I'll try to remove that for the next version.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
Post Reply