Hide Forgot
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'
Created attachment 1432644 [details] File: backtrace
Created attachment 1432645 [details] File: cgroup
Created attachment 1432646 [details] File: cpuinfo
Created attachment 1432647 [details] File: environ
Created attachment 1432648 [details] File: mountinfo
Created attachment 1432649 [details] File: namespaces
Created attachment 1432650 [details] File: open_fds
Icelandic is the only myspell dictionary where the /usr/share/myspell/is_IS.aff does not specify the encoding. Therefore, this bug occured only for Icelandic. This should fix it: diff --git a/engine/itb_util.py b/engine/itb_util.py index 686c3ed..807ebaa 100755 --- a/engine/itb_util.py +++ b/engine/itb_util.py @@ -416,7 +416,7 @@ def get_hunspell_dictionary_wordlist(language): else: sys.stderr.write( 'get_hunspell_dictionary_wordlist(): ' - + 'No encoding=%s found in %s\n' + + 'No encoding found in %s\n' %aff_path) else: sys.stderr.write( Will be in the next release.
ibus-typing-booster-1.5.37-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a2a718bffa
ibus-typing-booster-1.5.37-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-710dfcc94f
ibus-typing-booster-1.5.37-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-48b881c246
ibus-typing-booster-1.5.37-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-710dfcc94f
ibus-typing-booster-1.5.37-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a2a718bffa
ibus-typing-booster-1.5.37-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-48b881c246
ibus-typing-booster-1.5.37-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
ibus-typing-booster-1.5.38-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2bafb99181
ibus-typing-booster-1.5.38-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-99960355b2
ibus-typing-booster-1.5.38-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2bafb99181
ibus-typing-booster-1.5.38-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-99960355b2
ibus-typing-booster-2.0.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-45f9132ff1
ibus-typing-booster-2.0.0-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7b54425e1c
ibus-typing-booster-2.0.0-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7b54425e1c
ibus-typing-booster-2.0.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-45f9132ff1
ibus-typing-booster-2.0.0-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.