Mirgrate script
Added by Xaero - over 10 years ago
Hi!
Just installed the latest version of Tvheadend. Coming from 3.5.247. When running the migrate-script, i get the following error:
root@htpcserver:/etc/tvheadend.test# ./conf_migrate.py .hts/tvheadend/ Traceback (most recent call last): File "./conf_migrate.py", line 529, in <module> nets = iptv_network(nets, opts) File "./conf_migrate.py", line 208, in iptv_network d = json.loads(s) 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 155, in JSONString return scanstring(match.string, match.end(), encoding, strict) ValueError: Invalid control character at: line 6 column 33 (char 122) root@htpcserver:/etc/tvheadend.test#
What to do?
Replies (5)
RE: Mirgrate script - Added by Xaero - over 10 years ago
I've sended you the configuration last week. Did you get it?
RE: Mirgrate script - Added by Adam Sutton over 10 years ago
Yeah, just not had time to look. Unfortunately I'm on holiday this week. Try messaging me s again in a week.
Adam
RE: Mirgrate script - Added by Adam Sutton over 10 years ago
Marvin,
The migrate script is being abandoned. TVH now has built-in migration code.
Adam