Coder Social home page Coder Social logo

images's Issues

Lots of PyGTKDeprecationWarning messages

Hi Hans!

I have been running Gramps from the command line so it would have a log of warnings.

And it generated quite a few during my last session. Unfortunately, rather than paying attention and I just kept experimenting with the Images gramplet. So there's no telling which messages go with what actions! I'll try to do better.

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\GrampsAIO64 5.1.4>gramps~2.lnk
2021-09-05 10:17:30.304: WARNING: dummydb.py: line 405: database is closed
2021-09-05 10:19:14.784: WARNING: dummydb.py: line 405: database is closed
C:\Program Files\GrampsAIO64-5.1.4\gramps\plugins\gramplet\persondetails.py:64: DeprecationWarning: Gtk.Widget.override_font is deprecated
  self.name.override_font(Pango.FontDescription('sans bold 12'))
C:\Users\DistrictSupport\AppData\Roaming\gramps\gramps51\plugins\NoteGramplet\NoteGramplet.py:67: DeprecationWarning: Gtk.Misc.set_alignment is deprecated
  label.set_alignment(0.0, 0.5)
C:\Users\DistrictSupport\AppData\Roaming\gramps\gramps51\plugins\NoteGramplet\NoteGramplet.py:81: DeprecationWarning: Gtk.Image.set_from_stock is deprecated
  image.set_from_stock(icon, size)
C:\Users\DistrictSupport\AppData\Roaming\gramps\gramps51\plugins\NoteGramplet\NoteGramplet.py:135: DeprecationWarning: Gtk.Widget.modify_font is deprecated
  self.texteditor.modify_font(Pango.FontDescription("normal"))
C:\Users\DistrictSupport\AppData\Roaming\gramps\gramps51\plugins\NoteGramplet\NoteGramplet.py:111: 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\NoteGramplet\NoteGramplet.py:114: 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:\Program Files\GrampsAIO64-5.1.4\gramps\gui\widgets\photo.py:87: DeprecationWarning: Gtk.Menu.set_title is deprecated
  self.menu.set_title(_("Media Object"))
C:\Program Files\GrampsAIO64-5.1.4\gramps\gui\widgets\grampletbar.py:637: 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
  (_('_Close'), Gtk.ResponseType.CLOSE)),
C:\Program Files\GrampsAIO64-5.1.4\gramps\gui\widgets\grampletbar.py:637: 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
  (_('_Close'), Gtk.ResponseType.CLOSE)),
C:\Program Files\GrampsAIO64-5.1.4\lib\python36.zip\gi\overrides\Gtk.py:541: 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
C:\Program Files\GrampsAIO64-5.1.4\gramps\gui\widgets\grampletbar.py:637: 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
  (_('_Close'), Gtk.ResponseType.CLOSE)),
C:\Program Files\GrampsAIO64-5.1.4\gramps\gui\widgets\grampletbar.py:637: 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
  (_('_Close'), Gtk.ResponseType.CLOSE)),
C:\Program Files\GrampsAIO64-5.1.4\lib\python36.zip\gi\overrides\Gtk.py:541: 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
C:\Program Files\GrampsAIO64-5.1.4\gramps\gui\widgets\monitoredwidgets.py:189: DeprecationWarning: Gtk.Widget.override_color is deprecated
  self.obj.override_color(Gtk.StateType.NORMAL, rgba)
C:\Program Files\GrampsAIO64-5.1.4\lib\python36.zip\gi\overrides\GObject.py:553: Warning: ../../glib-2.54.3/gobject/gsignal.c:2641: instance '000000000a7fb820' has no handler with id '179733'
C:\Program Files\GrampsAIO64-5.1.4\lib\python36.zip\gi\overrides\GObject.py:553: Warning: ../../glib-2.54.3/gobject/gsignal.c:2641: instance '000000000a7fb820' has no handler with id '201698'
C:\Program Files\GrampsAIO64-5.1.4\gramps\gui\widgets\selectionwidget.py:308: PyGIDeprecationWarning: GObject.GError is deprecated; use GLib.GError instead
  except (GObject.GError, OSError):
C:\Program Files\GrampsAIO64-5.1.4\gramps\gui\widgets\selectionwidget.py:308: PyGIDeprecationWarning: GObject.GError is deprecated; use GLib.GError instead
  except (GObject.GError, OSError):
C:\Program Files\GrampsAIO64-5.1.4\lib\python36.zip\gi\overrides\GObject.py:553: Warning: ../../glib-2.54.3/gobject/gsignal.c:2641: instance '000000000a7fc8c0' has no handler with id '217553'
C:\Program Files\GrampsAIO64-5.1.4\gramps\gui\widgets\grampletbar.py:637: 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
  (_('_Close'), Gtk.ResponseType.CLOSE)),
C:\Program Files\GrampsAIO64-5.1.4\gramps\gui\widgets\grampletbar.py:637: 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
  (_('_Close'), Gtk.ResponseType.CLOSE)),
C:\Program Files\GrampsAIO64-5.1.4\lib\python36.zip\gi\overrides\Gtk.py:541: 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
C:\Program Files\GrampsAIO64-5.1.4\gramps\gui\widgets\grampletbar.py:704: DeprecationWarning: Gtk.Widget.reparent is deprecated
  self.gramplet.reparent(self.grampletbar)
C:\Program Files\GrampsAIO64-5.1.4\lib\python36.zip\gi\overrides\GObject.py:553: Warning: ../../glib-2.54.3/gobject/gsignal.c:2641: instance '000000000a7fb820' has no handler with id '316346'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.