Vocab-Apps / cloud-language-tools-core

Interface with various cloud APIs for translation, text to speech
GNU General Public License v3.0
4 stars 0 forks source link

KeyError: 'bn-Latn' #2

Open sentry-io[bot] opened 5 months ago

sentry-io[bot] commented 5 months ago

seems to cause issues when language is detected as latin

Sentry Issue: CLOUD-LANGUAGE-TOOLS-2ZF

KeyError: 'bn-Latn'
(6 additional frame(s) were not displayed)
...
  File "app.py", line 78, in wrapper
    return func(*args, **kwargs)
  File "app.py", line 250, in post
    result = manager.detect_language(text_list)
  File "enum.py", line 790, in __getitem__
    return cls._member_map_[name]
luc-vocab commented 5 months ago

report by Marcus over email