gdebi crashes if the control file contains UTF-8 characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: gdebi
gdebi crashes If the control file of a package contains UTF-8 characters that aren't ASCII characters. This should work according to the "Debian Policy Manual":
http://
This is a regression from Ubuntu 10.04
ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: gdebi-core 0.6.2
ProcVersionSign
Uname: Linux 2.6.35-18-generic i686
Architecture: i386
CheckboxSubmission: 0691bb82e1ceb52
CheckboxSystem: b845c366ea09c60
Date: Wed Aug 25 23:11:59 2010
ExecutablePath: /usr/bin/gdebi
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
InterpreterPath: /usr/bin/python2.6
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/gdebi utf8-package_
ProcEnviron:
SHELL=/bin/bash
LANG=sv_SE.utf8
PythonArgs: ['/usr/bin/gdebi', 'utf8-package_
SourcePackage: gdebi
Title: gdebi crashed with UnicodeEncodeError in open()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Related branches
- Jason Conti (community): Approve
- Ubuntu Core Development Team: Pending requested
-
Diff: 322 lines (+166/-9) (has conflicts)7 files modifiedapt/auth.py (+2/-1)
apt/cache.py (+23/-0)
debian/changelog (+76/-0)
debian/control (+8/-0)
python/generic.h (+4/-0)
python/tag.cc (+2/-2)
tests/test_apt_cache.py (+51/-6)
- Michael Vogt: Pending requested
-
Diff: 293 lines (+117/-9) (has conflicts)10 files modifiedapt/auth.py (+2/-1)
apt/cache.py (+23/-0)
debian/changelog (+16/-0)
debian/control (+1/-0)
debian/tests/control (+2/-0)
debian/tests/run-tests (+8/-0)
python/apt_pkgmodule.cc (+2/-2)
python/cache.cc (+8/-0)
python/generic.h (+4/-0)
tests/test_apt_cache.py (+51/-6)
- Julian Andres Klode (community): Approve
-
Diff: 28 lines (+6/-1)2 files modifiedapt/package.py (+4/-1)
debian/changelog (+2/-0)
tags: | added: patch |
Changed in gdebi (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
milestone: | none → ubuntu-10.10-beta |
affects: | gdebi (Ubuntu) → python-apt (Ubuntu) |
Changed in python-apt (Ubuntu): | |
milestone: | ubuntu-10.10-beta → none |
This patch to python-apt appears to fix the problem.