reassign 693855 python-xdg 0.24-1
retitle 693855 IniFile.parse chokes on bad utf8
thanks

tl;dr for python-xdg maintainers: trying to create a DesktopFile for 
/usr/share/app-install/desktop/gnome-alsamixer.desktop currently fails
throwing UnicodeError; it should probably ignore the offending entries
instead.

On Wed, Nov 21, 2012 at 09:18:43AM +0800, Paul Wise wrote:

> 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.
[...]
> Versions of packages apt-xapian-index suggests:
> ii  app-install-data  2012.06.16.1
> ii  python-xdg        0.24-1

Hello Paul,

thanks for reporting this. However, I cannot reproduce it in wheezy. It
looks like it's because you have python-xdg from experimental (wheezy
has python-xdg version 0.19-4): the wheezy version doesn't choke on bad
UTF8, and in this case it returns the string "Mlangeur de son ALSA pour
GNOME" without raising any error.

It'd still be a good idea to catch exceptions here, but this is not
something that would warrant an update for wheezy.

I'm reassigning this bug to python-xdg, though: I reckon it should deal
gracefully with incorrect utf8.


Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>

Attachment: signature.asc
Description: Digital signature

Reply via email to