[Bug 1591626] Re: Running update-apt-xapian-index -vf ends with error
latimerio
1591626 at bugs.launchpad.net
Tue Sep 13 06:26:09 UTC 2016
Similar issue here:
I have a system which was upgraded from 14.04 LTS to 16.04 LTS recently.
Since then I get the weekly errors from /etc/cron.weekly/apt-xapian-index as shown below.
I have already purged python and xapian and re-installed them but no change.
Traceback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 111, in <module>
indexer.rebuild(opts.pkgfile)
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 758, in rebuild
self.buildIndex(dbdir, generator)
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 733, in buildIndex
for doc in documents:
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 580, in gen_documents_apt
yield self.get_document_from_apt(pkg)
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 543, in get_document_from_apt
addon.obj.index(document, pkg)
File "/usr/share/apt-xapian-index/plugins/descriptions.py", line 108, in index
self.indexer.index_text_without_positions(version.raw_description)
File "/usr/lib/python3/dist-packages/apt/package.py", line 499, in raw_description
return self._records.long_desc
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe5 in position 48: invalid continuation byte
run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-xapian-index in Ubuntu.
https://bugs.launchpad.net/bugs/1591626
Title:
Running update-apt-xapian-index -vf ends with error
Status in apt-xapian-index package in Ubuntu:
New
Bug description:
Running update-apt-xapian-index -vf ends with error:
Rebuilding Xapian index... 6%Traceback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 111, in <module>
indexer.rebuild(opts.pkgfile)
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 758, in rebuild
self.buildIndex(dbdir, generator)
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 733, in buildIndex
for doc in documents:
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 580, in gen_documents_apt
yield self.get_document_from_apt(pkg)
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 543, in get_document_from_apt
addon.obj.index(document, pkg)
File "/usr/share/apt-xapian-index/plugins/apttags.py", line 127, in index
rec = ver.record
File "/usr/lib/python3/dist-packages/apt/package.py", line 592, in record
return Record(self._records.record)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 724: invalid start byte
I'm trying run update-apt-xapian-index by hand because Synaptic quick
search doesn't work anymore.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apt-xapian-index 0.47ubuntu8
ProcVersionSignature: Ubuntu 4.4.0-23.41-lowlatency 4.4.10
Uname: Linux 4.4.0-23-lowlatency x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sun Jun 12 09:20:47 2016
InstallationDate: Installed on 2015-02-13 (484 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitecture: all
SourcePackage: apt-xapian-index
UpgradeStatus: Upgraded to xenial on 2016-04-25 (47 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1591626/+subscriptions
More information about the foundations-bugs
mailing list