germinate crashed with UnicodeDecodeError in _parse_package(): 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

Bug #1025818 reported by Steve Langasek
10
This bug affects 1 person
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://people.canonical.com/~ubuntu-archive/seeds/ -m http://ports.ubuntu.com/ubuntu-ports/ -d quantal -s ubuntu.quantal -c main -a armhf

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: germinate 2.9
ProcVersionSignature: Ubuntu 3.5.0-4.4-generic 3.5.0-rc6
Uname: Linux 3.5.0-4-generic x86_64
ApportVersion: 2.3-0ubuntu4
Architecture: amd64
CheckboxSubmission: 017452a27eca3c8b498abbfa5ef91db9
CheckboxSystem: ecaaad6fa1e0799a0aa1126bf620f39e
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/python3.2mu
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/germinate --no-rdepends --no-installer -S http://people.canonical.com/~ubuntu-archive/seeds/ -m http://ports.ubuntu.com/ubuntu-ports/ -d quantal -s ubuntu.quantal -c main -a armhf
PythonArgs: ['/usr/bin/germinate', '--no-rdepends', '--no-installer', '-S', 'http://people.canonical.com/~ubuntu-archive/seeds/', '-m', 'http://ports.ubuntu.com/ubuntu-ports/', '-d', 'quantal', '-s', 'ubuntu.quantal', '-c', 'main', '-a', 'armhf']
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

Revision history for this message
Steve Langasek (vorlon) wrote :
Changed in germinate (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in germinate (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.