Comment 1 for bug 808154

Revision history for this message
Attila Lendvai (attila-lendvai) wrote :

not exactly the same, but:

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)