Bug 1059807 - UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 22: ordinal not in range(128)
Summary: UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 22: ordi...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Shea
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6b2a752b2095f1c6336c4fb2f7f...
: 1062348 (view as bug list)
Depends On:
Blocks: F21AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2014-01-30 17:19 UTC by Adam Williamson
Modified: 2014-02-12 15:48 UTC (History)
10 users (show)

Fixed In Version: python-blivet-0.41-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-12 15:48:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.09 MB, text/plain)
2014-01-30 17:19 UTC, Adam Williamson
no flags Details
File: anaconda.log (18.25 KB, text/plain)
2014-01-30 17:19 UTC, Adam Williamson
no flags Details
File: environ (517 bytes, text/plain)
2014-01-30 17:19 UTC, Adam Williamson
no flags Details
File: journalctl (716.60 KB, text/plain)
2014-01-30 17:19 UTC, Adam Williamson
no flags Details
File: lsblk_output (2.18 KB, text/plain)
2014-01-30 17:19 UTC, Adam Williamson
no flags Details
File: nmcli_dev_list (1.09 KB, text/plain)
2014-01-30 17:19 UTC, Adam Williamson
no flags Details
File: os_info (381 bytes, text/plain)
2014-01-30 17:19 UTC, Adam Williamson
no flags Details
File: program.log (65.87 KB, text/plain)
2014-01-30 17:19 UTC, Adam Williamson
no flags Details
File: storage.log (287.67 KB, text/plain)
2014-01-30 17:19 UTC, Adam Williamson
no flags Details
File: ifcfg.log (4.90 KB, text/plain)
2014-01-30 17:19 UTC, Adam Williamson
no flags Details

Description Adam Williamson 2014-01-30 17:19:26 UTC
Description of problem:
With anaconda 21.19-1 on Rawhide nightly 2014-01-27 (also occurs with the version of anaconda included in that nightly), picked Russian on the first screen of the installer, clicked next, clicked through the Timbuktu warning. Crashed before getting to the summary screen.

Version-Release number of selected component:
anaconda-core-21.19-1.fc21.x86_64

The following was filed automatically by anaconda:
anaconda 21.19-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
  File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/usr/lib64/python2.7/logging/__init__.py", line 724, in format
    return fmt.format(record)
  File "/usr/lib64/python2.7/logging/handlers.py", line 843, in emit
    msg = self.format(record) + '\000'
  File "/usr/lib64/python2.7/site-packages/pyanaconda/anaconda_log.py", line 76, in emit
    SysLogHandler.emit(self, record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 749, in handle
    self.emit(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1318, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1278, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1268, in _log
    self.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1149, in info
    self._log(INFO, msg, args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/lib/space.py", line 76, in check
    log.info("fs space: %s  needed: %s", free, needed)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 285, in _updateContinue
    if self._checker and not self._checker.check():
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 280, in _handleCompleteness
    self._updateContinue()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 266, in _updateCompleteness
    self._handleCompleteness(spoke, update_continue)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 217, in _createBox
    self._updateCompleteness(spoke)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 384, in refresh
    self._createBox()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 490, in _on_continue_clicked
    nextAction.refresh()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/__init__.py", line 73, in _on_continue_clicked
    cb()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py", line 320, in _on_continue_clicked
    StandaloneSpoke._on_continue_clicked(self, cb)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/__init__.py", line 77, in <lambda>
    self.window.connect("continue-clicked", lambda *args: self._on_continue_clicked(cb))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 22: ordinal not in range(128)

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-Desktop-x86_64-rawhi ro rd.live.image slub_debug=-
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.14.0-0.rc0.git9.1.fc21.x86_64
other involved packages: anaconda-gui-21.19-1.fc21.x86_64, python-libs-2.7.5-11.fc21.x86_64
product:        Fedora
release:        Fedora release 21 (Rawhide)
type:           anaconda
version:        rawhide

Comment 1 Adam Williamson 2014-01-30 17:19:30 UTC
Created attachment 857590 [details]
File: anaconda-tb

Comment 2 Adam Williamson 2014-01-30 17:19:32 UTC
Created attachment 857591 [details]
File: anaconda.log

Comment 3 Adam Williamson 2014-01-30 17:19:33 UTC
Created attachment 857592 [details]
File: environ

Comment 4 Adam Williamson 2014-01-30 17:19:35 UTC
Created attachment 857593 [details]
File: journalctl

Comment 5 Adam Williamson 2014-01-30 17:19:37 UTC
Created attachment 857594 [details]
File: lsblk_output

Comment 6 Adam Williamson 2014-01-30 17:19:39 UTC
Created attachment 857595 [details]
File: nmcli_dev_list

Comment 7 Adam Williamson 2014-01-30 17:19:40 UTC
Created attachment 857596 [details]
File: os_info

Comment 8 Adam Williamson 2014-01-30 17:19:42 UTC
Created attachment 857597 [details]
File: program.log

Comment 9 Adam Williamson 2014-01-30 17:19:43 UTC
Created attachment 857598 [details]
File: storage.log

Comment 10 Adam Williamson 2014-01-30 17:19:46 UTC
Created attachment 857599 [details]
File: ifcfg.log

Comment 11 Adam Williamson 2014-01-30 17:24:53 UTC
Proposing as an Alpha blocker, per https://fedoraproject.org/wiki/Fedora_20_Alpha_Release_Criteria#Installation_interfaces - "When using the dedicated installer images, the installer must be able to complete an installation using the text, graphical and VNC installation interfaces."

It's a conditional violation, of course - language based (don't know how many other languages are affected yet).

Comment 12 David Shea 2014-01-30 19:58:12 UTC
I can see why it's happening, even though I can't reproduce the crash. Ideally we shouldn't be putting translated size strings into the log, but if that turns out to be hard or gross we should at least convert the results to unicode objects.

Comment 13 Adam Williamson 2014-01-30 20:03:11 UTC
Just in case it helps reproduce, I tested in a UEFI VM on an Rawhide host, with the 2014-01-27 desktop x64 nightly. Hit the crash both running the installer immediately, and after doing a 'yum update anaconda python-blivet'.

Comment 14 Adam Williamson 2014-02-01 08:11:31 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1060382 possibly the same?

Comment 15 David Shea 2014-02-06 07:52:28 UTC
Pushed a fix. The sizes will still be logged with localized strings, but now they're correctly typed localized strings.

Comment 16 David Shea 2014-02-07 08:31:47 UTC
*** Bug 1062348 has been marked as a duplicate of this bug. ***


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