Closed alfuraiji closed 1 day ago
I haven't specifically tested with beta.27 but I can't reproduce with beta.30.
Maybe provide a debug log if you're able to reproduce?
Tested with 1.4.4-beta.30 it works fine! tested with multiple SRTs
Sorry couldn't post the log because I cleared it and forgot which SRT got blanked will keep testing manually before I enable the auto-sync.
Thanks
Hi It happened again .. Arabic SRT files still get cleared and become blank with auto sync enabled.
those all are zero bytes now.
here is the log
I'm on v1.4.6-beta.12
@alfuraiji it's a totally new issue:
BAZARR Error (cannot access local variable 'anidb_id' where it is not associated with a value) trying to get video information for this file: /data/anime/Detective Conan/Season 32/Detective Conan - S32E12 - The Lost Treasure Mystery - 2024-04-13 - HDTV-1080p v2 - Erai-raws.mkv|Traceback (most recent call last):
File "/app/bin/bazarr/subtitles/utils.py", line 48, in get_video
refiner(path, video)
File "/app/bin/bazarr/subtitles/refiners/anidb.py", line 206, in refine_from_anidb
refine_anidb_ids(video)
File "/app/bin/bazarr/subtitles/refiners/anidb.py", line 214, in refine_anidb_ids
anidb_series_id, anidb_episode_no, anidb_season_episode_offset = anidb_client.get_show_information(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bin/bazarr/../libs/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bin/bazarr/../libs/dogpile/cache/region.py", line 1632, in get_or_create_for_user_func
return self.get_or_create(
^^^^^^^^^^^^^^^^^^^
File "/app/bin/bazarr/../libs/dogpile/cache/region.py", line 1092, in get_or_create
with Lock(
File "/app/bin/bazarr/../libs/dogpile/lock.py", line 185, in __enter__
return self._enter()
^^^^^^^^^^^^^
File "/app/bin/bazarr/../libs/dogpile/lock.py", line 94, in _enter
generated = self._enter_create(value, createdtime)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bin/bazarr/../libs/dogpile/lock.py", line 178, in _enter_create
return self.creator()
^^^^^^^^^^^^^^
File "/app/bin/bazarr/../libs/dogpile/cache/region.py", line 1046, in gen_value
created_value = creator(
^^^^^^^^
File "/app/bin/bazarr/subtitles/refiners/anidb.py", line 134, in get_show_information
return anidb_id, episode - offset, offset
^^^^^^^^
UnboundLocalError: cannot access local variable 'anidb_id' where it is not associated with a value
@anderson-oki any idea?
@morpheus65535 It is fixed here 😸 https://github.com/morpheus65535/bazarr/pull/2736
I guess v1.4.6-beta.13
Ok thanks! So it will be fixed in upcoming beta.
Great! Thanks
Describe the bug Bazarr is turning SRT files into blanks ( deletes everything inside the file ) after syncing - ASS files sync normally. ( happens with Arabic subtitles not sure about other languages )
To Reproduce Steps to reproduce the behavior: Just sync any subtitle with an SRT file
Software