Comment 10 for bug 306589

Revision history for this message
WinZ (witz-sebastien) wrote :

Hi, I think this is the same bug.

I m running the version 2.0.10, and I got that error (with the -d mode : ) when i try to scan a certain directory

-------
winz@pc-ubuntu:~/Videos/Various/Prison Break Season 3 Episodes 1-13 Complete$ subdownloader -d
/usr/lib/python2.6/dist-packages/kaa/notifier/popen.py:52: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
  import popen2
/usr/lib/python2.6/dist-packages/kaa/metadata/disc/cdrom.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
[12:46] DEBUG::subdownloader.gui.main # Building main dialog
[12:46] DEBUG::subdownloader.gui.main # Showing main dialog
[12:46] DEBUG::subdownloader.gui.main # Scanning translation files .mo in folder: /usr/share/locale/
[12:46] DEBUG::subdownloader.gui.main # Found these translations languages: ['el', 'pt_PT', 'hu', 'eu', 'en', 'ja', 'gl', 'pl', 'sq', 'nl', 'es_ES', 'vi', 'sr', 'ko', 'pt_BR', 'id', 'et', 'cs', 'sk', 'mk', 'he', 'ru', 'fr', 'it', 'bg', 'sv', 'zh_TW', 'hr', 'de', 'ro', 'fi', 'da']
[12:46] DEBUG::subdownloader.gui.main # Interface language: en
[12:46] DEBUG::subdownloader.gui.main # Current directory: /media/data/Documents and Settings/Winz/Mes documents/Downloads/Movies/Various/Prison Break Season 3 Episodes 1-13 Complete
[12:46] DEBUG::subdownloader.SDService.SDService # Creating Server with server = None and proxy = None
[12:46] DEBUG::subdownloader.SDService.SDService # Creating XMLRPC server connection...
[12:46] DEBUG::subdownloader.SDService.SDService # Connecting with parameters ('http://www.opensubtitles.org/xml-rpc', None)
[12:46] DEBUG::subdownloader.SDService.SDService # Trying direct connection...
[12:46] DEBUG::subdownloader.SDService.SDService # ...connected
[12:46] DEBUG::subdownloader.SDService.SDService # Creating Server with server = None and proxy = None
[12:46] DEBUG::subdownloader.SDService.SDService # Creating XMLRPC server connection...
[12:46] DEBUG::subdownloader.SDService.SDService # Connecting with parameters ('http://sddb.subdownloader.net/xmlrpc/', None)
[12:46] DEBUG::subdownloader.SDService.SDService # Trying direct connection...
[12:46] DEBUG::subdownloader.SDService.SDService # ...connected
[12:46] DEBUG::subdownloader.SDService.SDService # ----------------
[12:46] DEBUG::subdownloader.SDService.SDService # CheckSoftwareUpdates RPC method starting...
[12:46] DEBUG::subdownloader.SDService.SDService # ----------------
[12:46] DEBUG::subdownloader.SDService.SDService # Logging in (username:'winz79')...
[12:46] DEBUG::subdownloader.SDService.SDService # Latest SubDownloader Version Found: 2.0.9
[12:46] DEBUG::subdownloader.SDService.SDService # Login ended in 0.018 with status: 200 OK
[12:46] DEBUG::subdownloader.SDService.SDService # Session ID: g43fncif75td5toh95il2kigk1
[12:46] DEBUG::subdownloader.SDService.SDService # ----------------
[12:46] DEBUG::subdownloader.FileManagement.FileScan # Scanning: /media/data/Documents and Settings/Winz/Mes documents/Downloads/Movies/Various/Prison Break Season 3 Episodes 1-13 Complete
[12:46] DEBUG::subdownloader.FileManagement.FileScan # Scanning Folder /media/data/Documents and Settings/Winz/Mes documents/Downloads/Movies/Various/Prison Break Season 3 Episodes 1-13 Complete
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 773, in emit
    stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 216: ordinal not in range(128)
[12:46] DEBUG::metadata # trying ext avi
[12:46] DEBUG::metadata # parse RIFF LIST "hdrl": 306 bytes
[12:46] DEBUG::metadata # _parseSTRH(vids) : 104 bytes
[12:46] DEBUG::metadata # _parseSTRH(auds) : 94 bytes
[12:46] DEBUG::metadata # parse RIFF LIST "INFO": 28 bytes
[12:46] DEBUG::metadata # RIFF LIST "movi" too long to parse: 362039766 bytes
[12:46] DEBUG::metadata # idx1: 2656720 bytes
[12:46] DEBUG::metadata # trying ext avi
[12:46] DEBUG::metadata # parse RIFF LIST "hdrl": 306 bytes
[12:46] DEBUG::metadata # _parseSTRH(vids) : 104 bytes
[12:46] DEBUG::metadata # _parseSTRH(auds) : 94 bytes
[12:46] DEBUG::metadata # parse RIFF LIST "INFO": 28 bytes
[12:46] DEBUG::metadata # RIFF LIST "movi" too long to parse: 362039766 bytes
[12:46] DEBUG::metadata # idx1: 2656720 bytes
Traceback (most recent call last):
  File "/usr/share/subdownloader/gui/main.py", line 950, in onFolderTreeClicked
    self.SearchVideos(folder_path)
  File "/usr/share/subdownloader/gui/main.py", line 786, in SearchVideos
    videos_found,subs_found = FileScan.ScanFilesFolders(path,recursively = True,report_progress = self.progress)
  File "/usr/share/subdownloader/FileManagement/FileScan.py", line 58, 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 106, in ScanFolder
    report_progress(count,_("Parsing video: %s")% os.path.basename(filepath).decode(sys.getfilesystemencoding()))
  File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 29: ordinal not in range(128)
-----

I succeeded in downling the Subtitles choosing the videos one by one with the "Select Vieos .." button.

I hope it can help