Labels not working

General support for problems installing or using Deluge
Post Reply
hatt
New User
New User
Posts: 2
Joined: Tue Jan 24, 2017 8:24 am

Labels not working

Post by hatt »

Oh hi there.

Couldn't find a proper similar topic, so I'll put my rear out and hope for the best.
Labels aren't working for me. Neither Labelplus or the normal Label.

I run deluged (v 1.3.12 / libtorrent 1.0.7.0) on a headless Ubuntu 16.04.1 LTS.

Its been running fine for ages. I added sonarr to my box and figured I wanted to start using labels, but pretty much everything I do labelwise (add label plugin/create label/add label to torrent via deluge-web or deluge-gtk) doesn't seem to work.
Anything I'm missing? It seem to still work sometimes, ie. I can see the newly created label and apply it. Sometimes I need to restart the web-ui to see the changes. (just now installed gtk to see if it made a difference, but doesn't seem so)
If (when) deluged reloads, it's all gone. It makes for a tiresome morning ritual :/

Touching anything "label" gives me the following debug output:
Any hints as to what to do?

Code: Select all

[ERROR   ] 09:32:03 rpcserver:304 Exception calling RPC request: Expecting property name: line 7 column 5 (char 177)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 299, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Label-0.2.egg/label/core.py", line 327, in set_torrent
    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 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 7 column 5 (char 177)
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Labels not working

Post by Cas »

It's a formatting issue with a config file, likely label.conf
hatt
New User
New User
Posts: 2
Joined: Tue Jan 24, 2017 8:24 am

Re: Labels not working

Post by hatt »

Awesome. Ok, couldn't see what it was, but nuked it, restarted deluge and it's now working.

Thanks!
Post Reply