UnicodeDecodeErrors when printing non-ASCII text to console or pipe

Bug #728744 reported by Nizar Kerkeni
118
This bug affects 13 people
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Fix Released
Medium
Martin Pitt
Natty
Fix Released
Medium
Martin Pitt

Bug Description

crashed when reporting a bug with ubuntu-bug.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: jockey-common 0.9.1-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Thu Mar 3 23:33:38 2011
ExecutablePath: /usr/bin/jockey-text
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101202)
InterpreterPath: /usr/bin/python2.7
MachineType: Sony Corporation VGN-FE31H
PackageArchitecture: all
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdline: /usr/bin/python /usr/bin/jockey-text -l
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
 LANGUAGE=fr_FR:fr:en_GB:en
 LC_MESSAGES=C
 PATH=(custom, user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-5-generic root=UUID=6af38058-c7c3-4680-8f1b-9fedc3d89d2f ro single
PythonArgs: ['/usr/bin/jockey-text', '-l']
SourcePackage: jockey
Title: jockey-text crashed with UnicodeEncodeError in list(): 'ascii' codec can't encode character u'\xe9' in position 34: ordinal not in range(128)
UpgradeStatus: Upgraded to natty on 2011-02-24 (6 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 08/17/2006
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: R0170J3
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: 7R2M000000003d0b2f3d48aa3a3f
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: C3LMPW7F
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrR0170J3:bd08/17/2006:svnSonyCorporation:pnVGN-FE31H:pvrC3LMPW7F:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrC3LMPW7F:
dmi.product.name: VGN-FE31H
dmi.product.version: C3LMPW7F
dmi.sys.vendor: Sony Corporation

Revision history for this message
Nizar Kerkeni (nizarus) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Changed in jockey (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

This happens when piping jockey's output to an fd instead of to a console.

Changed in jockey (Ubuntu):
status: Confirmed → In Progress
Martin Pitt (pitti)
Changed in jockey (Ubuntu):
status: In Progress → Fix Committed
Martin Pitt (pitti)
summary: - jockey-text crashed with UnicodeEncodeError in list(): 'ascii' codec
- can't encode character u'\xe9' in position 34: ordinal not in range(128)
+ UnicodeDecodeErrors when printing non-ASCII text to console or pipe
Changed in jockey (Ubuntu):
importance: Low → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jockey - 0.9.2-0ubuntu2

---------------
jockey (0.9.2-0ubuntu2) natty; urgency=low

  * Merge from trunk:
    - Reintroduce __fix_stdouterr(); we need it for proper -l unicode support.
      However, delay it until after OptParser, as an already encoded
      sys.stderr causes that to crash. (LP: #728744)
 -- Martin Pitt <email address hidden> Thu, 10 Mar 2011 17:34:30 +0100

Changed in jockey (Ubuntu Natty):
status: Fix Committed → Fix Released
Revision history for this message
stoja (stojabreak) wrote :

WIth my Ati Radeon Mobilty 5730 , this crash continue :(

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.