exception raised by installedFiles on unicode filenames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-apt
I'm iterating over installed packages and looking at their installedFiles list. Some packages seem to have unicode filenames (e.g. the 'kbd' package has /usr/share/
Traceback (most recent call last):
File "./apptest.py", line 10, in <module>
files = pkg.installedFiles
File "/usr/lib/
return file_list.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3636: ordinal not in range(128)
ProblemType: Bug
Architecture: amd64
Date: Sun Aug 2 11:49:18 2009
DistroRelease: Ubuntu 9.10
Package: python-apt 0.7.10.4ubuntu1
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: python-apt
Uname: Linux 2.6.31-4-generic x86_64
trivial script to reproduce the backtrace