morpheus65535 / bazarr

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.
https://www.bazarr.media
GNU General Public License v3.0
2.87k stars 223 forks source link

UnicodeEncodeError on Docker installation Exception info: 'latin-1' #2116

Closed garanda21 closed 1 year ago

garanda21 commented 1 year ago

Describe the bug Using latest tag from docker image, I get error UnicodeEncodeError. Exception info: 'latin-1' if series name has an apostrophe. On previous bazaar versions it worked fine. The error is coming from subdivx provider.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Series'
  2. Click on a serie that has an accent or apostrophe on its name
  3. Use manual search from any episode.
  4. From the result list, choose subdivx to download.
  5. Go to the log to see error

Expected behavior Download subtitule.

Screenshots If applicable, add screenshots to help explain your problem.

Software (please complete the following information):

Additional context Log lines showing error:

10/04/2023 13:28:44|INFO    |root |Throttling subdivx for 10 minutes, until 23/04/10 13:38, because of: UnicodeEncodeError. Exception info: 'latin-1'|

10/04/2023 13:28:44|ERROR   |root |BAZARR No valid Subtitles file found for this file: /tv/Grey's Anatomy/Season 19/Greys.Anatomy.S19E13.1080p.WEB.h264-ELEANOR[rarbg].mkv|'NoneType: None'|

docker-compose.yml:

version: "2.1"
services:
  bazarr:
    image: lscr.io/linuxserver/bazarr:latest
    container_name: bazarr
    environment:
      - PUID=1037
      - PGID=65537
      - TZ=Europe/Madrid
    volumes:
      - /volume1/docker/bazarr:/config
      - /volume1/Public/Shared Videos/Downloads:/tv
      - /volume1/Movies/Downloads:/movies
    ports:
      - 6767:6767
    restart: unless-stopped
vitiko98 commented 1 year ago

Fixed in upcoming beta. Thanks for the report!

garanda21 commented 1 year ago

Tested on latest beta and works perfect. Thanks to you for the effort!!