Bug 1314301 - Anaconda fails on "Full disk summary and boot loader" dialog with Russian language (blivet)
Summary: Anaconda fails on "Full disk summary and boot loader" dialog with Russian lan...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-blivet
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: David Shea
QA Contact: Release Test Team
URL:
Whiteboard:
: 1334919 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-03 11:18 UTC by Vit Ry
Modified: 2021-09-03 14:10 UTC (History)
5 users (show)

Fixed In Version: python-blivet-0.61.15.39-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 23:52:43 UTC
Target Upstream Version:


Attachments (Terms of Use)
full log (309.98 KB, text/plain)
2016-03-03 11:18 UTC, Vit Ry
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2168 0 normal SHIPPED_LIVE python-blivet bug fix and enhancement update 2016-11-03 13:15:34 UTC

Description Vit Ry 2016-03-03 11:18:46 UTC
Created attachment 1132727 [details]
full log

Description of problem:

Anaconda fails after clicking "Full disk summary and boot loader... on "Instalaltion destination" spoke.


Version-Release number of selected component (if applicable):

anaconda-21.48.22.56-1
python-blivet-0.61.15.37-1


How reproducible:
always

Steps to Reproduce:
1. Starts anaconda
2. Select Russian language
3. Go to "INSTALLATION DESTINATION" spoke
4. Click "Full disk summary and boot loader" in left bottom

Actual results:
Unhandled exception handler appears with msg:

anaconda 21.48.22.56-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 175, in _parseSpec
    raise ValueError("invalid size specification", spec)
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 204, in __new__
    size = _parseSpec(value)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/cart.py", line 128, in _update_summary
    size += Size(row[SIZE_COL])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/cart.py", line 68, in initialize
    self._update_summary()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/cart.py", line 107, in refresh
    self.initialize(disks, free, showRemove=showRemove, setBoot=setBoot)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 708, in on_summary_clicked
    free_space)
ValueError: ('invalid size specification', '10 \xd0\x93\xd0\xb8\xd0\x91')


Expected results:
Full disk summary and boot loader dialog appears.


Additional info:

Looks like anaconda calls blivet's Size() function with translated size ("10 гиб"), while blivet checks for ascii-encondig and handle only en-names size (Gib/Kib and so on).

Comment 2 Vit Ry 2016-03-04 21:33:29 UTC
Anaconda also fails with kz-language. Looks like just few languages have translation of "GiB" and it appears somewhere between anaconda ~ blivet (and last one handle just latin MiB/GiB names).

Comment 4 David Shea 2016-05-10 20:07:54 UTC
*** Bug 1334919 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2016-11-03 23:52:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2168.html


Note You need to log in before you can comment on or make changes to this bug.