Package: apt-xapian-index
Version: 0.45
Severity: important

The weekly cron job crashes every week because app-install-data contains
a desktop file that has invalid UTF-8 in it (see #693854).
app-install-data is installed because packagekit-backend-aptcc and
software-center both depend on it. software-center I installed manually
but packagekit-backend-aptcc is pulled in by default Recommends on
libpackagekit-glib2-14, which is pulled in by gnome-settings-daemon. The
fix should be as simple as catching UnicodeDecodeError exceptions and
skipping the file, hopefully that will be simple enough for the release
team to allow the fix into wheezy too.

root@morrison:~# /etc/cron.weekly/apt-xapian-index
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 97, in <module>
    if not indexer.setupIndexing(force=opts.force, system=opts.pkgfile is None):
  File "/usr/lib/pymodules/python2.7/axi/indexer.py", line 518, in setupIndexing
    addon.obj.init(dict(values=self.values), self.progress)
  File "/usr/share/apt-xapian-index/plugins/app-install.py", line 142, in init
    entry = DesktopEntry(os.path.join(APPINSTALLDIR, f))
  File "/usr/lib/python2.7/dist-packages/xdg/DesktopEntry.py", line 33, in 
__init__
    self.parse(filename)
  File "/usr/lib/python2.7/dist-packages/xdg/DesktopEntry.py", line 42, in parse
    IniFile.parse(self, file, ["Desktop Entry", "KDE Desktop Entry"])
  File "/usr/lib/python2.7/dist-packages/xdg/IniFile.py", line 56, in parse
    for line in fd:
  File "/usr/lib/python2.7/codecs.py", line 296, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 222: 
invalid continuation byte

-- System Information:
Debian Release: wheezy/sid
  APT prefers experimental
  APT policy: (1900, 'experimental'), (1800, 'unstable'), (1700, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: armel
armhf

Kernel: Linux 3.6-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-xapian-index depends on:
ii  python          2.7.3-3
ii  python-apt      0.8.8.1
ii  python-debian   0.1.21+nmu2
ii  python-support  1.0.15
ii  python-xapian   1.2.12-2

Versions of packages apt-xapian-index suggests:
ii  app-install-data  2012.06.16.1
ii  python-xdg        0.24-1

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to