From 456574e2c1eb93e51dab1827712bba7eaaff35fb Mon Sep 17 00:00:00 2001 From: Dave Young Date: Tue, 20 Dec 2016 17:05:22 +0800 Subject: [PATCH] Update kdump-anaconda-addon Resolves: bz1403658 commit d3e2e0ebcb2f9ba803576e48e7b9c752cc7e9f1a Author: Tong Li Date: Mon Dec 12 13:10:08 2016 +0800 Fix 'an unknown error has occurred' issue when selecting languages using non-latin characters Now when kdump_anaconda_addon is enabled and languages which use non-latin characters are selected in anaconda, e.g. Chinese and Japanese, it will raise an error and unable to continue to finish the installation process. This is because 'gettext.ldgettext' will return a byte object when translation includes non-latin character, while anaconda's core code requires a string. To fix this, we apply the mothod used by pyanaconda, which is invoking gettext after getting a translation instance. This can make sure that a str object will be returned. Signed-off-by: Dave Young --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 6029582..5c8ec5d 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ SHA512 (eppic_050615.tar.gz) = de23c3cd59ded23f2f0092c194b2169e78fcd385a8df7daf34b36f3bb2d5ddac2cdd3657bbe640beec447725988e928962baf62cf9deff8849da734390280a4f SHA512 (makedumpfile-1.6.0.tar.gz) = 3c1d068d347107070c20d0375648d1a9691891bd77b2769afad40776cbed6573bed8cba94f037a5c0cd630e770c0fa0c49d184611fbeafcbc8463a0a35dd170b -SHA512 (kdump-anaconda-addon-005-23-g3562114.tar.gz) = 794e224c0af21f44293c2a272e8e69df7e7a5d6d1f78c5546eb54cae3a8e7ffac801a9f8fc741a03d73e539ef098bc19cf1f55e3d10aa4c441c9b3e8f3f00a4b SHA512 (kexec-tools-2.0.14.tar.xz) = 8c1f9d1f4bb69a621961d45091f9c8349535ae69b80168423663685b44d89e1b9324d5cd11c83e86d805a3371f4f1600b0def551c52efb3c6cf020e9c11c273f +SHA512 (kdump-anaconda-addon-005-25-g2a4398f.tar.gz) = 0ce8602607a8d781e1804973e6affef1ed3dce729bb1a5525b2a8129f28bcb88713f6e8be5e3f41151223518096f7eed33dd3ea0e63ac7dc338b21fb78664e7e