update-apt-xapian-index crashed with NameError in info()

Bug #178726 reported by Ming Hua
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
Fix Released
Undecided
Ming Hua
libept (Debian)
Fix Released
Unknown

Bug Description

Binary package hint: apt-xapian-index

This crash is triggered by cron job /etc/cron.weekly/apt-xapian-index

ProblemType: Crash
Architecture: i386
Date: Wed Dec 26 07:28:54 2007
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/sbin/update-apt-xapian-index
InterpreterPath: /usr/bin/python2.5
Package: apt-xapian-index 0.4
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/update-apt-xapian-index --quiet
ProcCwd: /home/minghua-grumpy
ProcEnviron:
 LC_COLLATE=C
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/sbin/update-apt-xapian-index', '--quiet']
SourcePackage: apt-xapian-index
Title: update-apt-xapian-index crashed with NameError in info()
Uname: Linux plateau 2.6.24-2-generic #1 SMP Thu Dec 20 17:36:12 GMT 2007 i686 GNU/Linux
UserGroups:

Tags: apport-crash
Revision history for this message
Ming Hua (minghua) wrote :
Revision history for this message
David Adam (zanchey) wrote :
Revision history for this message
David Adam (zanchey) wrote :

This is a bug in /usr/share/apt-xapian-index/plugins/apttags.py, which fails to import the apt module before referencing it.

One-line fix.

Revision history for this message
David Adam (zanchey) wrote :

This has been fixed by apt-xapian-index 0.5, released upstream Thu, 07 Feb 2008.

apt-xapian-index 0.6 is now available (released Tue, 19 Feb 2008).

Revision history for this message
Ming Hua (minghua) wrote :

Thanks for the investigation and the patch, David. I'll see if I can get apt-xapian-index synced to hardy.

Changed in libept:
status: Unknown → Fix Committed
Revision history for this message
Ming Hua (minghua) wrote :

I can confirm that apt-xapian-index 0.6 from Debian unstable fixes this bug.

Feature Freeze exception request filed as bug #197621.

Revision history for this message
Ming Hua (minghua) wrote :

Apt-xapian-index 0.6 has been synced in hardy, and this is fixed for me.

Changed in apt-xapian-index:
assignee: nobody → minghua
status: New → Fix Released
Changed in libept:
status: Fix Committed → Fix Released
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.