Re: [orca-list] Bug#613086: New test, new situation



Mario Lang <mlang delysid org> wrote:
 
Looking at the backtrace and remembering my rusty python,
I think $LANG should be irrelevant here.
It looks like Python is trying to decode an UTF-8
string and fails because the string is encoded invalid.

Yes. My thought was that it might have been given a non-UTF-8 string, which is
why I suspected the locale setting.

Maybe Orca is just missing a try/catch block to correctly catch utf-8
decode errors?

I agree it should be catching them rather than just creating a backtrace.
I also agree that the strings giving rise to the error should be written to
the debug log.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]