Skip to content

Config value [engine/Array:SpecialNotify] does not exist, etc. #15

@anthonyfok

Description

@anthonyfok

In setup/main.py, the two config values [engine/Array:SpecialOnly] and [engine/Array:SpecialNotify] do not seem to work under GNOME 3.

(main.py:105491): IBUS-WARNING **: 11:52:42.454: org.freedesktop.IBus.Config.GetValue: GDBus.Error:org.freedesktop.DBus.Error.Failed: Config value [engine/Array:SpecialOnly] does not exist.

(main.py:105491): IBUS-WARNING **: 11:52:42.456: org.freedesktop.IBus.Config.GetValue: GDBus.Error:org.freedesktop.DBus.Error.Failed: Config value [engine/Array:SpecialNotify] does not exist.

There are some PyGIWarning and PyGTKDeprecationWarning too:

$ /usr/bin/python3.8 -Wd /usr/share/ibus-array/setup/main.py
/usr/share/ibus-array/setup/main.py:25: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/share/ibus-array/setup/main.py:26: 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
/usr/share/ibus-array/setup/main.py:41: PyGTKDeprecationWarning: The "buttons" argument must be a Gtk.ButtonsType enum value. Please use the "add_buttons" method for adding buttons. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self.__window = Gtk.Dialog(_('ibus-array setup'), None,
/usr/share/ibus-array/setup/main.py:41: PyGTKDeprecationWarning: The "flags" argument for dialog construction is deprecated. Please use initializer keywords: modal=True and/or destroy_with_parent=True. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self.__window = Gtk.Dialog(_('ibus-array setup'), None,
/usr/lib/python3/dist-packages/gi/overrides/Gtk.py:575: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "title, transient_for, flags, add_buttons" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self._init(*args, **new_kwargs)
/usr/share/ibus-array/setup/main.py:48: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self.__special_notify_button = Gtk.CheckButton(_("Special Code Notification"))
/usr/share/ibus-array/setup/main.py:50: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self.__special_only_button = Gtk.CheckButton(_("Special Code Only Mode"))

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions