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

Can't open the preferences menu #27

Open
brainwo opened this issue Aug 14, 2023 · 1 comment
Open

Can't open the preferences menu #27

brainwo opened this issue Aug 14, 2023 · 1 comment

Comments

@brainwo
Copy link

brainwo commented Aug 14, 2023

When I click on "Preferences" button in Input Method section in IBus Preferences, nothing happened.
Further investigation got me this log running IBus Preferences from the terminal:

/usr/share/ibus-pinyin/setup/main.py:
29: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/share/ibus-pinyin/setup/main.py:30: PyGIWarning: IBus was imported without specifying a version first. Use gi.require_version('IBus', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import IBus
Traceback (most recent call last):
  File "/usr/share/ibus-pinyin/setup/main.py", line 426, in <module>
    main()
  File "/usr/share/ibus-pinyin/setup/main.py", line 422, in main
    PreferencesDialog(name).run()
    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/ibus-pinyin/setup/main.py", line 42, in __init__
    gettext.bind_textdomain_codeset("ibus-pinyin", "UTF-8")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'

System information:

Arch Linux 6.4.10
ibus 1.5.28-4
ibus-pinyin 1.5.0-8

Another input method Anthy can open the preferences menu just fine.

@hosiet
Copy link

hosiet commented Sep 3, 2023

ibus@e2e10c40

Please ask your Arch Linux package maintainer to include the patch.

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

No branches or pull requests

2 participants