I have always an error with 0.7.1.1 beta under OpenELEC with accented names :
Code:
20:45:22 T:139850233669376 ERROR: Error Type: <type 'exceptions.UnicodeDecodeError'>
20:45:22 T:139850233669376 ERROR: Error Contents: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
20:45:22 T:139850233669376 ERROR: Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.image.mypicsdb/scanpath.py", line 510, in <module>
main2()
File "/storage/.xbmc/addons/plugin.image.mypicsdb/scanpath.py", line 150, in main2
count_files(unquote_plus(options.rootpath),recursive = options.recursive)
File "/storage/.xbmc/addons/plugin.image.mypicsdb/scanpath.py", line 217, in count_files
path,folders,files = oswalk(path).next()
File "/usr/lib/python2.7/os.py", line 284, in walk
if isdir(join(top, name)):
File "/usr/lib/python2.7/posixpath.py", line 69, in join
path += b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
I think is specific to OpenELEC because Fmronan is running ubuntu, get accented directories name and the script scan his library.
On my OpenELEC, I have mounted my shared directory so now the path for my pictures is /storage/NAS/Pictures.
If I add a subdirectory containing non accented pictures, the scan is OK and DB is populated.
If I add a subdirectory containing accented pictures (Arrière.JPG), the scan is KO.
If I renamed the picture to Arriere.JPG and restart XBMC and rescan directory, everything is OK