apport-collect should call programs with LC_MESSAGES=C

Bug #383230 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Martin Pitt
Jaunty
Invalid
Low
Unassigned
Karmic
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: apport

In bug 382398 the report has run apport-collect however their language is set to LANG=ru_RU.UTF-8 subsequently some of the command output has Russian in it like so:

ArecordDevices:
 **** Список CAPTURE устройств ****
 карта 0: SB [HDA ATI SB], устройство 0: ALC660-VD Analog [ALC660-VD Analog]

It'd be a bit easier for triagers and developers if this were in English instead.

Also is there anyway we could get this in an SRU for apport?

ProblemType: Bug
ApportLog:

Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: apport 1.0-0ubuntu5.2
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/zsh
 PATH=(custom, user)
 LANG=en_US.UTF-8
SourcePackage: apport
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
Brian Murray (brian-murray) wrote :
Changed in apport (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
status: New → Triaged
Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Trunk r1468

Changed in apport (Ubuntu Karmic):
status: In Progress → Fix Committed
Changed in apport (Ubuntu Jaunty):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.3-0ubuntu2

---------------
apport (1.3-0ubuntu2) karmic; urgency=low

  * debian/local/apport-collect: Pass None as HookUI object. This will crash
    with interactive hooks, but is a good enough immediate bandaid.
    (LP: #385811)
  * Merge fixes from trunk:
    - packaging-apt-dpkg.py: Add backwards compatibility code for python-apt <
      0.7.9 to not break backportability.
    - hookutils.py, command_output(): Force LC_MESSAGES=C, to avoid translated
      output in bug reports. (LP: #383230)
    - apport-gtk.ui: Make details window resizable, and lower default size, so
      that it will fit on small screens. (LP: #365517)

 -- Martin Pitt <email address hidden> Fri, 12 Jun 2009 12:47:59 +0200

Changed in apport (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
JC Hulce (soaringsky) wrote :

Thank you for taking the time to report this bug. This issue has been fixed in newer versions of Ubuntu, and Jaunty is EOL, so I am closing this bug task.

Changed in apport (Ubuntu Jaunty):
status: Triaged → Invalid
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.