dtpstat/dtp-stat-archive

get_dtp not working

c13 opened this issue · 1 comments

c13 commented

./parser.py get_dtp

(env) root@dtp-stat:~/dtp-stat# cp ../dtp.json data/
(env) root@dtp-stat:~/dtp-stat# ./parser.py get_dtp
0it [00:00, ?it/s]
Traceback (most recent call last):
  File "/root/dtp-stat/env/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
    return self.cursor.execute(sql, params)
psycopg2.DataError: unsupported Unicode escape sequence
LINE 1: ...333, "conditions" = '["\u0414\u043e\u0436\u0434\u044c", "\u0...
                                                             ^
DETAIL:  Unicode escape values cannot be used for code point values above 007F when the server encoding is not UTF8.
CONTEXT:  JSON data, line 1: [...

На сколько я понимаю, раз парсер сейчас работает, значит проблема уже устранена, карточку закрываю.