Closed marcoant closed 6 years ago
I'm getting an error after installing the script in osmc (fresh install). Could be a problem with python version? an enconding problem?
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
Thanks in advance!
It looks like something is wrong with your install because the Python platform module does indeed have the function that the error says is missing.
I'm getting an error after installing the script in osmc (fresh install). Could be a problem with python version? an enconding problem?
Thanks in advance!