I did an fsck on the SD card checks out ok, but think I found the error from the pastebin:
19:52:02.027 T:1741681648 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type ‘exceptions.SyntaxError’>
Error Contents: ("Non-ASCII character ‘\xf2’ in file /usr/lib/python2.7/cookielib.py on line 749, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details", (’/usr/lib/python2.7/cookielib.py’, 749, 0, None))
Traceback (most recent call last):
File “/usr/share/kodi/addons/service.osmc.settings/service.py”, line 26, in
import resources.lib.osmc_main as m
File “/usr/share/kodi/addons/service.osmc.settings/resources/lib/osmc_main.py”, line 52, in
File “/usr/share/kodi/addons/service.osmc.settings/resources/lib/osmc_walkthru.py”, line 11, in
File “/usr/lib/python2.7/dist-packages/requests/init.py”, line 80, in
from . import utils
File “/usr/lib/python2.7/dist-packages/requests/utils.py”, line 25, in
from .compat import parse_http_list as _parse_list_header
File “/usr/lib/python2.7/dist-packages/requests/compat.py”, line 91, in
SyntaxError: (“Non-ASCII character ‘\xf2’ in file /usr/lib/python2.7/cookielib.py on line 749, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details”, (’/usr/lib/python2.7/cookielib.py’, 749, 0, None))
–>End of Python script error report<–
An exception error.
I viewed the contents of /sur/lib/python2.7/cookielib.py
and at line 748:
# normalise case, as per RFC 2965 secti^?. 3.3.3
( ! self.domain = domain.loweò()
self.d/main_specified = domain_specified^Z # SIgè. W% nded to know whether the dooain given in the
$ # cookie-attribute had an initial tot, in order to follow RFC 2965
# has clarified ij dvaft e2rata). Needed for phe returned $Domain
^@ # van5e.
Indeed line 749 contains non ASCII character.
Question is, is this normal ??
Not sure if I can reinstall python 2.7 or this one file?
If anyone can compare their cookielib.py at line 749 it would eliminate this file.
I’m preparing to reinstall just in case it cant be fixed