Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on click manual download #783

Open
alz3abi opened this issue Jun 19, 2024 · 0 comments
Open

Error on click manual download #783

alz3abi opened this issue Jun 19, 2024 · 0 comments

Comments

@alz3abi
Copy link

alz3abi commented Jun 19, 2024

Error when click to manual search.

`Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr/../libs/guessit/api.py", line 200, in guessit
    config = self.configure(options, sanitize_options=False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/guessit/api.py", line 162, in configure
    config = load_config(options)
             ^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/guessit/options.py", line 160, in load_config
    default_options_data = read_text('guessit.config', 'options.json')
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/guessit/options.py", line 22, in read_text
    return files(package).joinpath(filename).read_text()  # pylint:disable=unspecified-encoding
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/pathlib.py", line 1059, in read_text
    return f.read()
           ^^^^^^^^
  File "/usr/lib/python3.11/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5608: ordinal not in range(128)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr/subtitles/utils.py", line 41, in get_video
    video = parse_video(path, hints=hints, skip_hashing=skip_hashing, dry_run=used_scene_name, providers=providers,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../custom_libs/subzero/video.py", line 61, in parse_video
    return scan_video(fn, hints=hints, dont_use_actual_file=dry_run, providers=providers,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../custom_libs/subliminal_patch/core.py", line 838, in scan_video
    guessed_result = guessit(path, options=hints)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/guessit/api.py", line 74, in guessit
    return default_api.guessit(string, options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/guessit/api.py", line 225, in guessit
    raise GuessitException(string, options) from err
guessit.api.GuessitException: An internal error has occurred in guessit.
===================== Guessit Exception Report =====================
version=3.8.0
string=/tv/House of the Dragon/House.of.the.Dragon.S01E04.1080p.BluRay.x265-RARBG.mp4
options={'title': 'House of the Dragon', 'type': 'episode', 'single_value': True}

Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr/../libs/guessit/api.py", line 200, in guessit
    config = self.configure(options, sanitize_options=False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/guessit/api.py", line 162, in configure
    config = load_config(options)
             ^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/guessit/options.py", line 160, in load_config
    default_options_data = read_text('guessit.config', 'options.json')
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/bazarr/bin/bazarr/../libs/guessit/options.py", line 22, in read_text
    return files(package).joinpath(filename).read_text()  # pylint:disable=unspecified-encoding
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/pathlib.py", line 1059, in read_text
    return f.read()
           ^^^^^^^^
  File "/usr/lib/python3.11/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5608: ordinal not in range(128)

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant