[Bug 1576193] Re: software-properties-gtk complains about Gdk being imported without a version

Jerry Bezencon valtam at protonmail.com
Tue May 31 09:16:49 UTC 2016


I can confirm this error on Linux Lite 3.0 (Ubuntu 16.04 base):

jerry at jerry-vb-32:~$ software-properties-gtk 
/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:40: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gdk, Gtk, Gio, GLib
/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:40: 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 GObject, Gdk, Gtk, Gio, GLib
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
jerry at jerry-vb-32:~$

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

Title:
  software-properties-gtk complains about Gdk being imported without a
  version

Status in software-properties package in Ubuntu:
  Triaged

Bug description:
  jik at jik5:~$ software-properties-gtk &
  [1] 6387
  jik at jik5:~$ /usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:40: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '3.0') before import to ensure that the right version gets loaded.
    from gi.repository import GObject, Gdk, Gtk, Gio, GLib

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: software-properties-gtk 0.96.20
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  Uname: Linux 4.4.0-21-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Apr 28 08:42:25 2016
  InstallationDate: Installed on 2016-01-16 (103 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  PackageArchitecture: all
  SourcePackage: software-properties
  UpgradeStatus: Upgraded to xenial on 2016-04-28 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1576193/+subscriptions



More information about the foundations-bugs mailing list