[Bug 448158] Re: apport-retrace crashed with UnicodeEncodeError in exit()

2011-03-29 Thread Martin Pitt
I can still replicate with python2.6 /usr/bin/apport-retrace, but python2.7 apparently has this fixed. As 2.7 is the default in natty, I'm closing this now. Thanks! ** Changed in: apport (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a

[Bug 448158] Re: apport-retrace crashed with UnicodeEncodeError in exit()

2010-10-04 Thread Braiam Peguero
So it could be a bug in python too? -- apport-retrace crashed with UnicodeEncodeError in exit() https://bugs.launchpad.net/bugs/448158 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 448158] Re: apport-retrace crashed with UnicodeEncodeError in exit()

2010-10-04 Thread Philip Muškovac
Possibly, I'm not an expert about python, and the guys in #python said that 2.6 write() doesn't support unicode and you have to convert it. I'm not sure if that's just a workaround or the intended behaviour. 2.7 works fine with unicode btw. and output in python 3 seems to work differently. --

[Bug 448158] Re: apport-retrace crashed with UnicodeEncodeError in exit()

2010-10-02 Thread Braiam Peguero
It could have a better handle of the no-options and invalid options. Instead of a error can be something like: apport-retrace No options given. Please, use apport-retrace --help to get a complete list of options. or Invalid option. Run apport-retrace --help to get a complete list of options.

[Bug 448158] Re: apport-retrace crashed with UnicodeEncodeError in exit()

2010-10-02 Thread Braiam Peguero
It could have a better handle of the no-options and invalid options. Instead of a error can be something like: apport-retrace No options given. Please, use apport-retrace --help to get a complete list of options. or Invalid option. Run apport-retrace --help to get a complete list of options.

[Bug 448158] Re: apport-retrace crashed with UnicodeEncodeError in exit()

2010-10-02 Thread Philip Muškovac
if no option is given apport prints the following: $ apport-retrace Usage: apport-retrace [options] apport problem report | crash ID apport-retrace: error: incorrect number of arguments; use --help for a short help it tries to do exactly that in karmic and lucid too, but seems to crash with

[Bug 448158] Re: apport-retrace crashed with UnicodeEncodeError in exit()

2010-10-02 Thread Philip Muškovac
Ok, after some debugging it turnes out that python2.6 sys.stderr.write() can't handle unicode characters that aren't converted to bytes first: sys.stderr.write(str(u'\xfc')) Traceback (most recent call last): File stdin, line 1, in module UnicodeEncodeError: 'ascii' codec can't encode character

[Bug 448158] Re: apport-retrace crashed with UnicodeEncodeError in exit()

2010-09-06 Thread yamo
Hi, I had this bug on lucid. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 10.04.1 LTS Release:10.04 Codename: lucid $ dpkg -l apport-retrace | grep ii ii apport-retrace 1.13.3-0ubuntu2

[Bug 448158] Re: apport-retrace crashed with UnicodeEncodeError in exit()

2010-02-25 Thread Philip Muškovac
Confirmed by duplicates. ** Visibility changed to: Public ** Changed in: apport (Ubuntu) Importance: Undecided = Medium ** Changed in: apport (Ubuntu) Status: New = Confirmed -- apport-retrace crashed with UnicodeEncodeError in exit() https://bugs.launchpad.net/bugs/448158 You