On Mon, Aug 09, 2010 at 11:12:53AM +0200, Jan Schulz wrote: > I get the following error in my daily logwatch output: > > /etc/cron.weekly/apt-xapian-index: > Traceback (most recent call last): > File "/usr/sbin/update-apt-xapian-index", line 102, in <module> > indexer.incrementalUpdate() > File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 629, in > incrementalUpdate > self.updateIndex(dbpath) > File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 594, in updateIndex > unchanged, outdated, obsolete = self.compareCacheToDb(cache, db) > File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 566, in > compareCacheToDb > for (idx, m) in enumerate(db.postlist("")): > File "/usr/lib/python2.6/dist-packages/xapian.py", line 5534, in next > self._iter.next() > RuntimeError: basic_string::assign > run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1 > > I've no idea what's happening here, so any help appreciated...
Hello, thank you for reporting this. It looks like a Xapian error, which is hard to debug from a python backtrace, so we should try to reproduce the bug in a more convenient debugging situation. Do you get the same error outside of cron, by running, as root: /usr/sbin/update-apt-xapian-index --update --quiet ? Ciao, Enrico -- GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>
signature.asc
Description: Digital signature