Public bug reported:

At startup, gramps emits a very large volume of gtk-related warnings, so
many that one would be unlikely to notice any actual error messages
mixed in there.  Can these be fixed?

$ gramps
/usr/lib/python3/dist-packages/gramps/gui/viewmanager.py:840: Warning: The 
property GtkSettings:gtk-menu-images is deprecated and shouldn't be used 
anymore. It will be removed in a future version.
  self.uimanager.ensure_update()
/usr/lib/python3/dist-packages/gramps/gui/viewmanager.py:459: Warning: The 
property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It 
will be removed in a future version.
  openbtn = Gtk.MenuToolButton.new_from_stock('gramps-db')
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be 
removed in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It 
will be removed in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed 
in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkButton:xalign is deprecated and shouldn't be used anymore. It will be 
removed in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkMisc:ypad is deprecated and shouldn't be used anymore. It will be removed in 
a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkMisc:xpad is deprecated and shouldn't be used anymore. It will be removed in 
a future version.
  self.add_from_file(uni_to_gui(path))
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkAlignment:xscale is deprecated and shouldn't be used anymore. It will be 
removed in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkAlignment:yscale is deprecated and shouldn't be used anymore. It will be 
removed in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/widgets/validatedcomboentry.py:76: 
TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All 
arguments passed will be ignored.
  dummy_event = Gdk.Event(Gdk.EventType.NOTHING)
/usr/lib/python3/dist-packages/gramps/gui/widgets/styledtexteditor.py:207: 
Warning: The property GtkSettings:gtk-show-unicode-menu is deprecated and 
shouldn't be used anymore. It will be removed in a future version.
  self.show_unicode = settings.get_property('gtk-show-unicode-menu')
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkAlignment:right-padding is deprecated and shouldn't be used anymore. It will 
be removed in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkAlignment:left-padding is deprecated and shouldn't be used anymore. It will 
be removed in a future version.
  self.add_from_file(uni_to_gui(path))
[test@test-VirtualBox ~]$ r
gramps
]/usr/lib/python3/dist-packages/gramps/gui/viewmanager.py:840: Warning: The 
property GtkSettings:gtk-menu-images is deprecated and shouldn't be used 
anymore. It will be removed in a future version.
  self.uimanager.ensure_update()
/usr/lib/python3/dist-packages/gramps/gui/viewmanager.py:459: Warning: The 
property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It 
will be removed in a future version.
  openbtn = Gtk.MenuToolButton.new_from_stock('gramps-db')
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed 
in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/widgets/validatedcomboentry.py:76: 
TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All 
arguments passed will be ignored.
  dummy_event = Gdk.Event(Gdk.EventType.NOTHING)
/usr/lib/python3/dist-packages/gramps/gui/widgets/styledtexteditor.py:207: 
Warning: The property GtkSettings:gtk-show-unicode-menu is deprecated and 
shouldn't be used anymore. It will be removed in a future version.
  self.show_unicode = settings.get_property('gtk-show-unicode-menu')
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be 
removed in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It 
will be removed in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkAlignment:xscale is deprecated and shouldn't be used anymore. It will be 
removed in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkAlignment:yscale is deprecated and shouldn't be used anymore. It will be 
removed in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkAlignment:right-padding is deprecated and shouldn't be used anymore. It will 
be removed in a future version.
  self.add_from_file(uni_to_gui(path))
/usr/lib/python3/dist-packages/gramps/gui/glade.py:125: Warning: The property 
GtkAlignment:left-padding is deprecated and shouldn't be used anymore. It will 
be removed in a future version.
  self.add_from_file(uni_to_gui(path))

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: gramps 4.1.1~dfsg-3
ProcVersionSignature: Ubuntu 3.18.0-12.13-generic 3.18.4
Uname: Linux 3.18.0-12-generic x86_64
ApportVersion: 2.15.1-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Mar  2 12:37:47 2015
InstallationDate: Installed on 2015-02-06 (24 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150205)
PackageArchitecture: all
SourcePackage: gramps
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gramps (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages vivid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1427374

Title:
  many gtk deprecation & "discouraged" warnings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gramps/+bug/1427374/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to