Package: apt-xapian-index
Version: 0.18
Severity: grave
Justification: renders package unusable

I am unable to get a run of update-apt-xapian-index to complete.  It 
continually fails with the following error:

Reading current timestamp failed: [Errno 2] No such file or directory: 
'/var/lib/apt-xapian-index/update-timestamp'. Assuming the index has not been 
created yet.
Reading Debtags database: done.
Rebuilding Xapian index... 
0%/usr/share/apt-xapian-index/plugins/descriptions.py:75: DeprecationWarning: 
Accessed deprecated property Package.rawDescription, please see the Version 
class for alternatives.
  self.indexer.index_text_without_positions(pkg.rawDescription)
/usr/share/apt-xapian-index/plugins/sizes.py:74: DeprecationWarning: Accessed 
deprecated property Package.installedSize, please see the Version class for 
alternatives.
  instSize = pkg.installedSize
/usr/share/apt-xapian-index/plugins/sizes.py:75: DeprecationWarning: Accessed 
deprecated property Package.packageSize, please see the Version class for 
alternatives.
  pkgSize = pkg.packageSize
Rebuilding Xapian index... 0%
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 596, in <module>
    buildIndex(dbdir, addons, progress)
  File "/usr/sbin/update-apt-xapian-index", line 298, in buildIndex
    addon.obj.index(document, pkg)
  File "/usr/share/apt-xapian-index/plugins/descriptions.py", line 75, in index
    self.indexer.index_text_without_positions(pkg.rawDescription)
  File "/usr/lib/python2.5/site-packages/apt/package.py", line 95, in __get__
    return property.__get__(self, obj, type)
  File "/usr/lib/python2.5/site-packages/apt/package.py", line 510, in 
rawDescription
    return self.candidate.raw_description
  File "/usr/lib/python2.5/site-packages/apt/package.py", line 245, in 
raw_description
    return self._records.LongDesc
  File "/usr/lib/python2.5/site-packages/apt/package.py", line 202, in _records
    if self.package._pcache._records.Lookup(self._cand.FileList[0]):
AttributeError: 'NoneType' object has no attribute 'FileList'

I see this on two machines, both running sid, fully updated (and unrelated 
other than that - one is at work, the other at home).

I looked through the docs that come with apt-xapian-index, and didn't see any 
step that I might be missing, with regard to configuration or whatnot.

The run results in this:

$ ls -lR /var/lib/apt-xapian-index/
/var/lib/apt-xapian-index/:
total 8
drwxr-xr-x 2 root root 4096 2009-03-26 11:19 index.1
drwxr-xr-x 2 root root 4096 2009-03-26 14:40 index.2
-rwxr-xr-x 1 root root    0 2009-03-26 11:19 update-lock

/var/lib/apt-xapian-index/index.1:
total 16
-rw-r--r-- 1 root root  0 2009-03-26 11:19 flintlock
-rw-r--r-- 1 root root 12 2009-03-26 11:19 iamflint
-rw-r--r-- 1 root root 13 2009-03-26 11:19 postlist.baseA
-rw-r--r-- 1 root root  0 2009-03-26 11:19 postlist.DB
-rw-r--r-- 1 root root 13 2009-03-26 11:19 record.baseA
-rw-r--r-- 1 root root  0 2009-03-26 11:19 record.DB
-rw-r--r-- 1 root root 13 2009-03-26 11:19 termlist.baseA
-rw-r--r-- 1 root root  0 2009-03-26 11:19 termlist.DB


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

Kernel: Linux 2.6.26-1-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-xapian-index depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-apt                    0.7.9      Python interface to libapt-pkg
ii  python-debian                 0.1.12     Python modules to work with Debian
ii  python-xapian                 1.0.10-1   Xapian search engine interface for

apt-xapian-index recommends no packages.

apt-xapian-index suggests no packages.

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