You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears recent Python versions have caused subdl to break.
All subtitle queries are now throwing the following error:
Traceback (most recent call last):
File "/usr/bin/subdl", line 537, in <module>
cli()
File "/usr/bin/subdl", line 534, in cli
main(sys.argv[1:])
File "/usr/bin/subdl", line 485, in main
search_results = SearchSubtitlesByString(file_name, options.lang)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/subdl", line 227, in SearchSubtitlesByString
data = results['data']
~~~~~~~^^^^^^^^
KeyError: 'data'
In addition to throwing (minor) warnings for escape sequences
I propose making each of those 'real' strings, as seen with PR #44
But this only tackles the second minor escape sequences error.
It may be worth noting that earlier packaged versions, such as seen on Arch Linux, before e01c13e
was applied, only require that and do not suffer the same major breakage resulting in " KeyError: 'data' "
It appears recent Python versions have caused subdl to break.
All subtitle queries are now throwing the following error:
In addition to throwing (minor) warnings for escape sequences
The text was updated successfully, but these errors were encountered: