DeprecationWarning email from apt-xapian-weekly cron job

Bug #362295 reported by Christian Hudon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: apt-xapian-index

Hello,

Each week, I receive the following email from cron:

/etc/cron.weekly/apt-xapian-index:
/var/lib/python-support/python2.6/debian_bundle/deb822.py:1039: DeprecationWarning: object.__init__() takes no parameters
  str.__init__(self, str_)

It'd be nice if this warning were fixed, because getting emailed about this every week for the lifetime of jaunty is a bit annoying.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: apt-xapian-index 0.16
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=fr_CA.UTF-8
 SHELL=/bin/tcsh
SourcePackage: apt-xapian-index
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Christian Hudon (chrish) wrote :
Revision history for this message
Laurent Bigonville (bigon) wrote :

Same problem in lucid

$ sudo update-apt-xapian-index
/usr/share/apt-xapian-index/plugins/apttags.py:28: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")
/usr/share/apt-xapian-index/plugins/descriptions.py:25: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")
/usr/share/apt-xapian-index/plugins/origin.py:26: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")
/usr/share/apt-xapian-index/plugins/sections.py:24: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")
/usr/share/apt-xapian-index/plugins/sizes.py:24: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")
/usr/share/apt-xapian-index/plugins/software-center.py:31: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")
Rebuilding Xapian index: done.

Changed in apt-xapian-index (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Laurent Bigonville (bigon) wrote :

Well this is not exactly the same warnings..

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Is this still an issue in maverick?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.