https://bugzilla.redhat.com/show_bug.cgi?id=1575659
Bug ID: 1575659
Summary: [abrt] ibus-typing-booster:
get_hunspell_dictionary_wordlist():
itb_util.py:420:get_hunspell_dictionary_wordlist:TypeE
rror: not enough arguments for format string
Product: Fedora
Version: 28
Component: ibus-typing-booster
Assignee: mfabian(a)redhat.com
Reporter: gummim(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: anish.developer(a)gmail.com,
i18n-bugs(a)lists.fedoraproject.org, mfabian(a)redhat.com
Description of problem:
Trying to enable this feature under region and language settings.
Version-Release number of selected component:
ibus-typing-booster-1.5.36-1.fc28
Additional info:
reporter: libreport-2.9.5
cmdline: /usr/bin/python3 /usr/share/ibus-typing-booster/setup/main.py
crash_function: get_hunspell_dictionary_wordlist
exception_type: TypeError
executable: /usr/share/ibus-typing-booster/setup/main.py
interpreter: python3-3.6.5-1.fc28.x86_64
kernel: 4.16.5-300.fc28.x86_64
runlevel: N 5
type: Python3
uid: 1000
Truncated backtrace:
itb_util.py:420:get_hunspell_dictionary_wordlist:TypeError: not enough
arguments for format string
Traceback (most recent call last):
File "/usr/share/ibus-typing-booster/setup/main.py", line 1070, in
<module>
SETUP_UI = SetupUI(IBus.Bus())
File "/usr/share/ibus-typing-booster/setup/main.py", line 145, in __init__
config_filename=self.config_file_full_path)
File "/usr/share/ibus-typing-booster/setup/../engine/tabsqlitedb.py", line
120, in __init__
self.hunspell_obj = hunspell_suggest.Hunspell(dictionary_names)
File "/usr/share/ibus-typing-booster/setup/../engine/hunspell_suggest.py",
line 131, in __init__
self.init_dictionaries()
File "/usr/share/ibus-typing-booster/setup/../engine/hunspell_suggest.py",
line 143, in init_dictionaries
self._dictionaries.append(Dictionary(name=dictionary_name))
File "/usr/share/ibus-typing-booster/setup/../engine/hunspell_suggest.py",
line 71, in __init__
self.load_dictionary()
File "/usr/share/ibus-typing-booster/setup/../engine/hunspell_suggest.py",
line 82, in load_dictionary
self.words) = itb_util.get_hunspell_dictionary_wordlist(self.name)
File "/usr/share/ibus-typing-booster/setup/../engine/itb_util.py", line 420,
in get_hunspell_dictionary_wordlist
%aff_path)
TypeError: not enough arguments for format string
Local variables in innermost frame:
match: None
encoding_pattern:
re.compile('^[\\s]*SET[\\s]+(?P<encoding>[-a-zA-Z0-9_]+)[\\s]*$',
re.MULTILINE)
aff_buffer: 'TRY
anrisultegkmðfdvhójbáopöæyíúþýéxSHBGAEÞKVFRÁJMLNDITÍÓOPÖUÚCÆcYzÝw\n'
dictionary_encoding: 'UTF-8'
dirname: '/usr/share/myspell'
aff_path: '/usr/share/myspell/is_IS.aff'
dic_path: '/usr/share/myspell/is_IS.dic'
dirnames: ['/usr/share/hunspell', '/usr/share/myspell',
'/usr/share/myspell/dicts', '/usr/local/share/hunspell',
'/usr/local/share/myspell', '/usr/local/share/myspell/dicts']
language: 'is_IS'
--
You are receiving this mail because:
You are on the CC list for the bug.