Package: apt-xapian-index
Version: 0.46
Severity: wishlist

I have manually deleted the apt xapian index in
/var/cache/apt-xapian-index to free some space in an emergency and 
then forgot to recreate it, so when I run axi-cache the next time 
I got:

    Traceback (most recent call last):
      File "/usr/bin/axi-cache", line 846, in <module>
        sys.exit(ui.perform())
      File "/usr/bin/axi-cache", line 841, in perform
        return f(self.args)
      File "/usr/bin/axi-cache", line 530, in do_search
        self.db = DB()
      File "/usr/bin/axi-cache", line 120, in __init__
        self.db = xapian.Database(axi.XAPIANINDEX)
      File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 3667, in 
__init__
        _xapian.Database_swiginit(self,_xapian.new_Database(*args))
    xapian.DatabaseOpeningError: Couldn't stat 
'/var/cache/apt-xapian-index/index.2' (No such file or directory)

It would be nice to get an human readable error message instead.

Patch arriving as soon as I have a bug number.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-xapian-index depends on:
ii  python          2.7.8-1
ii  python-apt      0.9.3.8
ii  python-debian   0.1.22
ii  python-support  1.0.15
ii  python-xapian   1.2.18-1

apt-xapian-index recommends no packages.

Versions of packages apt-xapian-index suggests:
pn  app-install-data  <none>
ii  python-xdg        0.25-4

-- 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