2014-05-08, 02:04
Just installed 0.8.0beta1 on XBMC 13.0 on Android
I get this error:
sys.getfilesystemencoding() seems to be returning "None"
Changing line 58 in utils.py from:
to
Seems to fix the script.
Any ideeas?
I get this error:
Code:
02:57:13 T:1743110336 DEBUG: service.watchdog: video sources ['nfs://192.168.1.222/volume1/Media/Video0/']
02:57:13 T:1743110336 DEBUG: service.watchdog: music sources []
02:57:13 T:1743110336 ERROR: Traceback (most recent call last):
02:57:13 T:1743110336 ERROR: File "/mnt/sdcard/Android/data/org.xbmc.xbmcZ/files/.xbmc/addons/xbmc-addon-watchdog-0.8.0beta1/core/main.py", line 165, in main
02:57:13 T:1743110336 ERROR: fs_path, observer = utils.select_observer(path)
02:57:13 T:1743110336 ERROR: File "/mnt/sdcard/Android/data/org.xbmc.xbmcZ/files/.xbmc/addons/xbmc-addon-watchdog-0.8.0beta1/core/utils.py", line 58, in select_observer
02:57:13 T:1743110336 ERROR: path_alt = path.decode('utf-8').encode(sys.getfilesystemencoding())
02:57:13 T:1743110336 ERROR: TypeError: encode() argument 1 must be string, not None
02:57:13 T:1743110336 DEBUG: service.watchdog: failed to watch <nfs://192.168.1.222/volume1/Media/Video0/>
02:57:13 T:1743110336 DEBUG: service.watchdog: initialization done
sys.getfilesystemencoding() seems to be returning "None"
Changing line 58 in utils.py from:
Code:
path_alt = path.decode('utf-8').encode(sys.getfilesystemencoding())
Code:
path_alt = path.decode('utf-8').encode('utf-8')
Any ideeas?