germinate crashed with UnicodeDecodeError in _parse_package(): 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
germinate (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
The python3 version of germinate fails with a Unicode error when invoked on the livefs buildd for daily-preinstall image generation. It appears this is because it's running in a C locale. Reproducible with this commandline:
LANG=C germinate --no-rdepends --no-installer -S http://
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: germinate 2.9
ProcVersionSign
Uname: Linux 3.5.0-4-generic x86_64
ApportVersion: 2.3-0ubuntu4
Architecture: amd64
CheckboxSubmission: 017452a27eca3c8
CheckboxSystem: ecaaad6fa1e0799
Date: Tue Jul 17 11:22:43 2012
ExecutablePath: /usr/bin/germinate
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
InterpreterPath: /usr/bin/
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/germinate --no-rdepends --no-installer -S http://
PythonArgs: ['/usr/
SourcePackage: germinate
Title: germinate crashed with UnicodeDecodeError in _parse_package(): 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
UpgradeStatus: Upgraded to quantal on 2012-06-11 (36 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin mythtv plugdev sambashare src sudo
Related branches
- Colin Watson: Approve
-
Diff: 59 lines (+16/-3)3 files modifieddebian/changelog (+7/-0)
germinate/archive.py (+6/-1)
germinate/tests/test_archive.py (+3/-2)
tags: | removed: need-duplicate-check |
This bug was fixed in the package germinate - 2.10
---------------
germinate (2.10) unstable; urgency=low
* Always open Packages files as UTF-8, regardless of the current locale.
LP: #1025818.
-- Steve Langasek <email address hidden> Mon, 23 Jul 2012 11:33:43 +0100