Hi, i can't use thinclient because i need deluge-console (i'm calling it via some scripts).
After analyzing logs of deluged, i've found a problem when the daemon is trying to read execute.conf
Code: Select all
[DEBUG ] 11:10:14 configmanager:111 Getting config 'execute.conf'
[DEBUG ] 11:10:14 config:197 Setting 'commands' to [] of <type 'list'>
[ERROR ] 11:10:14 config:387 Expecting , delimiter: line 8 column 5 (char 104)
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.4-py2.6.egg/deluge/config.py", line 385, in load
self.__config.update(json.loads(data[start:end]))
File "/usr/lib/python2.6/json/__init__.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.6/json/decoder.py", line 336, in raw_decode
obj, end = self._scanner.iterscan(s, **kw).next()
File "/usr/lib/python2.6/json/scanner.py", line 55, in iterscan
rval, next_pos = action(m, context)
File "/usr/lib/python2.6/json/decoder.py", line 183, in JSONObject
value, end = iterscan(s, idx=end, context=context).next()
File "/usr/lib/python2.6/json/scanner.py", line 55, in iterscan
rval, next_pos = action(m, context)
File "/usr/lib/python2.6/json/decoder.py", line 227, in JSONArray
raise ValueError(errmsg("Expecting , delimiter", s, end))
ValueError: Expecting , delimiter: line 8 column 5 (char 104)
[WARNING ] 11:10:14 config:388 Unable to load config file: /root/.config/deluge/execute.conf
[DEBUG ] 11:10:14 config:391 Config /root/.config/deluge/execute.conf version: 1.1 loaded: {'commands': []}
[DEBUG ] 11:10:14 core:96 Execute core plugin enabled!
[INFO ] 11:10:14 pluginmanagerbase:158 Plugin Execute enabled..
and this is my execute.conf a this moment :
Code: Select all
{
"file": 1,
"format": 1
}{
"commands": [
[
"1",
"complete",
"/etc/btscanclient/sources/finished.py"
]
[
"2",
"added",
"/etc/btscanclient/sources/added.py"
]
]
}
Do you see something malformed in this file ?
Thank you