Message413508
As 'crash', as used here, is when python exits abnormally *without* an exception traceback. The traceback in the linked report is:
Traceback (most recent call last):
File "video2x.py", line 53, in <module>
from upscaler import AVAILABLE_DRIVERS
File "/home/meltonmb/video2x-4.6.1/src/upscaler.py", line 48, in <module>
language = gettext.translation(DOMAIN, LOCALE_DIRECTORY, [default_locale], fallback=True)
File "/usr/lib/python3.8/gettext.py", line 583, in translation
mofiles = find(domain, localedir, languages, all=True)
File "/usr/lib/python3.8/gettext.py", line 554, in find
for nelang in _expand_lang(lang):
File "/usr/lib/python3.8/gettext.py", line 213, in _expand_lang
loc = locale.normalize(loc)
File "/usr/lib/python3.8/locale.py", line 401, in normalize
code = localename.lower()
AttributeError: 'NoneType' object has no attribute 'lower'
Whether the bug is in the 3rd party module 'upscaler' or the stdlib module gettext depends on whether the DOMAIN, LOCALE_DIRECTORY, and [default_locale] arguments in upscaler's call to gettext.translation meet the documented requirements. What are their values? |
|
Date |
User |
Action |
Args |
2022-02-18 20:13:14 | terry.reedy | set | recipients:
+ terry.reedy, lys.nikolaou, amazingminecrafter2015 |
2022-02-18 20:13:14 | terry.reedy | set | messageid: <1645215194.49.0.300569409854.issue46735@roundup.psfhosted.org> |
2022-02-18 20:13:14 | terry.reedy | link | issue46735 messages |
2022-02-18 20:13:14 | terry.reedy | create | |
|