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

Dear Maintainer,

here is the problem:

# /usr/sbin/update-apt-xapian-index
Reading .desktop files from /usr/share/app-install/desktop/...
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 0xd0 in position 118:
invalid continuation byte

A clear error message with the name of the offending file would be
better than a Python backtrace.


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

Kernel: Linux 3.2.0-4-rt-686-pae (SMP w/1 CPU core; PREEMPT)
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.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

apt-xapian-index recommends no packages.

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

-- no debconf information

-- 
Laurent Bonnaud.
http://www.gipsa-lab.grenoble-inp.fr/page_pro.php?vid=96


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