Package: apt-xapian-index
Version: 0.34
Severity: important
Tags: patch

Hi,

update-apt-xapian-index fails with a NameError:

    /etc/cron.weekly/apt-xapian-index:
    Traceback (most recent call last):
      File "/usr/sbin/update-apt-xapian-index", line 71, in <module>
        warnings.filterwarnings("ignore","")
    NameError: name 'warnings' is not defined
    run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1

due to a missing import:

    --- /usr/sbin/update-apt-xapian-index       2010-05-13 15:23:18.000000000 
+0200
    +++ /tmp/update-apt-xapian-index    2010-05-15 13:47:22.000000000 +0200
    @@ -29,6 +29,7 @@
     # Minimal imports so we are always able to print command line help
     from optparse import OptionParser
     import sys
    +import warnings
     
     VERSION="0.34"
     

Cheers,
Serafeim

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (100, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-xapian-index depends on:
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-apt                    0.7.94.2   Python interface to libapt-pkg
ii  python-debian                 0.1.16     Python modules to work with Debian
ii  python-support                1.0.8      automated rebuilding support for P
ii  python-xapian                 1.0.20-1   Xapian search engine interface for

apt-xapian-index recommends no packages.

Versions of packages apt-xapian-index suggests:
pn  app-install-data              <none>     (no description available)
pn  python-xdg                    <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to