You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"))
The text was updated successfully, but these errors were encountered:
I notice that if clicked on the checkbox, on the second time executing /usr/share/ibus-array/setup/main.py, the value was set and can be read:
$ python3.8 setup/main.py setup/main.py:46: 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, setup/main.py:46: 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, setup/main.py:53: 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")) setup/main.py:55: 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(_("Speical Code Only Mode"))
Somewhat src/engine.c can't read the value set by setup/main.py.
In setup/main.py, the two config values [engine/Array:SpecialOnly] and [engine/Array:SpecialNotify] do not seem to work under GNOME 3.
There are some PyGIWarning and PyGTKDeprecationWarning too:
The text was updated successfully, but these errors were encountered: