on 2014/04/02 03:13, Aline Manera wrote:
On 04/01/2014 05:07 AM, Zhou Zheng Sheng wrote:
> Hi,
>
> As I test, after apply this patch, it would triggers another Kimchi bug.
>
> The problem is in
> kimchi.model.debugreports.DebugReportsModel.sosreport_generate .
>
> In sosreport_generate there is a big "try" block to catch exceptions and
> translate into another exception OperationFailed. However the inner
> exception raised can also be Kimchi specific exception such as
> OperationFailed. So the error message gets translated and encoded twice
> and it would raise UnicodeEncodeError.
>
> This bug is related to but not caused by this patch. If you apply the
> patch and run into this bug, it's good because it proves the translation
> is working at least...
Yes, I have already noticed this issue too.
Are you going to send a patch to it?
Sure. Will do it today.
--
Thanks and best regards!
Zhou Zheng Sheng / 周征晟
E-mail: zhshzhou(a)linux.vnet.ibm.com
Telephone: 86-10-82454397