Release [Module] youtube-dl - multi-site playable URL resolver
(2017-11-26, 23:59)ruuk Wrote:
(2017-11-26, 02:48)marcoant Wrote:
(2017-11-26, 00:58)ruuk Wrote:
Code:
platform.python_version(), platform_name()))
AttributeError: 'module' object has no attribute 'python_version'

This is the actual error. It looks like some sort of problem with your install, because the platform module most definitely has python_version().      
 It's a fresh osmc install. I've made a test.py and print platform.python_version() returns 2.7.9 with no errors. Don't you think the first error line would be the cause of the exception below? 

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:  
...     

Running python outside of OSMC vs inside of OSMC is not the same thing. I understand that you have a fresh OSMC install but this is the first time this error has been reported and this version is four months old, so it looks like something is wrong with the install because of the nature of the error, and the fact that you are the only one with this error. This could be an OSMC bug as well. Also, please note that this add-on is supported on Kodi, and while the media player in OSMC is based on Kodi, it is not Kodi.

It looks like you must have 'Enable youtube-dl verbose logging' enabled. The 'Encodings' and version info are part of debug output for youtube-dl and are informational (in other words, they are not actual errors), and should only be showing (as far as I know) when that is enabled. It also appears the code that is causing this error can only occur when this is enabled. Please make sure that it is not enabled. If you do need to disable it and afterwards have a different error, please share a log. I need the whole log so either use a paste service or, if you like, I can PM you an email address to send it to.  
 You were right about the error when enabling verbose logging. The script is working fine after disabling it!!! What I don't know is what was the error in the first place and how it was solved. I mean I enabled verbose logging because I couldn't get the script to work at first. I even reinstalled osmc again. Maybe the first osmc install had any problem and maybe the second install was ok but as I directly enabled verbose logging this time I couldn't get it to work too. 

Thanks very much!
Reply


Messages In This Thread
v14.810.0 - by ruuk - 2014-08-11, 19:45
v14.925.0 - by ruuk - 2014-09-25, 17:49
v14.1026.0 - by ruuk - 2014-10-26, 21:53
v14.1210.0 - by ruuk - 2014-12-10, 23:32
v14.1210.1 - by ruuk - 2014-12-11, 21:17
v15.318.0 - by ruuk - 2015-04-02, 23:01
v15.1123.0 - by ruuk - 2015-11-23, 21:20
v15.1124.0 - by ruuk - 2015-11-24, 21:05
v15.1223.0 - by ruuk - 2015-12-23, 22:27
v16.306.0 - by ruuk - 2016-03-13, 19:05
v16.318.0 - by ruuk - 2016-03-21, 20:31
v16.327.0 - by ruuk - 2016-03-31, 01:12
v16.521.0 - by ruuk - 2016-05-22, 18:15
v16.627.0 - by ruuk - 2016-06-28, 20:38
v16.1026.0 - by ruuk - 2016-10-28, 18:32
v17.310.0 - by ruuk - 2017-03-11, 23:47
v17.518.0 - by ruuk - 2017-05-21, 08:53
v17.518.1 - by ruuk - 2017-05-25, 04:00
v17.709.0 - by ruuk - 2017-07-11, 03:00
v17.1228.0 - by ruuk - 2017-12-28, 22:46
v17.1231.0 - by ruuk - 2018-01-01, 05:46
v18.320.0 - by ruuk - 2018-03-25, 02:07
v18.425.0 - by ruuk - 2018-04-28, 02:53
v14.1217.0 - by ruuk - 2014-12-27, 21:12
RE: Script Error Message - by ruuk - 2016-04-14, 13:15
RE: v16.1026.0 - by Lunatixz - 2016-10-28, 20:25
RE: [Module] youtube-dl - multi-site playable URL resolver - by marcoant - 2017-11-28, 00:10
L0RE - by L0RE - 2017-12-19, 14:34
Script Error Message - by eondesigns1138 - 2016-04-08, 10:46
Error python dependency 2.25.0 - by Alyy - 2016-05-21, 10:45


Logout Mark Read Team Forum Stats Members Help
[Module] youtube-dl - multi-site playable URL resolver2
This forum uses Lukasz Tkacz MyBB addons.