Sudden warnings when switching views

Suddenly, I am seeing warnings in the Command Line Console when switching views in Gramps. Initially, it reported the 3rd Party add-on Note Gramplet. I removed that Gramplet and then it gave similar reports now for the DataEntry Gramplet. (The active Gramplet in the new View being selected.)

After a long period offline, this computer was connected to the net for about a week and suffered multiple automatic Windows updates. Also, since I am trying to learn Python, I recently installed PyCharm after failing miserably to recognize differences using Notepad++ related to Python’s whitespace sensitivity

Could this have resulted in paths being changed? Causing Gramps to try to using incompatible support libraries?

2021-10-22 12:07:37.921: WARNING: _manager.py: line 308: Plugin error (from 'NoteGramplet'): No module named 'NoteGramplet'
C:\Users\DistrictSupport\AppData\Roaming\gramps\gramps51\plugins\DataEntryGramplet\DataEntryGramplet.py:269: 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
  button = Gtk.CheckButton(text)
C:\Users\DistrictSupport\AppData\Roaming\gramps\gramps51\plugins\DataEntryGramplet\DataEntryGramplet.py:89: 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
  button = Gtk.Button(_("Save"))
C:\Users\DistrictSupport\AppData\Roaming\gramps\gramps51\plugins\DataEntryGramplet\DataEntryGramplet.py:92: 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
  button = Gtk.Button(_("Abandon"))
C:\Users\DistrictSupport\AppData\Roaming\gramps\gramps51\plugins\DataEntryGramplet\DataEntryGramplet.py:121: 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
  button = Gtk.Button(_("Add"))
C:\Users\DistrictSupport\AppData\Roaming\gramps\gramps51\plugins\DataEntryGramplet\DataEntryGramplet.py:124: 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
  button = Gtk.Button(_("Copy Active Data"))
C:\Users\DistrictSupport\AppData\Roaming\gramps\gramps51\plugins\DataEntryGramplet\DataEntryGramplet.py:127: 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
  button = Gtk.Button(_("Clear"))
C:\Program Files\GrampsAIO64-5.1.4\gramps\plugins\view\relview.py:1199: DeprecationWarning: Gtk.Misc.set_padding is deprecated
  label.set_padding(0, 5)

jralls commented 18:05 GMT 22 Oct 2021 on GitHub comments for the Note Gramplet

PyGObject and libgtk±3.0.dll got upgraded. The first 3 warnings are from the Gtk C library and inform us that we’re using API that won’t be portable to Gtk4; the other two are about using python/C++ style constructors, which the PyGObject developers created for backwards compatibility with PyGtk and now wish that they hadn’t.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.