Package Details: bazarr 1.4.3-1

Git Clone URL: https://aur.archlinux.org/bazarr.git (read-only, click to copy)
Package Base: bazarr
Description: Subtitle management and download automation for Sonarr and Radarr.
Upstream URL: https://github.com/morpheus65535/bazarr
Licenses: GPL3
Submitter: fryfrog
Maintainer: fryfrog (xiota)
Last Packager: fryfrog
Votes: 17
Popularity: 0.042448
First Submitted: 2018-09-03 05:42 (UTC)
Last Updated: 2024-05-14 02:50 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

xhikari commented on 2023-05-09 02:00 (UTC)

Broken on newer Python

Python version greater than 3.10.x is unsupported. Current version is 3.11.3. Keep in mind that >

oysstu commented on 2023-05-06 09:49 (UTC)

python-pillow missing from dependencies

bkb commented on 2023-01-18 20:57 (UTC) (edited on 2023-02-10 19:28 (UTC) by bkb)

Add to servarr meta package group

carbolymer commented on 2021-12-13 17:50 (UTC) (edited on 2021-12-13 17:54 (UTC) by carbolymer)

The package is broken on python 3.10:

systemd[1]: Started Bazarr Service.
bazarr[57764]: Traceback (most recent call last):
bazarr[57764]:   File "/usr/lib/bazarr/bazarr/main.py", line 18, in <module>
bazarr[57764]:     from config import settings, url_sonarr, url_radarr, configure_proxy_func, base_url
bazarr[57764]:   File "/usr/lib/bazarr/bazarr/config.py", line 9, in <module>
bazarr[57764]:     from subliminal.cache import region
bazarr[57764]:   File "/usr/lib/bazarr/bazarr/../libs/subliminal/__init__.py", line 12, in <module>
bazarr[57764]:     from .core import (AsyncProviderPool, ProviderPool, check_video, download_best_subtitles, download_subtitles,
bazarr[57764]:   File "/usr/lib/bazarr/bazarr/../libs/subliminal/core.py", line 29, in <module>
bazarr[57764]:     from babelfish import Language, LanguageReverseError
bazarr[57764]:   File "/usr/lib/bazarr/bazarr/../libs/babelfish/__init__.py", line 20, in <module>
bazarr[57764]:     from .converters import (LanguageConverter, LanguageReverseConverter, LanguageEquivalenceConverter, CountryConverter,
bazarr[57764]:   File "/usr/lib/bazarr/bazarr/../libs/babelfish/converters/__init__.py", line 6, in <module>
bazarr[57764]:     from pkg_resources import iter_entry_points, EntryPoint
bazarr[57764]:   File "/usr/lib/bazarr/bazarr/../libs/pkg_resources/__init__.py", line 82, in <module>
bazarr[57764]:     __import__('pkg_resources.extern.packaging.requirements')
bazarr[57764]:   File "/usr/lib/bazarr/bazarr/../libs/pkg_resources/_vendor/packaging/requirements.py", line 9, in <module>
bazarr[57764]:     from pkg_resources.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException
bazarr[57764]:   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
bazarr[57764]:   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
bazarr[57764]:   File "<frozen importlib._bootstrap>", line 672, in _load_unlocked
bazarr[57764]:   File "<frozen importlib._bootstrap>", line 632, in _load_backward_compatible
bazarr[57764]:   File "/usr/lib/bazarr/bazarr/../libs/pkg_resources/extern/__init__.py", line 43, in load_module
bazarr[57764]:     __import__(extant)
bazarr[57764]:   File "/usr/lib/bazarr/bazarr/../libs/pkg_resources/_vendor/pyparsing.py", line 943, in <module>
bazarr[57764]:     collections.MutableMapping.register(ParseResults)
bazarr[57764]: AttributeError: module 'collections' has no attribute 'MutableMapping'
bazarr[57750]: Bazarr starting...
bazarr[57750]: Bazarr exited.
systemd[1]: bazarr.service: Deactivated successfully.

The author says that only python <=3.8 is supported: https://old.reddit.com/r/bazarr/comments/qtw6dy/attributeerror_module_collections_has_no/hkmuab9/?context=10000

Upstream release with fix ETA in couple of weeks: https://github.com/morpheus65535/bazarr/issues/1640#issuecomment-992645002

fryfrog commented on 2021-10-19 16:24 (UTC)

I got nothing, hop on Discord and feel free to @mention me. We can work on it together w/ them. Maybe some missing dep? But it just doesn't look like it.

G4Zz0L1 commented on 2021-10-19 16:18 (UTC)

Same story launched by hand in the /usr/lib/bazarr folder with the bazarr user. Anything else I can check?

fryfrog commented on 2021-10-19 15:25 (UTC)

@G4Zz0L1: It works for me on 3.9.7. I double checked the requirements.txt and everything was in there except python-setuptools. I added it to makedepends, but that isn't likely your issue.

Try running it by hand the same way your service does? Their Discord may be helpful too.

G4Zz0L1 commented on 2021-10-19 13:23 (UTC) (edited on 2021-10-19 16:34 (UTC) by G4Zz0L1)

Anyone knows how to make it work with the python core package (version 3.9.7)?

ott 19 09:45:57 systemd[1]: Started Bazarr Service.
ott 19 09:45:58 bazarr[1177]: Traceback (most recent call last):
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/bazarr/bazarr/main.py", line 28, in <module>
ott 19 09:45:58 bazarr[1177]:     from init import *
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/bazarr/bazarr/init.py", line 191, in <module>
ott 19 09:45:58 bazarr[1177]:     init_binaries()
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/bazarr/bazarr/init.py", line 169, in init_binaries
ott 19 09:45:58 bazarr[1177]:     from utils import get_binary
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/bazarr/bazarr/utils.py", line 22, in <module>
ott 19 09:45:58 bazarr[1177]:     from list_subtitles import store_subtitles, store_subtitles_movie
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/bazarr/bazarr/list_subtitles.py", line 9, in <module>
ott 19 09:45:58 bazarr[1177]:     from subliminal_patch import core, search_external_subtitles
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/bazarr/bazarr/../libs/subliminal_patch/__init__.py", line 8, in <module>
ott 19 09:45:58 bazarr[1177]:     from .providers import Provider
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/bazarr/bazarr/../libs/subliminal_patch/providers/__init__.py", line 30, in <module>
ott 19 09:45:58 bazarr[1177]:     mod = importlib.import_module("subliminal_patch.providers.%s" % module_name.lower())
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
ott 19 09:45:58 bazarr[1177]:     return _bootstrap._gcd_import(name[level:], package, level)
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/bazarr/bazarr/../libs/subliminal_patch/providers/legendastv.py", line 8, in <module>
ott 19 09:45:58 bazarr[1177]:     from subliminal.providers.legendastv import LegendasTVSubtitle as _LegendasTVSubtitle, \
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/bazarr/bazarr/../libs/subliminal/providers/legendastv.py", line 28, in <module>
ott 19 09:45:58 bazarr[1177]:     language_converters.register('legendastv = subliminal.converters.legendastv:LegendasTVConverter')
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/bazarr/bazarr/../libs/babelfish/converters/__init__.py", line 275, in register
ott 19 09:45:58 bazarr[1177]:     raise ValueError('Already registered')
ott 19 09:45:58 bazarr[1177]: ValueError: Already registered
ott 19 09:45:58 bazarr[1177]: Error in atexit._run_exitfuncs:
ott 19 09:45:58 bazarr[1177]: Traceback (most recent call last):
ott 19 09:45:58 bazarr[1177]:   File "/usr/lib/bazarr/bazarr/../libs/playhouse/sqliteq.py", line 279, in stop
ott 19 09:45:58 bazarr[1177]:     self._writer.join()
ott 19 09:45:58 bazarr[1177]:   File "src/gevent/greenlet.py", line 831, in gevent._gevent_cgreenlet.Greenlet.join
ott 19 09:45:58 bazarr[1177]:   File "src/gevent/greenlet.py", line 857, in gevent._gevent_cgreenlet.Greenlet.join
ott 19 09:45:58 bazarr[1177]:   File "src/gevent/greenlet.py", line 846, in gevent._gevent_cgreenlet.Greenlet.join
ott 19 09:45:58 bazarr[1177]:   File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
ott 19 09:45:58 bazarr[1177]:   File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
ott 19 09:45:58 bazarr[1177]:   File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
ott 19 09:45:58 bazarr[1177]:   File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switch
ott 19 09:45:58 bazarr[1177]: gevent.exceptions.LoopExit: This operation would block forever
ott 19 09:45:58 bazarr[1177]:         Hub: <Hub '' at 0x7f6c1a7adf40 epoll default pending=0 ref=-1 thread_ident=0x7f6c1c21c740>
ott 19 09:45:58 bazarr[1177]:         Handles:
ott 19 09:45:58 bazarr[1177]: []
ott 19 09:45:59 bazarr[1085]: Python 3.9.x is unsupported. Current version is 3.9.7. Keep in mind that even if it works, you're on your own.
ott 19 09:45:59 bazarr[1085]: Bazarr starting...
ott 19 09:45:59 bazarr[1085]: Bazarr exited.
ott 19 09:45:59 systemd[1]: bazarr.service: Deactivated successfully.

fryfrog commented on 2021-08-21 17:22 (UTC)

When you ran with sudo, you'd have caused a bunch of stuff to be owned by root, so now it wouldn't work as the bazarr user. Fix permissions and then sudo -u bazarr to test running it by hand if the service isn't working. And for more support, hop on their Discord or /r/bazarr sub-reddit. You're not really having a package issue.