Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-xapian-index (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Lucid |
Fix Released
|
Medium
|
Michael Vogt | ||
python-apt (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Lucid |
Fix Released
|
Medium
|
Michael Vogt | ||
software-center (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Lucid |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
Binary package hint: apt-xapian-index
Error message in mail each morning:
/etc/cron.
/usr/share/
file = apt.apt_
/usr/share/
file = apt.apt_
/usr/share/
file = apt.apt_
/usr/share/
file = apt.apt_
/usr/share/
file = apt.apt_
/usr/share/
file = apt.apt_
ProblemType: Bug
Architecture: amd64
CheckboxSubmission: 5a9ce4929743802
CheckboxSystem: b1865df84255b87
Date: Fri Mar 26 09:14:12 2010
DistroRelease: Ubuntu 10.04
NonfreeKernelMo
Package: apt-xapian-index 0.22
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
LANG=fr_FR.utf8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apt-xapian-index
Uname: Linux 2.6.32-17-generic x86_64
Changed in apt-xapian-index (Ubuntu): | |
status: | New → Confirmed |
Changed in software-center (Ubuntu): | |
status: | New → Confirmed |
Changed in python-apt (Ubuntu): | |
status: | New → Confirmed |
Changed in python-apt (Ubuntu Lucid): | |
importance: | Undecided → Medium |
assignee: | nobody → Michael Vogt (mvo) |
milestone: | none → ubuntu-10.04-beta-2 |
mvo, your patch to disable the warnings only worked when 'apt' was imported, but not for applications using just apt_pkg and apt_inst. I have attached a patch for this specific problem, but I will enhance it tomorrow to cover all warnings. This will also solve the problem that your patch disables any DeprecationWarning.