Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make check fails on FreeBSD since 2.5.0 #46

Closed
thierry-FreeBSD opened this issue Jan 30, 2019 · 1 comment
Closed

make check fails on FreeBSD since 2.5.0 #46

thierry-FreeBSD opened this issue Jan 30, 2019 · 1 comment
Labels

Comments

@thierry-FreeBSD
Copy link
Contributor

Hello,
Issue #38 (Korean) is still open, but make checkfails on FreeBSD with 2.5.0 and 2.5.1 with a different error:

======================================================================
ERROR: test_accent_insensitive_matching_french_dictionary (test_itb.ItbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/ports/textproc/ibus-typing-booster/work/ibus-typing-booster-2.5.1/tests/test_itb.py", line 50, in setUp
    self.set_default_settings()
  File "/usr/ports/textproc/ibus-typing-booster/work/ibus-typing-booster-2.5.1/tests/test_itb.py", line 155, in set_default_settings
    'toggle_off_the_record': ['Mod5+F9'],
  File "../engine/hunspell_table.py", line 1265, in set_keybindings
    self._init_properties()
  File "../engine/hunspell_table.py", line 1627, in _init_properties
    self.dictionary_menu, current_mode=0)
  File "../engine/hunspell_table.py", line 1367, in _init_or_update_property_menu_dictionary
    sub_properties, current_mode=current_mode)
  File "../engine/hunspell_table.py", line 1469, in _init_or_update_sub_properties_dictionary
    self._prop_dict[mode].set_label(
KeyError: 'Dictionary.0'

======================================================================

Note: py-hunspell is 0.5.5 (Python 3.6).
A solution for this problem is given at https://stackoverflow.com/questions/23297569/python-key-error-0-cant-find-dict-error-in-code

@mike-fabian
Copy link
Owner

Fixed in https://github.com/mike-fabian/ibus-typing-booster/releases/tag/2.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants