[bug] Unterminated String

General support for problems installing or using Deluge
Post Reply
Xplorer4x4
Member
Member
Posts: 17
Joined: Sun Oct 14, 2012 12:17 am

[bug] Unterminated String

Post by Xplorer4x4 »

I was trying to add my thin client passwords(4) to deluge. I got to the last one, got this error. Everything seemed fine anyways. When I closed deluge on my host(Kubuntu 12.10), all my log ins were gone. When I retry to add the first log in I get the Unterminated String pop up. Close Deluge, try again. Same error.
http://i.imgur.com/Ef38C.jpg
It's late but I can provide more info tomorrow.
Xplorer4x4
Member
Member
Posts: 17
Joined: Sun Oct 14, 2012 12:17 am

Re: [bug] Unterminated String

Post by Xplorer4x4 »

Deluge is now useless as a thin client(the entire reason I use it) because deluge gives this error when I try to add any log in even when it does not use any special characters.

I am using the latest deluge from the official canonical/quantal repos. Whe launching deluge-gtk with a critical log level from cli:

Code: Select all

xplorer4x4@xplorer4x4-MS-7673:~$ deluge-gtk -L critical
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
[ERROR   ] 20:51:54 config:387 Unterminated string starting at: line 22 column 7 (char 463)
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 328, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 381, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Unterminated string starting at: line 22 column 7 (char 463)
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: [bug] Unterminated String

Post by Cas »

Looks like a problem with your deluge config files, did you edit any of the conf files? Try with a fresh config.
Xplorer4x4
Member
Member
Posts: 17
Joined: Sun Oct 14, 2012 12:17 am

Re: [bug] Unterminated String

Post by Xplorer4x4 »

Cas wrote:Looks like a problem with your deluge config files, did you edit any of the conf files? Try with a fresh config.
Not manually. I would assume that the client would write to it when I try to enter the thin client log in info. I have already tried purging deluge, rebooting, and trying to add log in info. No such luck.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: [bug] Unterminated String

Post by Cas »

Delete your config directory, they are never touched by install/purge of applications.

http://dev.deluge-torrent.org/wiki/Faq# ... ingsconfig
Xplorer4x4
Member
Member
Posts: 17
Joined: Sun Oct 14, 2012 12:17 am

Re: [bug] Unterminated String

Post by Xplorer4x4 »

Thanks, that helped. I was able to narrow the culprit down to one of three special characters(since the rest of the pass is alphanumeric).
.
/
}
It's one of those characters.
Post Reply