2012-12-29, 14:54
Hi all!
The same error has occurred to me, out of the blue, this morning.
When I looked at CommonFunctions.py I found out, that function getXBMCVersion is not able to handle the string "11.0 Git:Unknown".
As I am used to write scripts in Perl and therefore prefer regular expression to do such things, I replaced
by
Fortunately it works again now.
Have a nice day with youtube! :-)
Dschaeggi
The same error has occurred to me, out of the blue, this morning.
When I looked at CommonFunctions.py I found out, that function getXBMCVersion is not able to handle the string "11.0 Git:Unknown".
As I am used to write scripts in Perl and therefore prefer regular expression to do such things, I replaced
Code:
if version.find("-") -1:
version = version[:version.find("-")]
Code:
version = re.findall(r"\d+\.\d", version).pop()
Fortunately it works again now.
Have a nice day with youtube! :-)
Dschaeggi