On my 17.10 systems, this bug no longer shows up.
--
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
I was unable to recreate this problem on Ubuntu 17.10. Can you provide
some more details about the version of apport you have installed or what
exactly you are seeing?
bdmurray@impulse:~$ apt-cache policy apport
apport:
Installed: 2.20.7-0ubuntu3.5
Candidate: 2.20.7-0ubuntu3.5
Version
This is still happening in 17.10! Why is this marked as fixed several
times but still propagating up the versions? This needs to be fixed
once and for all.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
This bug was fixed in the package apport - 2.20.1-0ubuntu2.5
---
apport (2.20.1-0ubuntu2.5) xenial; urgency=medium
* apport-gtk: Specify module version with GI imports to avoid warnings.
Thanks Anatoly Techtonik. (LP: #1502173)
-- Brian Murray Tue, 03 Jan
I confirm that with the 2.20.1-0ubuntu2.5 version of apport-gtk
packages, the bug is fixed.
LC_ALL=C apt-cache policy apport-gtk
apport-gtk:
Installed: 2.20.1-0ubuntu2.5
Candidate: 2.20.1-0ubuntu2.5
Version table:
*** 2.20.1-0ubuntu2.5 400
400 http://archive.ubuntu.com/ubuntu
Thanks for the fix!
I upgraded my system to yakkety therefore I cannot test myself.
--
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
Hello Laurent, or anyone else affected,
Accepted apport into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.20.1-0ubuntu2.5 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
** Description changed:
[Description]
- Users receive warnings about importing of python modules with a version being
specified. While this isn't a big deal in itself we get lots of bug reports
from people about this issue since it is so obvious. Given that Ubuntu 16.04
is an LTS release
** Description changed:
+ [Description]
+ Users receive warnings about importing of python modules with a version being
specified. While this isn't a big deal in itself we get lots of bug reports
from people about this issue since it is so obvious. Given that Ubuntu 16.04
is an LTS release
Just to prevent more bug reports about this we might as well fix it in
16.04.
** Also affects: apport (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: apport (Ubuntu Xenial)
Importance: Undecided => Low
** Changed in: apport (Ubuntu Xenial)
Status: New =>
This bug was fixed in the package apport - 2.20.3-0ubuntu8
---
apport (2.20.3-0ubuntu8) yakkety; urgency=medium
* Prefer pycodestyle build dependency over pep8.
* debian/tests/upstream-system: Create and export $GNUPGHOME, to work with
gnupg2.
* apport-gtk: Specify module
** Branch linked: lp:~ubuntu-core-dev/ubuntu/yakkety/apport/ubuntu
--
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
This bug still exists partially in yakkety:
$ /usr/share/apport/apport-gtk
/usr/share/apport/apport-gtk:16: 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.
from gi.repository
You are wellcome:) I tried to push patch to branch but how-to in the
Ubuntu wiki ( as far as I remember ) was a bit complicated for someone
like me who is just an end user:) The answer in the Askubuntu is much
easier.
--
You received this bug notification because you are a member of Ubuntu
Bugs,
Thanks Numan for the patch. Inline text helped me gain inspiration to
get into launchpad patch submission process -
https://askubuntu.com/questions/372654/how-do-i-submit-a-patch-to-a
-launchpad-project
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
** Branch linked: lp:apport
--
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
** Changed in: apport (Ubuntu)
Status: Confirmed => Fix Committed
--
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
** Branch linked: lp:~techtonik/apport/fix-gi-warning
--
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
Numan's workaround did the trick for me (with up-to-date ubuntu 16.04).
The warning does not occur after that.
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1502173/comments/3
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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,
** Changed in: apport (Ubuntu)
Importance: Undecided => Low
--
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
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: apport (Ubuntu)
Status: New => Confirmed
--
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:
22 matches
Mail list logo