version 2.0.14 on a file with non-ascii chars in its name.
Traceback (most recent call last):
File "/usr/share/subdownloader/gui/main.py", line 927, in onFolderTreeClicked
self.SearchVideos(folder_path)
File "/usr/share/subdownloader/gui/main.py", line 764, in SearchVideos
videos_found,subs_found = FileScan.ScanFilesFolders(path,recursively = True,report_progress = self.progress)
File "/usr/share/subdownloader/FileManagement/FileScan.py", line 43, in ScanFilesFolders
videos_found, subs_found = ScanFolder(path,recursively = True,report_progress=report_progress, progress_end=progress_end)
File "/usr/share/subdownloader/FileManagement/FileScan.py", line 91, in ScanFolder
report_progress(count,_("Parsing video: %s")% os.path.basename(filepath).decode(sys.getfilesystemencoding()))
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe6' in position 20: ordinal not in range(128)
not exactly the same, but:
version 2.0.14 on a file with non-ascii chars in its name.
Traceback (most recent call last): subdownloader/ gui/main. py", line 927, in onFolderTreeClicked SearchVideos( folder_ path) subdownloader/ gui/main. py", line 764, in SearchVideos found,subs_ found = FileScan. ScanFilesFolder s(path, recursively = True,report_ progress = self.progress) subdownloader/ FileManagement/ FileScan. py", line 43, in ScanFilesFolders path,recursivel y = True,report_ progress= report_ progress, progress_ end=progress_ end) subdownloader/ FileManagement/ FileScan. py", line 91, in ScanFolder progress( count,_ ("Parsing video: %s")% os.path. basename( filepath) .decode( sys.getfilesyst emencoding( ))) python2. 7/encodings/ utf_8.py" , line 16, in decode utf_8_decode( input, errors, True)
File "/usr/share/
self.
File "/usr/share/
videos_
File "/usr/share/
videos_found, subs_found = ScanFolder(
File "/usr/share/
report_
File "/usr/lib/
return codecs.
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe6' in position 20: ordinal not in range(128)