This bug still exists in apport-gtk on Ubuntu 16.04.
To fix the issue:
1- Open apport-gtk script
sudo nano /usr/share/apport/apport-gtk
2- Change
import os.path, sys, subprocess, os, re
line to
import os.path, sys, subprocess, os, re, gi
3- After 'import' line before 'from gi.repository import GLib, Wnck, GdkX11,
Gdk' line, add
gi.require_version('Wnck', '3.0')
gi.require_version('GdkX11', '3.0')
LC_ALL=C apt-cache policy apport-gtk
apport-gtk:
Installed: 2.20-0ubuntu3
Candidate: 2.20-0ubuntu3
Version table:
*** 2.20-0ubuntu3 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages
100 /var/lib/dpkg/status
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1502173
Title:
Python warnings: modules imported without specifying a version first
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1502173/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs