Bug 1161442 - yast2-storage-ng incompatible character encodings: UTF-8 and ASCII-8BIT
Summary: yast2-storage-ng incompatible character encodings: UTF-8 and ASCII-8BIT
Status: RESOLVED FIXED
: 1161830 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Current
Hardware: Other Other
: P3 - Medium : Normal with 11 votes (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-21 15:36 UTC by Dead Mozay
Modified: 2020-02-05 07:24 UTC (History)
10 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
y2logs (109.16 KB, application/x-xz)
2020-01-21 15:36 UTC, Dead Mozay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dead Mozay 2020-01-21 15:36:16 UTC
Created attachment 827933 [details]
y2logs

When opening yast2-storage-ng program crashes, 
_Caller: /usr/share/YaST2/lib/y2partitioner/widgets/description_section/partition.rb:48:in `format'_
in rare cases crashes when a disk volume is selected.

all users of RU locale confirmed this error, as people wrote that a similar error occurs in the installer of the distribution at the stage of detecting disks, even with an EN locale.
Comment 1 Lilicenco Ilia 2020-01-21 15:53:26 UTC
And with French locale also
Comment 2 Ancor Gonzalez Sosa 2020-01-21 16:36:32 UTC
The error happens when trying to show the ID of a partition.

We recently unified the handling of IDs between libstorage-ng and yast2-storage-ng. In the past, the (internationalized) name of such IDs were maintained (duplicated) in both projects, but now they are always coming from libstorage-ng. See https://github.com/yast/yast-storage-ng/pull/1016

This seems related to that change. Maybe some inconsistency in the packages. Which versions of the following packages do you have in your system?

yast2-storage-ng
yast2-trans
libstorage-ng-ruby
libstorage-ng-lang
Comment 3 Dead Mozay 2020-01-21 16:46:34 UTC
(In reply to Ancor Gonzalez Sosa from comment #2)
> The error happens when trying to show the ID of a partition.
> 
> We recently unified the handling of IDs between libstorage-ng and
> yast2-storage-ng. In the past, the (internationalized) name of such IDs were
> maintained (duplicated) in both projects, but now they are always coming
> from libstorage-ng. See https://github.com/yast/yast-storage-ng/pull/1016
> 
> This seems related to that change. Maybe some inconsistency in the packages.
> Which versions of the following packages do you have in your system?
> 
> yast2-storage-ng
> yast2-trans
> libstorage-ng-ruby
> libstorage-ng-lang

yast2-storage-ng - 4.2.72
yast2-trans - 84.87.20200104.ad092ae8df
libstorage-ng-ruby - 4.2.55
libstorage-ng-lang - 4.2.55
Comment 4 Ancor Gonzalez Sosa 2020-01-23 15:54:22 UTC
I finally managed to reproduce this. A fix will come shortly
Comment 5 Dead Mozay 2020-01-23 15:57:50 UTC
(In reply to Ancor Gonzalez Sosa from comment #4)
> I finally managed to reproduce this. A fix will come shortly

Good news, thanks
Comment 6 Ancor Gonzalez Sosa 2020-01-23 16:17:59 UTC
This is fixed in yast2-storage-ng 4.2.77. See details at
https://github.com/yast/yast-storage-ng/pull/1032

This is the submit request to Factory/Tumbleweed:
https://build.opensuse.org/request/show/766664
Comment 7 Andrey Karepin 2020-01-26 07:39:52 UTC
*** Bug 1161830 has been marked as a duplicate of this bug. ***