Архив форума Ace Stream

Для разработчиков => Проблемы и решения => Тема начата: BoBoid от 19 Октября 2011, 12:54:54

Название: Ошибка 'utf8' codec can't decode bytes in position 0-1: invalid data
Отправлено: BoBoid от 19 Октября 2011, 12:54:54
Стабильно не показывет раздачи одного автора http://rutracker.org/forum/tracker.php?rid=12990986 видимо кириллические названия файлов не нравятся TS

2011-10-19 12:18:29 send STATUS 6
2011-10-19 12:18:29 bg::cleanup_playback
2011-10-19 12:18:38 bg: Got command: LOAD http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
2011-10-19 12:18:39 TorrentDef::load_from_url: add to cache, url http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
Traceback (most recent call last):
  File "Tribler\Plugin\BackgroundProcess.pyc", line 357, in gui_readlinecallback
  File "simplejson\__init__.pyc", line 261, in dumps
  File "simplejson\encoder.pyc", line 214, in encode
  File "simplejson\encoder.pyc", line 282, in iterencode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid data

2011-10-19 12:18:39 send STATUS 6
2011-10-19 12:18:39 bg::cleanup_playback
2011-10-19 12:18:49 bg: Got command: LOAD http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
2011-10-19 12:18:49 TorrentDef::load_from_url: add to cache, url http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
Traceback (most recent call last):
  File "Tribler\Plugin\BackgroundProcess.pyc", line 357, in gui_readlinecallback
  File "simplejson\__init__.pyc", line 261, in dumps
  File "simplejson\encoder.pyc", line 214, in encode
  File "simplejson\encoder.pyc", line 282, in iterencode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid data

2011-10-19 12:18:49 send STATUS 6
2011-10-19 12:18:49 bg::cleanup_playback
2011-10-19 12:18:59 bg: Got command: LOAD http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
2011-10-19 12:18:59 TorrentDef::load_from_url: add to cache, url http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
Traceback (most recent call last):
  File "Tribler\Plugin\BackgroundProcess.pyc", line 357, in gui_readlinecallback
  File "simplejson\__init__.pyc", line 261, in dumps
  File "simplejson\encoder.pyc", line 214, in encode
  File "simplejson\encoder.pyc", line 282, in iterencode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid data
Название: Re: Ошибка 'utf8' codec can't decode bytes in position 0-1: invalid data
Отправлено: Constantin от 31 Октября 2011, 23:09:00
Стабильно не показывет раздачи одного автора http://rutracker.org/forum/tracker.php?rid=12990986 видимо кириллические названия файлов не нравятся TS

2011-10-19 12:18:29 send STATUS 6
2011-10-19 12:18:29 bg::cleanup_playback
2011-10-19 12:18:38 bg: Got command: LOAD http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
2011-10-19 12:18:39 TorrentDef::load_from_url: add to cache, url http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
Traceback (most recent call last):
  File "Tribler\Plugin\BackgroundProcess.pyc", line 357, in gui_readlinecallback
  File "simplejson\__init__.pyc", line 261, in dumps
  File "simplejson\encoder.pyc", line 214, in encode
  File "simplejson\encoder.pyc", line 282, in iterencode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid data

2011-10-19 12:18:39 send STATUS 6
2011-10-19 12:18:39 bg::cleanup_playback
2011-10-19 12:18:49 bg: Got command: LOAD http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
2011-10-19 12:18:49 TorrentDef::load_from_url: add to cache, url http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
Traceback (most recent call last):
  File "Tribler\Plugin\BackgroundProcess.pyc", line 357, in gui_readlinecallback
  File "simplejson\__init__.pyc", line 261, in dumps
  File "simplejson\encoder.pyc", line 214, in encode
  File "simplejson\encoder.pyc", line 282, in iterencode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid data

2011-10-19 12:18:49 send STATUS 6
2011-10-19 12:18:49 bg::cleanup_playback
2011-10-19 12:18:59 bg: Got command: LOAD http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
2011-10-19 12:18:59 TorrentDef::load_from_url: add to cache, url http://torrentstream.info/get/a3a9c6aaa8e926c5751bbaaf41dec200e221cad5
Traceback (most recent call last):
  File "Tribler\Plugin\BackgroundProcess.pyc", line 357, in gui_readlinecallback
  File "simplejson\__init__.pyc", line 261, in dumps
  File "simplejson\encoder.pyc", line 214, in encode
  File "simplejson\encoder.pyc", line 282, in iterencode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid data

Спасибо за инфу! Мы внесем необходимые исправления в новую версию плагина.

P.S. Версия плагина 1.0.5 альфа, выпущенная после 01.11.2011 будет уже с этими правками.