colorized output of unity_support_test causes problems for apport
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Incomplete
|
Undecided
|
Unassigned | ||
Nux |
Invalid
|
Undecided
|
Unassigned | ||
Unity |
Invalid
|
Undecided
|
Unassigned | ||
nux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
While the output of unity_support_test is rather pretty the colorization causes a crash in apport when trying to add the output as an attachment to the bug report. I ended up having to work around this like this so:
ust = command_
ust = ust.replace(
This is rather terrible and arguably its a bug in apport, however looking at the output of unity_support_test it seems rather verbose and a quieter non-colorized version might make things easier.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: nux-tools 0.9.18-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-2-generic x86_64
Architecture: amd64
CheckboxSubmission: fee5e196cb921cb
CheckboxSystem: 2a6f54df59af338
Date: Wed Feb 9 13:58:58 2011
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
LC_MESSAGES=
SHELL=/bin/zsh
SourcePackage: nux
Changed in apport: | |
status: | New → Incomplete |
This is definitely a bug in apport. Colorizing output in an xterm is totally legal, apport should not crash on that. Could you please attach a trace from apport and possibly your output of unity_support_test so that apport can be fixed?