emericg / OpenSubtitlesDownload

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

Error: [class 'KeyError'] Line: 838 #105

Closed YoureMySoul closed 5 months ago

YoureMySoul commented 6 months ago
$ OpenSubtitlesDownload.py --cli -t manual *E02*.mkv
>> OpenSubtitlesDownload encountered an unknown error, sorry about that...
Error: [class 'KeyError']
Line: 838
Just to be safe, please check:
- Your Internet connection status
- www.opensubtitles.com availability
- Your download limits (10 subtitles per 24h for non VIP users)
- That are using the latest version of this software ;-)

Under dev ? : false Allow anonymous ? : true

My account at OpenSubtitles.com is freshly created. It wasn't working one month ago, and it still doesn't work with the latest version. I guess that the previous issue was also a "KeyError".

On the stats page, all of the statistics are currently empty.

roberthr74 commented 6 months ago

I also error like this. Not with every title, but most of them.

Unexpected error (line 549): <class 'http.client.RemoteDisconnected'>

OpenSubtitlesDownload encountered an unknown error, sorry about that... Error: [class 'TypeError'] Line: 830 Just to be safe, please check:

  • Your Internet connection status
  • www.opensubtitles.com availability
  • Your download limits (10 subtitles per 24h for non VIP users)
  • That are using the latest version of this software ;-)
emericg commented 6 months ago

Can you guys check if the version 6.1 solves your issues?

roberthr74 commented 6 months ago

Looks llike it's working now!!! Thank you so much :-)

emericg commented 6 months ago

No problem :) The first version using the new API was rushed to be ready on January 1st, it's bound to have a couple issues :/

YoureMySoul commented 6 months ago

still doesn't work but line number and error changed with the v6.1:

Error: [class 'NameError']
Line: 874

Edit 1: I can't even print the item variable on the line 872:

print(item)

Error: [class 'NameError']

YoureMySoul commented 5 months ago

Thank you for this awesome tool.