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.