← Back to team overview

desktop-packages team mailing list archive

[Bug 1544632] [NEW] sys:1: PyGIWarning

 

Public bug reported:

Getting this warnings in all the reports using ubuntu-bug binary:

sys:1: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded.
sys:1: PyGIWarning: GdkX11 was imported without specifying a version first. Use gi.require_version('GdkX11', '3.0') before import to ensure that the right version gets loaded.

It seems use this as invokation:

/usr/share/apport/apport-gtk apport

It seems a simple fix add in /usr/share/apport/apport-gtk the lines:

import gi
gi.require_version('Wnck', '3.0')
gi.require_version('GdkX11', '3.0')

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apport 2.19.4-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-1.15-generic 4.4.0
Uname: Linux 4.4.0-1-generic x86_64
ApportLog:
 
ApportVersion: 2.19.4-0ubuntu1
Architecture: amd64
CrashReports: 640:1000:116:25044238:2016-02-09 19:57:56.282645225 +0100:2016-02-09 19:57:57.282645225 +0100:/var/crash/_opt_google_chrome_chrome.1000.crash
CurrentDesktop: Unity
Date: Thu Feb 11 16:13:38 2016
InstallationDate: Installed on 2014-05-08 (644 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1544632

Title:
  sys:1: PyGIWarning

Status in apport package in Ubuntu:
  New

Bug description:
  Getting this warnings in all the reports using ubuntu-bug binary:

  sys:1: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded.
  sys:1: PyGIWarning: GdkX11 was imported without specifying a version first. Use gi.require_version('GdkX11', '3.0') before import to ensure that the right version gets loaded.

  It seems use this as invokation:

  /usr/share/apport/apport-gtk apport

  It seems a simple fix add in /usr/share/apport/apport-gtk the lines:

  import gi
  gi.require_version('Wnck', '3.0')
  gi.require_version('GdkX11', '3.0')

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: apport 2.19.4-0ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-1.15-generic 4.4.0
  Uname: Linux 4.4.0-1-generic x86_64
  ApportLog:
   
  ApportVersion: 2.19.4-0ubuntu1
  Architecture: amd64
  CrashReports: 640:1000:116:25044238:2016-02-09 19:57:56.282645225 +0100:2016-02-09 19:57:57.282645225 +0100:/var/crash/_opt_google_chrome_chrome.1000.crash
  CurrentDesktop: Unity
  Date: Thu Feb 11 16:13:38 2016
  InstallationDate: Installed on 2014-05-08 (644 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

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