Description of problem: Used rpmlint (via “fedpkg lint”) on the “agenda” package, which has localized summaries and descriptions. Manually installing the hunspell dictionary (dnf install hunspell-ca) gets the exception to refer to the next language (de instead of ca), and I can do this for most of the languages in the spec file: sudo dnf install hunspell-{ca,de,es,fr,gl,it,ja,ko,lt,ms,pl,pt,ru,sr,ur} But some languages used in the spec file are not available (ja,ka,tr,zh), so I still get the exception no matter what I do. In any case, it seems like rpmlint should not bail with an unhandled exception when it encounters a language for which enchant has no dictionary. Version-Release number of selected component: rpmlint-1.11-15.fc33 Additional info: reporter: libreport-2.14.0 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-19aaf4ec-5862-4ad4-b3c7-f4c46acd5467.scope cmdline: /usr/bin/python3 -ttOu /usr/bin/rpmlint /home/ben/fedora/mine/agenda/agenda.spec /home/ben/fedora/mine/agenda/agenda-1.1.0-8.fc35.src.rpm crash_function: __init__ exception_type: enchant.errors.DefaultLanguageNotFoundError executable: /usr/bin/rpmlint interpreter: python3-3.9.2-1.fc33.x86_64 kernel: 5.10.19-200.fc33.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: __init__.py:140:__init__:enchant.errors.DefaultLanguageNotFoundError: ca Traceback (most recent call last): File "/usr/bin/rpmlint", line 379, in <module> main() File "/usr/bin/rpmlint", line 169, in main runChecks(pkg) File "/usr/bin/rpmlint", line 227, in runChecks check.check(pkg) File "/usr/share/rpmlint/TagsCheck.py", line 699, in check self.check_summary(pkg, lang, ignored_words) File "/usr/share/rpmlint/TagsCheck.py", line 920, in check_summary spell_check(pkg, summary, 'Summary(%s)', lang, ignored_words) File "/usr/share/rpmlint/TagsCheck.py", line 462, in spell_check checker = enchant.checker.SpellChecker( File "/usr/lib/python3.9/site-packages/enchant/checker/__init__.py", line 140, in __init__ raise DefaultLanguageNotFoundError(lang) from None enchant.errors.DefaultLanguageNotFoundError: ca Local variables in innermost frame: self: <enchant.checker.SpellChecker object at 0x7f678c9bed30> lang: 'ca' text: None tokenize: None chunkers: None filters: [<class 'enchant.tokenize.EmailFilter'>, <class 'enchant.tokenize.URLFilter'>, <class 'enchant.tokenize.WikiWordFilter'>]
Created attachment 1764172 [details] File: backtrace
Created attachment 1764173 [details] File: cpuinfo
Created attachment 1764174 [details] File: environ
Created attachment 1764175 [details] File: mountinfo
Created attachment 1764176 [details] File: namespaces
Created attachment 1764177 [details] File: open_fds
*** This bug has been marked as a duplicate of bug 1904399 ***