Crash when processing an episode file using tvdb provider
Sanrax opened this issue · 0 comments
Sanrax commented
This is one of 12 episodes in the series, the other 11 processed fine using mnamer. Attaching a crash report below:
Processing Episode "S01E10-Kanchikan Repara-te.mkv" (245.21MB)
============================== CRASH REPORT BEGIN ==============================
--------------------------------- environment ----------------------------------
- date = 2023-01-03
- platform = Linux-5.15.76-v8+-aarch64-with-glibc2.31
- arguments = ['./']
- cache location = /home/user/.cache/mnamer-py3.9.sql
- python version = 3.9.2
- mnamer version = 2.5.4
- appdirs version = 1.4.4
- guessit version = 3.2.0
- requests version = 2.25.1
- requests cache version = 0.5.2
- teletype version = 1.1.0
--------------------------------- stack trace ----------------------------------
Traceback (most recent call last):
File "/home/user/.local/lib/python3.9/site-packages/mnamer/__main__.py", line 23, in main
frontend.launch()
File "/home/user/.local/lib/python3.9/site-packages/mnamer/frontends.py", line 80, in launch
self._process_targets()
File "/home/user/.local/lib/python3.9/site-packages/mnamer/frontends.py", line 97, in _process_targets
matches = target.query()
File "/home/user/.local/lib/python3.9/site-packages/mnamer/target.py", line 233, in query
for idx, result in enumerate(results, start=1):
File "/home/user/.local/lib/python3.9/site-packages/mnamer/providers.py", line 245, in search
for result in results:
File "/home/user/.local/lib/python3.9/site-packages/mnamer/providers.py", line 302, in _search_series
series_data = tvdb_search_series(
File "/home/user/.local/lib/python3.9/site-packages/mnamer/endpoints.py", line 402, in tvdb_search_series
Language.ensure_valid_for_tvdb(language)
File "/home/user/.local/lib/python3.9/site-packages/mnamer/language.py", line 93, in ensure_valid_for_tvdb
raise MnamerException("'lang' must be one of %s" % ",".join(valid))
mnamer.exceptions.MnamerException: 'lang' must be one of ru,pl,pt,ja,tr,fi,hu,el,fr,nl,sv,ko,hr,cs,es,da,en,zh,it,sl,de,no,he
=============================== CRASH REPORT END ===============================
Dang, it looks like mnamer crashed! Please consider filling an issue at
https://github.com/jkwill87/mnamer/issues along with this report.