2017-11-26, 00:38
I can't download any video in a fresh osmc install (raspberry). Here is the log:
I've tried different regional utf8 configs with no luck.
locale command return this:
Any ideas?
Thanks in advance!
Code:
20:05:12.415 T:1323820016 WARNING: Attempt to use invalid handle -1
20:05:14.508 T:1323820016 WARNING: Previous line repeats 4 times.
20:05:14.508 T:1323820016 NOTICE: script.module.youtube.dl: youtube_dl core version: 2017.07.09
20:05:35.383 T:1340597232 WARNING: CPythonInvoker(16): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
20:05:39.336 T:1340597232 NOTICE: script.module.youtube.dl: youtube_dl core version: 2017.07.09
20:05:39.341 T:1340597232 NOTICE: script.module.youtube.dl: DOWNLOAD SERVICE: START
20:05:39.347 T:1340597232 NOTICE: script.module.youtube.dl: Loading from queue. #1 this session
20:05:40.318 T:1323820016 ERROR: [debug] Encodings: locale UTF-8, fs UTF-8, out missing (instance), pref UTF-8
20:05:40.319 T:1323820016 ERROR: [debug] youtube-dl version 2017.07.09
20:05:40.420 T:1323820016 ERROR: Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/osmc/.kodi/addons/script.module.youtube.dl/lib/YDStreamExtractor.py", line 320, in _handleDownload
result = download(info, util.TMP_PATH)
File "/home/osmc/.kodi/addons/script.module.youtube.dl/lib/YDStreamExtractor.py", line 409, in download
ytdl = YoutubeDLWrapper._getYTDL()
File "/home/osmc/.kodi/addons/script.module.youtube.dl/lib/YoutubeDLWrapper.py", line 314, in _getYTDL
_YTDL = YoutubeDLWrapper({'verbose': True})
File "/home/osmc/.kodi/addons/script.module.youtube.dl/lib/YoutubeDLWrapper.py", line 190, in __init__
youtube_dl.YoutubeDL.__init__(self, *args, **kwargs)
File "/home/osmc/.kodi/addons/script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py", line 403, in __init__
self.print_debug_header()
File "/home/osmc/.kodi/addons/script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py", line 2176, in print_debug_header
platform.python_version(), platform_name()))
AttributeError: 'module' object has no attribute 'python_version'
20:05:40.460 T:1340597232 NOTICE: script.module.youtube.dl: DOWNLOAD SERVICE: FINISHED
I've tried different regional utf8 configs with no luck.
locale command return this:
Code:
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Any ideas?
Thanks in advance!