[Bug 841713] New: Installation interrupted with Russian language
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c0 Summary: Installation interrupted with Russian language Classification: openSUSE Product: openSUSE Factory Version: 13.1 Beta 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ugal12v@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 I'm installing 13.1 beta1 with DVD image. If I choose Russian, installation has been interrupted at the "System Analysis" screen with Yast2 error "Calling the YaST module `inst_system_analysis has failed". I used x86_64 and i586 images. With other languages installation is OK. Reproducible: Always Steps to Reproduce: 1.Boot from installation media 2.Choose Russian 'Русский' 3. Actual Results: Installation interrupt with an error Expected Results: Installed 13.1 beta1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c1 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |NEEDINFO CC| |jsuchome@suse.com, | |ke@suse.com InfoProvider| |alex239@gmail.com AssignedTo|bnc-team-screening@forge.pr |ke@suse.com |ovo.novell.com | --- Comment #1 from Karl Eichwalder <ke@suse.com> 2013-09-25 14:45:39 CEST --- Alex or Jiri, do you have an idea what might be going on there? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c2 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|alex239@gmail.com |ugal12v@gmail.com --- Comment #2 from Jiří Suchomel <jsuchome@suse.com> 2013-09-25 12:53:43 UTC --- Please attach YaST log files: https://en.opensuse.org/openSUSE:Bugreport_YaST -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c3 Yurij Galitsckij <ugal12v@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|ugal12v@gmail.com | --- Comment #3 from Yurij Galitsckij <ugal12v@gmail.com> 2013-09-25 14:09:22 UTC --- Created an attachment (id=560047) --> (http://bugzilla.novell.com/attachment.cgi?id=560047) YaST logs YaST log files attached. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c4 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jreidinger@suse.com --- Comment #4 from Jiří Suchomel <jsuchome@suse.com> 2013-09-26 08:00:27 UTC --- Wow, that's new: "Client call failed with incompatible character encodings" Josef, can you take a look? There's a failed loadkeys call before, but I have doubts it could be the reason.... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c5 Josef Reidinger <jreidinger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jreidinger@suse.com InfoProvider|jreidinger@suse.com |aschnell@suse.com --- Comment #5 from Josef Reidinger <jreidinger@suse.com> 2013-09-26 09:01:44 UTC --- OK, it means, that Storage try to mix UTF-8 encoding in which we have all strings and ASCII-8Bit. My suspicious is method KByteToHumanString which is called to storage. Arvin - Can you check if such function can return ASCII for Russian enconding? Jiri - What exact locale we set for Russian? UTF8 variant? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c6 --- Comment #6 from Jiří Suchomel <jsuchome@suse.com> 2013-09-26 09:04:15 UTC --- ru_RU, and yes, encoding is UTF-8 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c7 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |aschnell@suse.com InfoProvider|aschnell@suse.com | --- Comment #7 from Arvin Schnell <aschnell@suse.com> 2013-09-26 11:18:59 UTC --- libstorage uses dgettext and the stream << operator to generate the string. I remember there were problems with the thousands separator in the past but cannot recall the details. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c8 Josef Reidinger <jreidinger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |aschnell@suse.com --- Comment #8 from Josef Reidinger <jreidinger@suse.com> 2013-09-26 12:52:53 UTC --- (In reply to comment #7)
libstorage uses dgettext and the stream << operator to generate the string. I remember there were problems with the thousands separator in the past but cannot recall the details.
I check dgettext and if encoding is really set to UTF-8 then my suspicious can be libstorage ruby bindings that can create bad string. Can you point me to libstorage ruby bindings so I can check how it create strings? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c9 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|aschnell@suse.com | --- Comment #9 from Arvin Schnell <aschnell@suse.com> 2013-09-26 13:16:03 UTC --- I suspect the thousands separator. Anyway, the bindings are there: https://github.com/openSUSE/libstorage/tree/master/bindings/ruby -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c10 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hendrikw@arcor.de --- Comment #10 from Arvin Schnell <aschnell@suse.com> 2013-09-27 07:29:54 UTC --- *** Bug 842587 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=842587 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c11 Josef Reidinger <jreidinger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ke@suse.com |aschnell@suse.com --- Comment #11 from Josef Reidinger <jreidinger@suse.com> 2013-09-27 08:06:38 UTC --- Yes, I am just testing it and method byteToHumanString really return ASCII-8BIT which looks wrong for me as in Yast every string is expected to by in UTF-8. Arvin do you have idea if we can tell somehow swig to generate always UTF-8 string for ruby bindings? Or it can be solved on ruby side with simple method `encode("UTF-8")` called on string which takes string in whatever enconding and translate it to UTF-8. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c12 --- Comment #12 from Josef Reidinger <jreidinger@suse.com> 2013-09-27 08:07:36 UTC --- just for record easy way to reproduce it is calling ``` require "storage" puts Storage.byteToHumanString(1000000, false, 2, false).encoding ``` -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c13 --- Comment #13 from Josef Reidinger <jreidinger@suse.com> 2013-09-27 08:11:26 UTC --- and for reference it looks like swig always do ASCII-8Bit see http://sourceforge.net/p/swig/feature-requests/89/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c14 --- Comment #14 from Josef Reidinger <jreidinger@suse.com> 2013-09-27 08:49:42 UTC --- Created an attachment (id=560478) --> (http://bugzilla.novell.com/attachment.cgi?id=560478) file with wrapper around storage Arvin - I create simple wrapper that you can use in ruby to ensure that all storage methods return UTF-8 and should solve this bug. You just need to place it somewhere ( e.g. in lib directory and require such file instead of storage, it will dynamic patch storage to always return correct strings ) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c15 --- Comment #15 from Arvin Schnell <aschnell@suse.com> 2013-09-27 09:23:41 UTC --- I still suspect the thousands separator to cause the trouble, see: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16006 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c16 --- Comment #16 from Josef Reidinger <jreidinger@suse.com> 2013-09-27 09:27:45 UTC --- Hmm, really stupid conclusion to use wchar instead.... any idea what to do with it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c17 --- Comment #17 from Arvin Schnell <aschnell@suse.com> 2013-09-27 12:18:08 UTC --- I just noticed that it cannot be the thousands separator since YaST does not set the C++ locale. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c18 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Severity|Normal |Major --- Comment #18 from Arvin Schnell <aschnell@suse.com> 2013-09-30 09:36:01 UTC --- Included wrapper from comment #14 with force_encoding instead of encode in libstorage-ruby. Tested with RU and DE. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=841713 https://bugzilla.novell.com/show_bug.cgi?id=841713#c19 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com --- Comment #19 from Arvin Schnell <aschnell@suse.com> 2013-09-30 12:41:21 UTC --- *** Bug 843181 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=843181 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com