Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements. You define your preferences by TV show or movie and Bazarr takes care of everything for you.
Describe the bug
You recently removed the usage of ContentNotUsable in #2553
But in libs/pysubs2/subrip.py you are still doing from .exceptions import ContentNotUsable
This caused the below error in my instance:
Traceback (most recent call last):
File "/opt/bazarr/bazarr/main.py", line 22, in <module>
from init import * # noqa E402
File "/opt/bazarr/bazarr/init.py", line 160, in <module>
from app.announcements import get_announcements_to_file
File "/opt/bazarr/bazarr/app/announcements.py", line 13, in <module>
from app.get_providers import get_enabled_providers
File "/opt/bazarr/bazarr/app/get_providers.py", line 7, in <module>
import subliminal_patch
File "/opt/bazarr/bazarr/../libs/subliminal_patch/__init__.py", line 7, in <module>
from .subtitle import Subtitle, guess_matches
File "/opt/bazarr/bazarr/../libs/subliminal_patch/subtitle.py", line 16, in <module>
from pysubs2.subrip import parse_tags, MAX_REPRESENTABLE_TIME
File "/opt/bazarr/bazarr/../libs/pysubs2/subrip.py", line 6, in <module>
from .exceptions import ContentNotUsable
ImportError: cannot import name 'ContentNotUsable' from 'pysubs2.exceptions'
Commenting out the import works for me.
Software (please complete the following information):
Describe the bug You recently removed the usage of ContentNotUsable in #2553
But in
libs/pysubs2/subrip.py
you are still doingfrom .exceptions import ContentNotUsable
This caused the below error in my instance:
Commenting out the import works for me.
Software (please complete the following information):