emericg / OpenSubtitlesDownload

Automatically find and download the right subtitles for your favorite videos!
https://emeric.io/OpenSubtitlesDownload
GNU General Public License v3.0
607 stars 66 forks source link

Unexpected error (line 768): <class 'AttributeError'> #69

Closed hboetes closed 3 years ago

hboetes commented 3 years ago

Since the latest git version I run into this error:

% subtitledownload Some.Movie.20xx.ip.XviD.AC3-EVO.avi
Unknown GUI, falling back to an automatic CLI mode
Unexpected error (line 768): <class 'AttributeError'>
hboetes commented 3 years ago

I just checked out d07bc9488592b1b4872437b00371aef291058863 and that works fine.

hboetes commented 3 years ago
% python --version
Python 3.9.1
ema07cqc commented 3 years ago

Since the latest git version I run into this error:

% subtitledownload Some.Movie.20xx.ip.XviD.AC3-EVO.avi
Unknown GUI, falling back to an automatic CLI mode
Unexpected error (line 768): <class 'AttributeError'>

I have the same error. already know how to fix it? thanks.

ema07cqc commented 3 years ago

Since the latest git version I run into this error:

% subtitledownload Some.Movie.20xx.ip.XviD.AC3-EVO.avi
Unknown GUI, falling back to an automatic CLI mode
Unexpected error (line 768): <class 'AttributeError'>

I have the same error. already know how to fix it? thanks.

Fixed using this version https://github.com/emericg/OpenSubtitlesDownload/raw/18d17897187321895c0b61f72ff3431a275e55a8/OpenSubtitlesDownload.py

kryzar commented 3 years ago

Hi,

I am having the same issue:

Unexpected error (line 768): <class 'AttributeError'>

It occurs when the variable opt_selection_mode is set to 'auto' in the file OpenSubtitlesDownload.py. If I set the variable to 'default', then there is no problem. I am running version 6f18f4434f1a5ecc031213c6b95100bde3f94a4e.

emericg commented 3 years ago

Sorry guys I wasn't home this week. This should be fixed now!

hboetes commented 3 years ago

Yes, the problem has been solved. Thanks.

emericg commented 3 years ago

Thanks for testing guys!

kryzar commented 3 years ago

Hey no problem! Your project is very useful.