Closed Salvatos closed 5 years ago
When using a git checkout to build instead of the tarball, configure is not yet there. You need to create it using ./autogen.sh as described on http://mike-fabian.github.io/ibus-typing-booster/development.html
./autogen.sh
If you like, you can already give the configure options you need on the autogen.sh command line, for example for Ubuntu (I think Mint is almost the same as Ubuntu) this would be:
./autogen.sh --prefix=/usr --libexecdir=/usr/lib/ibus
Or you can first run just autogen.sh and then configure.
If you start from a release tarball instead of from a git checkout, configure should already be there and you don’t need autogen.sh.
I created those two files manually
No, don't do that! Install the autopoint
package, then run autogen.sh
and these files will be created.
The tarball already contains these files:
$ tar tvf ibus-typing-booster-2.7.1.tar.gz | grep -e '\(config.rpath\|ABOUT-NLS\)'
-rw-r--r-- 10030/10030 79584 2019-10-28 11:02 ibus-typing-booster-2.7.1/ABOUT-NLS
-rwxr-xr-x 10030/10030 16164 2019-10-28 11:02 ibus-typing-booster-2.7.1/config.rpath
So you run into that problem only when building from git, not when building from a release tarball.
I.e. when building from a release tarball, autopoint
is not needed, only when building from git you need it.
Maybe I should add it to http://mike-fabian.github.io/ibus-typing-booster/development.html as a build requirement nevertheless, even though it is not required when building from a release tarball.
so I went online and found that I should first run aclocal, autoconf and automake --add-missing.
Running autogen.sh does all this for you.
Ah, I had the wrong tarball. I had to use sudo on make install
but I've got it installed and configured now. However it doesn't show any suggestions (no suggestion box at all) =/
Is there a log that would help figure out the reason for that?
~/.local/share/ibus-typing-booster/debug.log
Doesn't look like anything is out of place there =/
2019-10-28 14:31:10,689 main.py line 238 main INFO: ********** STARTING **********
2019-10-28 14:31:11,688 tabsqlitedb.py line 164 __init__ INFO: Compatible database /home/salvatos/.local/share/ibus-typing-booster/user.db found.
2019-10-28 14:31:11,688 tabsqlitedb.py line 173 __init__ INFO: Connect to the database /home/salvatos/.local/share/ibus-typing-booster/user.db.
2019-10-28 14:31:11,803 itb_util.py line 3168 _read_compose_file INFO: Reading compose file /usr/share/X11/locale/en_US.UTF-8/Compose
2019-10-28 14:31:12,037 itb_util.py line 2865 get_hunspell_dictionary_wordlist INFO: /usr/share/hunspell/fr_CA.dic file found.
2019-10-28 14:31:12,082 itb_util.py line 2889 get_hunspell_dictionary_wordlist INFO: dictionary encoding=UTF-8 found in /usr/share/hunspell/fr_CA.aff
2019-10-28 14:31:12,523 itb_util.py line 2926 get_hunspell_dictionary_wordlist INFO: Successfully loaded /usr/share/hunspell/fr_CA.dic using UTF-8 encoding.
2019-10-28 14:31:12,869 itb_util.py line 2865 get_hunspell_dictionary_wordlist INFO: /usr/share/hunspell/en_US.dic file found.
2019-10-28 14:31:13,005 itb_util.py line 2889 get_hunspell_dictionary_wordlist INFO: dictionary encoding=UTF-8 found in /usr/share/hunspell/en_US.aff
2019-10-28 14:31:13,209 itb_util.py line 2926 get_hunspell_dictionary_wordlist INFO: Successfully loaded /usr/share/hunspell/en_US.dic using UTF-8 encoding.
2019-10-28 14:31:13,388 hunspell_table.py line 543 __init__ INFO: ********** Initialized and ready for input: **********
Looks normal, yes.
You could increase the debug level in the setup tool to get more debug messages after "ready for input"
What is your desktop environment and into what applications are you typing?
I am using Cinnamon and I’ve been typing in xed, Firefox and LibreOffice Writer. I bumped it up to 3 incrementally and typed in between each but I still don’t see anything useful:
2019-10-28 14:50:56,157 hunspell_table.py line 4949 on_gsettings_value_changed DEBUG: Settings changed: key=debuglevel value=1
2019-10-28 14:51:55,831 hunspell_table.py line 4949 on_gsettings_value_changed DEBUG: Settings changed: key=debuglevel value=2
2019-10-28 14:51:55,831 hunspell_table.py line 1998 _update_ui DEBUG: entering function
2019-10-28 14:51:55,831 hunspell_table.py line 1797 _update_preedit DEBUG: entering function
2019-10-28 14:52:20,191 hunspell_table.py line 4949 on_gsettings_value_changed DEBUG: Settings changed: key=debuglevel value=3
2019-10-28 14:52:20,192 hunspell_table.py line 3645 set_debug_level DEBUG: (3, update_gsettings = False)
2019-10-28 14:52:20,192 hunspell_table.py line 1998 _update_ui DEBUG: entering function
2019-10-28 14:52:20,192 hunspell_table.py line 1797 _update_preedit DEBUG: entering function
Do you have any environnement variables for ibus set? Depending on your desktop and application setting these might help:
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
Try to start libreoffice and Firefox in an environment where these are set.
I've added both but I don't see a difference in behaviour or in the log even after a reboot.
I tried installing the latest Mint+Cinnamon in a VM to compare, and everything is the same.
Surprise update: It shows up in Discord, although the preedit is invisible despite my IBus options.
I’ve tried a few more programs but this is the only success so far. Could it be because I installed it via a flatpack (I think)?
What did you install via flatpack? Discord?
No problem for me in a Fedora 31 vm with the cinnamon desktop.
I did a default installation of linuxmint-19.2-cinnamon-64bit.iso in Japanese and Japanese input via fcitx (not ibus!) was installed.
Does fcitx run on your system?
What did you install via flatpack? Discord?
Correct! Also, even though I say it works, actually selecting and entering a suggestion doesn’t seem to.
According to the package manager I don’t have any of the fcitx-related packages installed.
I just installed ibus stuff as well in my mint test vm:
sudo apt install ibus-m17n ibus-anthy ibus-kkc
Then switched the input method in the settings of the cinnamon desktop from fcitx to ibus, then added the Japanese ibus input methods ibus-anthy and ibus-kkc to the ibus setup. Both Japanese input methods worked fine.
Then I installed stuff needed to build ibus-typing-booster:
sudo apt install autopoint autoconf automake python3 ibus libibus-1.0-dev
and for testing:
sudo apt install libm17n-0 m17n-db python3-enchant hunspell-de-de hunspell-cs hunspell-es hunspell-it hunspell-ko
and git
sudo apt install git
Then I copied a git checkout of ibus-typing-booster into the vm and did:
cd ibus-typing-booster
git clean -dxf
./autogen.sh --prefix=/usr --libexecdir=/usr/lib/ibus
make
sudo make install
make check
The make check
worked fine, only 3 fails, 2 because the Indian inscript2 input methods are not installed on mint, 1 because the Korean hunspell dictionary on Mint is different than the one on Fedora.
If I install the inscript2 input methods and copy the Korean dictionary over from my Fedora system, these 3 tests pass as well (Making these 3 tests pass is completely optional of course, unless you really need inscript2 or Korean you can ignore these tests).
Finally I tried to use ibus-typing-booster in libreoffice. Worked without a problem:
In firefox it works as well.
So I have no idea what you are doing wrong.
Does ibus seem to be running correctly for you? I.e. does it look similar to this?:
mfabian@linuxmint:~$ ps aux | grep ibus
mfabian 22398 0.0 0.4 429984 8220 ? Ssl 19:04 0:00 /usr/bin/ibus-daemon --daemonize --xim --address unix:tmpdir=/tmp/ibus
mfabian 22402 0.0 0.3 275220 7112 ? Sl 19:04 0:00 /usr/lib/ibus/ibus-dconf
mfabian 22403 0.0 1.9 491504 40748 ? Sl 19:04 0:01 /usr/lib/ibus/ibus-ui-gtk3
mfabian 22407 0.0 1.0 323020 21360 ? Sl 19:04 0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
mfabian 22412 0.0 0.3 273160 6356 ? Sl 19:04 0:00 /usr/lib/ibus/ibus-portal
mfabian 22437 0.0 3.1 526024 64732 ? Sl 19:04 0:01 /usr/bin/python3 /usr/share/ibus-typing-booster/engine/main.py --ibus
mfabian 22790 0.0 0.3 199364 6332 ? Sl 19:05 0:00 /usr/lib/ibus/ibus-engine-simple
mfabian 23255 0.0 0.0 15780 1004 pts/1 S+ 19:38 0:00 grep --color=auto ibus
mfabian@linuxmint:~$
On my main system:
salvatos 2039 0.0 0.0 356372 2456 ? Sl oct28 0:04 /usr/bin/ibus-daemon
salvatos 2046 0.0 0.0 275212 580 ? Sl oct28 0:00 /usr/lib/ibus/ibus-dconf
salvatos 2047 0.0 0.0 466800 6324 ? Sl oct28 0:03 /usr/lib/ibus/ibus-ui-gtk3
salvatos 2049 0.0 0.0 494976 4604 ? Sl oct28 0:03 /usr/lib/ibus/ibus-portal
salvatos 2059 0.0 0.3 515060 30292 ? Sl oct28 0:06 /usr/bin/python3 /usr/share/ibus-typing-booster/engine/main.py --ibus
salvatos 2236 0.0 0.0 199336 0 ? Sl oct28 0:00 /usr/lib/ibus/ibus-engine-simple
salvatos 5762 0.0 0.0 15664 1028 pts/0 S+ 14:41 0:00 grep --color=auto ibus
I'm currently installing a new VM to try installing via git instead.
I don't think it matters whether you install via git or from a release tarball.
On Tue, 29 Oct 2019, 19:43 Salvatos, notifications@github.com wrote:
On my main system:
salvatos 2039 0.0 0.0 356372 2456 ? Sl oct28 0:04 /usr/bin/ibus-daemon salvatos 2046 0.0 0.0 275212 580 ? Sl oct28 0:00 /usr/lib/ibus/ibus-dconf salvatos 2047 0.0 0.0 466800 6324 ? Sl oct28 0:03 /usr/lib/ibus/ibus-ui-gtk3 salvatos 2049 0.0 0.0 494976 4604 ? Sl oct28 0:03 /usr/lib/ibus/ibus-portal salvatos 2059 0.0 0.3 515060 30292 ? Sl oct28 0:06 /usr/bin/python3 /usr/share/ibus-typing-booster/engine/main.py --ibus salvatos 2236 0.0 0.0 199336 0 ? Sl oct28 0:00 /usr/lib/ibus/ibus-engine-simple salvatos 5762 0.0 0.0 15664 1028 pts/0 S+ 14:41 0:00 grep --color=auto ibus
I'm currently installing a new VM to try installing via git instead.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/mike-fabian/ibus-typing-booster/issues/58?email_source=notifications&email_token=AARY4P2XN7BG4PLFTJ6JU2TQRB76PA5CNFSM4JFXAHKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECRUYII#issuecomment-547572769, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARY4P4SBFTWF46CMYDCBETQRB76PANCNFSM4JFXAHKA .
Interestingly, make check
in the new VM only returns a couple errors related to specific languages I haven’t installed - but then again I haven’t been able to actually add ITB as an input method there so eh.
On my main system though, I get several failures related to matching and various options:
=====================================================
ibus-typing-booster 2.7.0: tests/test-suite.log
=====================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: run_tests
===============
No file mr_IN.dic found in ['/usr/share/hunspell', '/usr/share/myspell', '/usr/share/myspell/dicts', '/usr/local/share/hunspell', '/usr/local/share/myspell', '/usr/local/share/myspell/dicts']
No file ko_KR.dic found in ['/usr/share/hunspell', '/usr/share/myspell', '/usr/share/myspell/dicts', '/usr/local/share/hunspell', '/usr/local/share/myspell', '/usr/local/share/myspell/dicts']
test_compose (test_compose_sequences.ComposeSequencesTestCase) ... ok
test_dummy (test_compose_sequences.ComposeSequencesTestCase) ... ok
test_preedit_representations (test_compose_sequences.ComposeSequencesTestCase) ... ok
test_candidates_animals (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_birthday_cake (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_code_point_input (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_de_DE_versus_de_CH (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_empty_query (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_flags (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_french_similar (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_french_text (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_japanese_full_width_low_line (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_multilingual (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_persons (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_pinyin_available_zh_CN (test_emoji_candidates.EmojiCandidatesTestCase) ... skipped 'Skipping because import pinyin failed.'
test_candidates_pinyin_available_zh_TW (test_emoji_candidates.EmojiCandidatesTestCase) ... skipped 'Skipping because import pinyin failed.'
test_candidates_pinyin_missing_zh_CN (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_pinyin_missing_zh_TW (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_pykakasi_available_ja_JP (test_emoji_candidates.EmojiCandidatesTestCase) ... skipped 'Skipping because import pykakasi failed.'
test_candidates_pykakasi_missing_ja_JP (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_similar_emoji (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_skin_tones (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_some_letters (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_spellchecking (test_emoji_candidates.EmojiCandidatesTestCase) ... ERROR
test_candidates_symbols (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_travel (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_various_unicode_chars (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_white_space_and_underscores (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_dummy (test_emoji_candidates.EmojiCandidatesTestCase) ... ok
test_candidates_pykakasi_available_ja_JP (test_emoji_similar.EmojiSimilarTestCase) ... skipped 'Skipping because import pykakasi failed.'
test_candidates_pykakasi_missing_ja_JP (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_dummy (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_camel_de_DE (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_camel_en_US (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_camel_es_ES (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_camel_es_MX (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_camel_it_IT (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_de_DE_versus_de_CH (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_euro_sign_es_ES (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_horse_racing_pinyin_available_zh_CN (test_emoji_similar.EmojiSimilarTestCase) ... skipped 'Skipping because import pinyin failed.'
test_similar_horse_racing_pinyin_available_zh_TW (test_emoji_similar.EmojiSimilarTestCase) ... skipped 'Skipping because import pinyin failed.'
test_similar_horse_racing_pinyin_missing_zh_CN (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_horse_racing_pinyin_missing_zh_TW (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_query_is_not_an_emoji (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_show_keywords_option_en_US (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_surfer_es_ES (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_white_smiling_face_en_US (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_similar_white_smiling_face_it_IT (test_emoji_similar.EmojiSimilarTestCase) ... ok
test_accent_insensitive_matching_french_dictionary (test_itb.ItbTestCase) ... FAIL
test_accent_insensitive_matching_german_database (test_itb.ItbTestCase) ... skipped 'Skipping because this test requires python3-enchant to work.'
test_accent_insensitive_matching_german_dictionary (test_itb.ItbTestCase) ... FAIL
test_add_space_on_commit (test_itb.ItbTestCase)
Test new option to avoid adding spaces when committing by label ... FAIL
test_autocommit_characters (test_itb.ItbTestCase) ... ok
test_char_space_period_space (test_itb.ItbTestCase) ... ok
test_commit_candidate_1_without_space (test_itb.ItbTestCase) ... FAIL
test_commit_with_arrows (test_itb.ItbTestCase) ... ok
test_complete_word_from_us_english_dictionary (test_itb.ItbTestCase) ... FAIL
test_compose_and_latn_post (test_itb.ItbTestCase) ... ok
test_compose_combining_chars_in_preedit_representation (test_itb.ItbTestCase) ... ok
test_compose_sequences_containing_code_points (test_itb.ItbTestCase) ... ok
test_digits_used_in_keybindings (test_itb.ItbTestCase) ... No file hi_IN.dic found in ['/usr/share/hunspell', '/usr/share/myspell', '/usr/share/myspell/dicts', '/usr/local/share/hunspell', '/usr/local/share/myspell', '/usr/local/share/myspell/dicts']
FAIL
test_direct_input (test_itb.ItbTestCase) ... ok
test_dummy (test_itb.ItbTestCase) ... ok
test_emoji_related_tab_enable_cursor_visible_escape (test_itb.ItbTestCase) ... skipped 'Skipping because this test requires python3-enchant to work.'
test_emoji_triggered_by_underscore_when_emoji_mode_is_off (test_itb.ItbTestCase) ... skipped 'Skipping because this test requires python3-enchant to work.'
test_expected_failure (test_itb.ItbTestCase) ... expected failure
test_korean (test_itb.ItbTestCase) ... skipped 'Skipping because no Korean dictionary could be found. On some systems like Arch Linux or FreeBSD it is not available.'
test_latn_post (test_itb.ItbTestCase) ... ok
test_marathi_and_britisch_english (test_itb.ItbTestCase) ... skipped 'Skipping because no Marathi dictionary could be found. On some systems like Ubuntu or Elementary OS it is not available.'
test_selecting_non_existing_candidates (test_itb.ItbTestCase) ... FAIL
test_set_page_size (test_itb.ItbTestCase) ... ok
test_single_char_commit_with_arrow_right (test_itb.ItbTestCase) ... ok
test_single_char_commit_with_space (test_itb.ItbTestCase) ... ok
test_sinhala_wijesekera (test_itb.ItbTestCase) ... ok
test_tab_enable_key_binding_changed (test_itb.ItbTestCase) ... FAIL
test_toggle_candidate_case (test_itb.ItbTestCase) ... FAIL
test_a (test_keyvals_to_keycodes.KeyvalsToKeycodesTestCase) ... ok
test_backspace (test_keyvals_to_keycodes.KeyvalsToKeycodesTestCase) ... ok
test_dummy (test_keyvals_to_keycodes.KeyvalsToKeycodesTestCase) ... ok
test_keyval_zero (test_keyvals_to_keycodes.KeyvalsToKeycodesTestCase) ... ok
test_left (test_keyvals_to_keycodes.KeyvalsToKeycodesTestCase) ... ok
test_print_stuff_to_test_log (test_keyvals_to_keycodes.KeyvalsToKeycodesTestCase) ... keyval: 32 name: space keycodes: [65]
keyval: 33 name: exclam keycodes: [10]
keyval: 34 name: quotedbl keycodes: [11]
keyval: 35 name: numbersign keycodes: [49]
keyval: 36 name: dollar keycodes: [13]
keyval: 37 name: percent keycodes: [14]
keyval: 38 name: ampersand keycodes: [16]
keyval: 39 name: apostrophe keycodes: [59]
keyval: 40 name: parenleft keycodes: [18, 187]
keyval: 41 name: parenright keycodes: [19, 188]
keyval: 42 name: asterisk keycodes: [17]
keyval: 43 name: plus keycodes: [21]
keyval: 44 name: comma keycodes: [59]
keyval: 45 name: minus keycodes: [20]
keyval: 46 name: period keycodes: [60]
keyval: 47 name: slash keycodes: [12]
keyval: 48 name: 0 keycodes: [19]
keyval: 49 name: 1 keycodes: [10]
keyval: 50 name: 2 keycodes: [11]
keyval: 51 name: 3 keycodes: [12]
keyval: 52 name: 4 keycodes: [13]
keyval: 53 name: 5 keycodes: [14]
keyval: 54 name: 6 keycodes: [15]
keyval: 55 name: 7 keycodes: [16]
keyval: 56 name: 8 keycodes: [17]
keyval: 57 name: 9 keycodes: [18]
keyval: 58 name: colon keycodes: [47]
keyval: 59 name: semicolon keycodes: [47]
keyval: 60 name: less keycodes: [51]
keyval: 61 name: equal keycodes: [21]
keyval: 62 name: greater keycodes: [51]
keyval: 63 name: question keycodes: [15]
keyval: 64 name: at keycodes: [11]
keyval: 65 name: A keycodes: [38]
keyval: 66 name: B keycodes: [56]
keyval: 67 name: C keycodes: [54]
keyval: 68 name: D keycodes: [40]
keyval: 69 name: E keycodes: [26]
keyval: 70 name: F keycodes: [41]
keyval: 71 name: G keycodes: [42]
keyval: 72 name: H keycodes: [43]
keyval: 73 name: I keycodes: [31]
keyval: 74 name: J keycodes: [44]
keyval: 75 name: K keycodes: [45]
keyval: 76 name: L keycodes: [46]
keyval: 77 name: M keycodes: [58]
keyval: 78 name: N keycodes: [57]
keyval: 79 name: O keycodes: [32]
keyval: 80 name: P keycodes: [33]
keyval: 81 name: Q keycodes: [24]
keyval: 82 name: R keycodes: [27]
keyval: 83 name: S keycodes: [39]
keyval: 84 name: T keycodes: [28]
keyval: 85 name: U keycodes: [30]
keyval: 86 name: V keycodes: [55]
keyval: 87 name: W keycodes: [25]
keyval: 88 name: X keycodes: [53]
keyval: 89 name: Y keycodes: [29]
keyval: 90 name: Z keycodes: [52]
keyval: 91 name: bracketleft keycodes: [34]
keyval: 92 name: backslash keycodes: [49]
keyval: 93 name: bracketright keycodes: [35]
keyval: 95 name: underscore keycodes: [20]
keyval: 97 name: a keycodes: [38]
keyval: 98 name: b keycodes: [56]
keyval: 99 name: c keycodes: [54]
keyval: 100 name: d keycodes: [40]
keyval: 101 name: e keycodes: [26]
keyval: 102 name: f keycodes: [41]
keyval: 103 name: g keycodes: [42]
keyval: 104 name: h keycodes: [43]
keyval: 105 name: i keycodes: [31]
keyval: 106 name: j keycodes: [44]
keyval: 107 name: k keycodes: [45]
keyval: 108 name: l keycodes: [46]
keyval: 109 name: m keycodes: [58]
keyval: 110 name: n keycodes: [57]
keyval: 111 name: o keycodes: [32]
keyval: 112 name: p keycodes: [33]
keyval: 113 name: q keycodes: [24]
keyval: 114 name: r keycodes: [27]
keyval: 115 name: s keycodes: [39]
keyval: 116 name: t keycodes: [28]
keyval: 117 name: u keycodes: [30]
keyval: 118 name: v keycodes: [55]
keyval: 119 name: w keycodes: [25]
keyval: 120 name: x keycodes: [53]
keyval: 121 name: y keycodes: [29]
keyval: 122 name: z keycodes: [52]
keyval: 123 name: braceleft keycodes: [48]
keyval: 124 name: bar keycodes: [49]
keyval: 125 name: braceright keycodes: [51]
keyval: 126 name: asciitilde keycodes: [47]
keyval: 160 name: nobreakspace keycodes: [65]
keyval: 162 name: cent keycodes: [13]
keyval: 163 name: sterling keycodes: [12]
keyval: 164 name: currency keycodes: [14]
keyval: 166 name: brokenbar keycodes: [16, 94]
keyval: 167 name: section keycodes: [32]
keyval: 171 name: guillemotleft keycodes: [94]
keyval: 172 name: notsign keycodes: [15]
keyval: 173 name: hyphen keycodes: [60]
keyval: 175 name: macron keycodes: [59]
keyval: 176 name: degree keycodes: [94]
keyval: 177 name: plusminus keycodes: [10, 126]
keyval: 178 name: twosuperior keycodes: [17]
keyval: 179 name: threesuperior keycodes: [18]
keyval: 181 name: mu keycodes: [58]
keyval: 182 name: paragraph keycodes: [33]
keyval: 187 name: guillemotright keycodes: [94]
keyval: 188 name: onequarter keycodes: [19]
keyval: 189 name: onehalf keycodes: [20]
keyval: 190 name: threequarters keycodes: [21]
keyval: 201 name: Eacute keycodes: [61]
keyval: 233 name: eacute keycodes: [61]
keyval: 65027 name: ISO_Level3_Shift keycodes: [92, 108]
keyval: 65032 name: ISO_Next_Group keycodes: [66]
keyval: 65056 name: ISO_Left_Tab keycodes: [23]
keyval: 65104 name: dead_grave keycodes: [48]
keyval: 65105 name: dead_acute keycodes: [61]
keyval: 65106 name: dead_circumflex keycodes: [34]
keyval: 65111 name: dead_diaeresis keycodes: [35]
keyval: 65115 name: dead_cedilla keycodes: [35]
keyval: 65288 name: BackSpace keycodes: [22]
keyval: 65289 name: Tab keycodes: [23]
keyval: 65290 name: Linefeed keycodes: [109]
keyval: 65293 name: Return keycodes: [36]
keyval: 65300 name: Scroll_Lock keycodes: [78]
keyval: 65301 name: Sys_Req keycodes: [107]
keyval: 65307 name: Escape keycodes: [9]
keyval: 65312 name: Multi_key keycodes: [127]
keyval: 65314 name: Muhenkan keycodes: [102]
keyval: 65315 name: Henkan keycodes: [100]
keyval: 65317 name: Hiragana keycodes: [99]
keyval: 65318 name: Katakana keycodes: [98]
keyval: 65319 name: Hiragana_Katakana keycodes: [101]
keyval: 65329 name: Hangul keycodes: [130]
keyval: 65332 name: Hangul_Hanja keycodes: [131]
keyval: 65360 name: Home keycodes: [110]
keyval: 65361 name: Left keycodes: [113]
keyval: 65362 name: Up keycodes: [111]
keyval: 65363 name: Right keycodes: [114]
keyval: 65364 name: Down keycodes: [116]
keyval: 65365 name: Page_Up keycodes: [112]
keyval: 65366 name: Page_Down keycodes: [117]
keyval: 65367 name: End keycodes: [115]
keyval: 65377 name: Print keycodes: [107, 218]
keyval: 65379 name: Insert keycodes: [118]
keyval: 65381 name: Undo keycodes: [139]
keyval: 65382 name: Redo keycodes: [137, 190]
keyval: 65383 name: Menu keycodes: [135]
keyval: 65384 name: Find keycodes: [144]
keyval: 65385 name: Cancel keycodes: [136, 231]
keyval: 65386 name: Help keycodes: [146]
keyval: 65406 name: Arabic_switch keycodes: [203]
keyval: 65407 name: Num_Lock keycodes: [77]
keyval: 65421 name: KP_Enter keycodes: [104]
keyval: 65429 name: KP_Home keycodes: [79]
keyval: 65430 name: KP_Left keycodes: [83]
keyval: 65431 name: KP_Up keycodes: [80]
keyval: 65432 name: KP_Right keycodes: [85]
keyval: 65433 name: KP_Down keycodes: [88]
keyval: 65434 name: KP_Page_Up keycodes: [81]
keyval: 65435 name: KP_Next keycodes: [89]
keyval: 65436 name: KP_End keycodes: [87]
keyval: 65437 name: KP_Begin keycodes: [84]
keyval: 65438 name: KP_Insert keycodes: [90]
keyval: 65439 name: KP_Delete keycodes: [91]
keyval: 65450 name: KP_Multiply keycodes: [63]
keyval: 65451 name: KP_Add keycodes: [86]
keyval: 65453 name: KP_Subtract keycodes: [82]
keyval: 65454 name: KP_Decimal keycodes: [129]
keyval: 65455 name: KP_Divide keycodes: [106]
keyval: 65456 name: KP_0 keycodes: [90]
keyval: 65457 name: KP_1 keycodes: [87]
keyval: 65458 name: KP_2 keycodes: [88]
keyval: 65459 name: KP_3 keycodes: [89]
keyval: 65460 name: KP_4 keycodes: [83]
keyval: 65461 name: KP_5 keycodes: [84]
keyval: 65462 name: KP_6 keycodes: [85]
keyval: 65463 name: KP_7 keycodes: [79]
keyval: 65464 name: KP_8 keycodes: [80]
keyval: 65465 name: KP_9 keycodes: [81]
keyval: 65469 name: KP_Equal keycodes: [125]
keyval: 65470 name: F1 keycodes: [67]
keyval: 65471 name: F2 keycodes: [68]
keyval: 65472 name: F3 keycodes: [69]
keyval: 65473 name: F4 keycodes: [70]
keyval: 65474 name: F5 keycodes: [71]
keyval: 65475 name: F6 keycodes: [72]
keyval: 65476 name: F7 keycodes: [73]
keyval: 65477 name: F8 keycodes: [74]
keyval: 65478 name: F9 keycodes: [75]
keyval: 65479 name: F10 keycodes: [76]
keyval: 65480 name: F11 keycodes: [95]
keyval: 65481 name: F12 keycodes: [96]
keyval: 65505 name: Shift_L keycodes: [50]
keyval: 65506 name: Shift_R keycodes: [62]
keyval: 65507 name: Control_L keycodes: [37]
keyval: 65508 name: Control_R keycodes: [105]
keyval: 65509 name: Caps_Lock keycodes: [66]
keyval: 65511 name: Meta_L keycodes: [64, 205]
keyval: 65513 name: Alt_L keycodes: [64, 204]
keyval: 65515 name: Super_L keycodes: [133, 206]
keyval: 65516 name: Super_R keycodes: [134]
keyval: 65517 name: Hyper_L keycodes: [207]
keyval: 65535 name: Delete keycodes: [119]
keyval: 268828528 name: 0x1005ff70 keycodes: [138]
keyval: 268828529 name: 0x1005ff71 keycodes: [140]
keyval: 269024769 name: Switch_VT_1 keycodes: [67]
keyval: 269024770 name: Switch_VT_2 keycodes: [68]
keyval: 269024771 name: Switch_VT_3 keycodes: [69]
keyval: 269024772 name: Switch_VT_4 keycodes: [70]
keyval: 269024773 name: Switch_VT_5 keycodes: [71]
keyval: 269024774 name: Switch_VT_6 keycodes: [72]
keyval: 269024775 name: Switch_VT_7 keycodes: [73]
keyval: 269024776 name: Switch_VT_8 keycodes: [74]
keyval: 269024777 name: Switch_VT_9 keycodes: [75]
keyval: 269024778 name: Switch_VT_10 keycodes: [76]
keyval: 269024779 name: Switch_VT_11 keycodes: [95]
keyval: 269024780 name: Switch_VT_12 keycodes: [96]
keyval: 269024800 name: Ungrab keycodes: [106]
keyval: 269024801 name: ClearGrab keycodes: [63]
keyval: 269024802 name: Next_VMode keycodes: [86]
keyval: 269024803 name: Prev_VMode keycodes: [82]
keyval: 269025026 name: MonBrightnessUp keycodes: [233]
keyval: 269025027 name: MonBrightnessDown keycodes: [232]
keyval: 269025028 name: KbdLightOnOff keycodes: [236]
keyval: 269025029 name: KbdBrightnessUp keycodes: [238]
keyval: 269025030 name: KbdBrightnessDown keycodes: [237]
keyval: 269025041 name: AudioLowerVolume keycodes: [122]
keyval: 269025042 name: AudioMute keycodes: [121]
keyval: 269025043 name: AudioRaiseVolume keycodes: [123]
keyval: 269025044 name: AudioPlay keycodes: [172, 208, 215]
keyval: 269025045 name: AudioStop keycodes: [174]
keyval: 269025046 name: AudioPrev keycodes: [173]
keyval: 269025047 name: AudioNext keycodes: [171]
keyval: 269025048 name: HomePage keycodes: [180]
keyval: 269025049 name: Mail keycodes: [163, 223]
keyval: 269025051 name: Search keycodes: [225]
keyval: 269025052 name: AudioRecord keycodes: [175]
keyval: 269025053 name: Calculator keycodes: [148]
keyval: 269025062 name: Back keycodes: [166]
keyval: 269025063 name: Forward keycodes: [167]
keyval: 269025066 name: PowerOff keycodes: [124]
keyval: 269025067 name: WakeUp keycodes: [151]
keyval: 269025068 name: Eject keycodes: [170, 174]
keyval: 269025069 name: ScreenSaver keycodes: [160]
keyval: 269025070 name: WWW keycodes: [158]
keyval: 269025071 name: Sleep keycodes: [150]
keyval: 269025072 name: Favorites keycodes: [164]
keyval: 269025073 name: AudioPause keycodes: [172, 209]
keyval: 269025074 name: AudioMedia keycodes: [234]
keyval: 269025075 name: MyComputer keycodes: [165]
keyval: 269025078 name: Shop keycodes: [229]
keyval: 269025084 name: Finance keycodes: [227]
keyval: 269025086 name: AudioRewind keycodes: [176]
keyval: 269025089 name: Launch1 keycodes: [156]
keyval: 269025090 name: Launch2 keycodes: [157]
keyval: 269025091 name: Launch3 keycodes: [210]
keyval: 269025092 name: Launch4 keycodes: [211]
keyval: 269025093 name: Launch5 keycodes: [192]
keyval: 269025094 name: Launch6 keycodes: [193]
keyval: 269025095 name: Launch7 keycodes: [194]
keyval: 269025096 name: Launch8 keycodes: [195]
keyval: 269025097 name: Launch9 keycodes: [196]
keyval: 269025098 name: LaunchA keycodes: [128]
keyval: 269025099 name: LaunchB keycodes: [212]
keyval: 269025110 name: Close keycodes: [182, 214]
keyval: 269025111 name: Copy keycodes: [141]
keyval: 269025112 name: Cut keycodes: [145]
keyval: 269025113 name: Display keycodes: [235]
keyval: 269025114 name: DOS keycodes: [159]
keyval: 269025115 name: Documents keycodes: [243]
keyval: 269025117 name: Explorer keycodes: [152]
keyval: 269025118 name: Game keycodes: [228]
keyval: 269025119 name: Go keycodes: [226]
keyval: 269025125 name: MenuKB keycodes: [147]
keyval: 269025128 name: New keycodes: [189]
keyval: 269025131 name: Open keycodes: [142]
keyval: 269025133 name: Paste keycodes: [143]
keyval: 269025134 name: Phone keycodes: [177]
keyval: 269025138 name: Reply keycodes: [240]
keyval: 269025139 name: Reload keycodes: [181]
keyval: 269025140 name: RotateWindows keycodes: [161]
keyval: 269025143 name: Save keycodes: [242]
keyval: 269025144 name: ScrollUp keycodes: [185]
keyval: 269025145 name: ScrollDown keycodes: [186]
keyval: 269025147 name: Send keycodes: [153, 239]
keyval: 269025151 name: TaskPane keycodes: [162]
keyval: 269025153 name: Tools keycodes: [179, 191]
keyval: 269025162 name: Xfer keycodes: [155]
keyval: 269025166 name: Messenger keycodes: [224]
keyval: 269025167 name: WebCam keycodes: [220]
keyval: 269025168 name: MailForward keycodes: [241]
keyval: 269025171 name: Battery keycodes: [244]
keyval: 269025172 name: Bluetooth keycodes: [245]
keyval: 269025173 name: WLAN keycodes: [246]
keyval: 269025175 name: AudioForward keycodes: [216]
keyval: 269025191 name: Suspend keycodes: [213]
keyval: 269025193 name: TouchpadToggle keycodes: [199]
keyval: 269025200 name: TouchpadOn keycodes: [200]
keyval: 269025201 name: TouchpadOff keycodes: [201]
keyval: 269025202 name: AudioMicMute keycodes: [198]
keyval: 269025204 name: 0x1008ffb4 keycodes: [254]
keyval: 269025205 name: 0x1008ffb5 keycodes: [255]
ok
test_NoIME_first (test_m17n_db_info.M17nDbInfoTestCase) ... Duplicate input method: “zh-bopomofo”.Implemented in /usr/share/m17n/zh-bopomofo.mim and /usr/share/m17n/zh-zhuyin.mim.
ok
test_dummy (test_m17n_db_info.M17nDbInfoTestCase) ... Duplicate input method: “zh-bopomofo”.Implemented in /usr/share/m17n/zh-bopomofo.mim and /usr/share/m17n/zh-zhuyin.mim.
ok
test_t_latin_pre (test_m17n_db_info.M17nDbInfoTestCase) ... Duplicate input method: “zh-bopomofo”.Implemented in /usr/share/m17n/zh-bopomofo.mim and /usr/share/m17n/zh-zhuyin.mim.
ok
test_t_math_latex (test_m17n_db_info.M17nDbInfoTestCase) ... Duplicate input method: “zh-bopomofo”.Implemented in /usr/share/m17n/zh-bopomofo.mim and /usr/share/m17n/zh-zhuyin.mim.
ok
test_NoIME (test_m17n_translit.M17nTranslitTestCase) ... ok
test_dummy (test_m17n_translit.M17nTranslitTestCase) ... ok
test_hi_inscript2 (test_m17n_translit.M17nTranslitTestCase) ... ERROR
test_hi_itrans (test_m17n_translit.M17nTranslitTestCase) ... ok
test_ja_anthy (test_m17n_translit.M17nTranslitTestCase) ... ime "ja-anthy" ... ok
test_ko_romaja (test_m17n_translit.M17nTranslitTestCase) ... ime "ko-romaja" ... ok
test_mr_inscript2 (test_m17n_translit.M17nTranslitTestCase) ... ERROR
test_mr_itrans (test_m17n_translit.M17nTranslitTestCase) ... ok
test_non_existing_ime (test_m17n_translit.M17nTranslitTestCase) ... ok
test_ru_translit (test_m17n_translit.M17nTranslitTestCase) ... ok
test_si_sayura (test_m17n_translit.M17nTranslitTestCase) ... ime "si-sayura" ... skipped 'minput_open_im() failed'
test_si_wijesekera (test_m17n_translit.M17nTranslitTestCase) ... ok
test_t_latn_post (test_m17n_translit.M17nTranslitTestCase) ... ok
test_zh_py (test_m17n_translit.M17nTranslitTestCase) ... ime "zh-py" ... ok
test_zh_tonepy (test_m17n_translit.M17nTranslitTestCase) ... ime "zh-tonepy" ... ok
======================================================================
ERROR: test_candidates_spellchecking (test_emoji_candidates.EmojiCandidatesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_emoji_candidates.py", line 318, in test_candidates_spellchecking
mq.candidates('buterfly')[0][:2],
IndexError: list index out of range
======================================================================
ERROR: test_hi_inscript2 (test_m17n_translit.M17nTranslitTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "../engine/m17n_translit.py", line 297, in __init__
_im_contents = self._im.contents
ValueError: NULL pointer access
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_m17n_translit.py", line 89, in test_hi_inscript2
trans = Transliterator('hi-inscript2')
File "../engine/m17n_translit.py", line 299, in __init__
raise ValueError('minput_open_im() failed')
ValueError: minput_open_im() failed
======================================================================
ERROR: test_mr_inscript2 (test_m17n_translit.M17nTranslitTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "../engine/m17n_translit.py", line 297, in __init__
_im_contents = self._im.contents
ValueError: NULL pointer access
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_m17n_translit.py", line 101, in test_mr_inscript2
trans = Transliterator('mr-inscript2')
File "../engine/m17n_translit.py", line 299, in __init__
raise ValueError('minput_open_im() failed')
ValueError: minput_open_im() failed
======================================================================
FAIL: test_accent_insensitive_matching_french_dictionary (test_itb.ItbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_itb.py", line 611, in test_accent_insensitive_matching_french_dictionary
self.assertEqual(self.engine.mock_committed_text, 'différemment ')
AssertionError: '' != 'différemment '
+ différemment
======================================================================
FAIL: test_accent_insensitive_matching_german_dictionary (test_itb.ItbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_itb.py", line 500, in test_accent_insensitive_matching_german_dictionary
self.assertEqual(self.engine.mock_committed_text, 'Alpenglühen ')
AssertionError: '' != 'Alpenglühen '
+ Alpenglühen
======================================================================
FAIL: test_add_space_on_commit (test_itb.ItbTestCase)
Test new option to avoid adding spaces when committing by label
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_itb.py", line 690, in test_add_space_on_commit
self.assertEqual(self.engine.mock_preedit_text, '')
AssertionError: 'test1' != ''
- test1
+
======================================================================
FAIL: test_commit_candidate_1_without_space (test_itb.ItbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_itb.py", line 812, in test_commit_candidate_1_without_space
self.assertEqual(self.engine.mock_committed_text, 'cerulean ')
AssertionError: '' != 'cerulean '
+ cerulean
======================================================================
FAIL: test_complete_word_from_us_english_dictionary (test_itb.ItbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_itb.py", line 269, in test_complete_word_from_us_english_dictionary
self.assertEqual(self.engine.mock_committed_text, 'cerulean ')
AssertionError: '' != 'cerulean '
+ cerulean
======================================================================
FAIL: test_digits_used_in_keybindings (test_itb.ItbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_itb.py", line 754, in test_digits_used_in_keybindings
self.assertEqual(len(self.engine._candidates), 0)
AssertionError: 1 != 0
======================================================================
FAIL: test_selecting_non_existing_candidates (test_itb.ItbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_itb.py", line 672, in test_selecting_non_existing_candidates
self.assertEqual(self.engine.mock_committed_text, 'Barcelona ')
AssertionError: '' != 'Barcelona '
+ Barcelona
======================================================================
FAIL: test_tab_enable_key_binding_changed (test_itb.ItbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_itb.py", line 736, in test_tab_enable_key_binding_changed
self.assertEqual(self.engine.mock_committed_text, 'test\tcerulean ')
AssertionError: 'test\t' != 'test\tcerulean '
- test
+ test cerulean
======================================================================
FAIL: test_toggle_candidate_case (test_itb.ItbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_itb.py", line 840, in test_toggle_candidate_case
self.assertEqual(self.engine.mock_committed_text, 'CERULEAN ')
AssertionError: '' != 'CERULEAN '
+ CERULEAN
----------------------------------------------------------------------
Ran 101 tests in 140.632s
FAILED (failures=9, errors=3, skipped=12, expected failures=1)
FAIL run_tests (exit status: 1)
I don’t suppose that helps?
No, not really, you probably get these failures because you don't have some dictionaries or other stuff installed.
File "/home/salvatos/ibus-typing-booster-2.7.0/tests/test_emoji_candidates.py", line 318, in test_candidates_spellchecking
mq.candidates('buterfly')[0][:2],
IndexError: list index out of range
This one is probably because you don't have python3-enchant installed, without that spellchecking doesn't work.
All right, well, sorry for wasting so much of your time. I can’t think of anything else to try so I’ll just give up for now. Thanks for you help!
Unfortunately, I find myself in need of assistance again trying to install IBT from source under Mint :(
I’m using the instructions at http://mike-fabian.github.io/ibus-typing-booster/development.html for Ubuntu. Extracting and moving into the source directory went fine of course. As far as I can tell, I have all stated dependencies. Using release 2.7.0.
Trying to run the
./configure
line returnedbash ./configure : No such file or directory
so I went online and found that I should first runaclocal
,autoconf
andautomake --add-missing
. Automake reported the following errors and warnings:I created those two files manually but I don’t know what to do about the suffix warning and it seems important later on. Reran
automake
and it gave only that warning, so I tried moving on to./configure
and it ended with this error:config.status: error: cannot find input file: po/Makefile.in.in
. That file is indeed missing and I don’t think I can just create an empty one? Trying to then runmake
, it aborts saying that no target was specified nor any makefile found.At this point, I’m out of ideas. Any help would be greatly appreciated!