Bug 1144314 - UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)
Summary: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: 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:2b310f1b50361715e1954a1112e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-19 08:38 UTC by Teknős Ferenc
Modified: 2014-11-05 15:50 UTC (History)
9 users (show)

Fixed In Version: python-blivet-0.68-1
Clone Of:
Environment:
Last Closed: 2014-11-05 15:50:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (714.86 KB, text/plain)
2014-09-19 08:39 UTC, Teknős Ferenc
no flags Details
File: anaconda.log (42.74 KB, text/plain)
2014-09-19 08:39 UTC, Teknős Ferenc
no flags Details
File: environ (538 bytes, text/plain)
2014-09-19 08:39 UTC, Teknős Ferenc
no flags Details
File: journalctl (279.54 KB, text/plain)
2014-09-19 08:39 UTC, Teknős Ferenc
no flags Details
File: lsblk_output (2.50 KB, text/plain)
2014-09-19 08:39 UTC, Teknős Ferenc
no flags Details
File: nmcli_dev_list (1.93 KB, text/plain)
2014-09-19 08:39 UTC, Teknős Ferenc
no flags Details
File: os_info (381 bytes, text/plain)
2014-09-19 08:39 UTC, Teknős Ferenc
no flags Details
File: program.log (39.62 KB, text/plain)
2014-09-19 08:39 UTC, Teknős Ferenc
no flags Details
File: storage.log (300.78 KB, text/plain)
2014-09-19 08:39 UTC, Teknős Ferenc
no flags Details
File: ifcfg.log (2.94 KB, text/plain)
2014-09-19 08:39 UTC, Teknős Ferenc
no flags Details

Description Teknős Ferenc 2014-09-19 08:38:46 UTC
Version-Release number of selected component:
anaconda-core-22.4-1.fc22.x86_64

The following was filed automatically by anaconda:
anaconda 22.4-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 534, in execute
    msg = _("Creating %(type)s on %(device)s") % {"type": self.device.format.type, "device": self.device.path}
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 354, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 344, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 204, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 178, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Workstation-x86_64-r rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.17.0-0.rc4.git0.1.fc22.x86_64
other involved packages: python-blivet-0.62-1.fc22.noarch, python-libs-2.7.8-6.fc22.x86_64
product:        Fedora"
release:        Fedora release 22 (Rawhide)
type:           anaconda
version:        Fedora

Potential duplicate: bug 976630

Comment 1 Teknős Ferenc 2014-09-19 08:39:06 UTC
Created attachment 939140 [details]
File: anaconda-tb

Comment 2 Teknős Ferenc 2014-09-19 08:39:09 UTC
Created attachment 939141 [details]
File: anaconda.log

Comment 3 Teknős Ferenc 2014-09-19 08:39:10 UTC
Created attachment 939142 [details]
File: environ

Comment 4 Teknős Ferenc 2014-09-19 08:39:19 UTC
Created attachment 939143 [details]
File: journalctl

Comment 5 Teknős Ferenc 2014-09-19 08:39:20 UTC
Created attachment 939144 [details]
File: lsblk_output

Comment 6 Teknős Ferenc 2014-09-19 08:39:22 UTC
Created attachment 939145 [details]
File: nmcli_dev_list

Comment 7 Teknős Ferenc 2014-09-19 08:39:23 UTC
Created attachment 939146 [details]
File: os_info

Comment 8 Teknős Ferenc 2014-09-19 08:39:25 UTC
Created attachment 939147 [details]
File: program.log

Comment 9 Teknős Ferenc 2014-09-19 08:39:35 UTC
Created attachment 939148 [details]
File: storage.log

Comment 10 Teknős Ferenc 2014-09-19 08:39:36 UTC
Created attachment 939149 [details]
File: ifcfg.log

Comment 11 Matthieu Gautier 2014-09-22 15:25:19 UTC
Another user experienced a similar problem:

Trying to install rawhide from Fedora-Live-Workstation-x86_64-rawhide-20140922.iso in French. (In virtual machine (gnome-boxes))

I'm using the default partition scheme.
Error appears at installation step.

cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Workstation-x86_64-r rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         3.17.0-0.rc5.git5.1.fc22.x86_64
other involved packages: python-blivet-0.64-1.fc22.noarch, python-libs-2.7.8-6.fc22.x86_64
package:        anaconda-core-22.6-1.fc22.x86_64
packaging.log:  
product:        Fedora"
reason:         UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)
release:        Fedora release 22 (Rawhide)
version:        Fedora

Comment 12 Vratislav Podzimek 2014-10-10 12:03:08 UTC
This seems weird:
10:36:32,505 DEBUG blivet:             DiskLabel.commit: device: /dev/sda ; numparts: 1 ;
10:36:32,730 DEBUG blivet: IGNORED:          Caught exception, continuing.
10:36:32,731 DEBUG blivet: IGNORED:          Problem description: failed to remove info for device non-existent 465,26 GiB partition sda2 (16) from libparted cache
10:36:32,760 DEBUG blivet: IGNORED:          Begin exception details.
10:36:32,772 DEBUG blivet: IGNORED:              Traceback (most recent call last):
10:36:32,774 DEBUG blivet: IGNORED:                File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 348, in execute
10:36:32,774 DEBUG blivet: IGNORED:                  self.device.partedDevice.removeFromCache()
10:36:32,775 DEBUG blivet: IGNORED:                File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 41, in new
10:36:32,776 DEBUG blivet: IGNORED:                  ret = fn(*args, **kwds)
10:36:32,776 DEBUG blivet: IGNORED:                File "/usr/lib64/python2.7/site-packages/parted/device.py", line 212, in removeFromCache
10:36:32,777 DEBUG blivet: IGNORED:                  return self.__device.cache_remove()
10:36:32,777 DEBUG blivet: IGNORED:              DeviceException: Could not stat device /dev/sda2 - No such file or directory.
10:36:32,778 DEBUG blivet: IGNORED:          End exception details.

however, I think an easy fix is to use format.desc instead of format.type on the problematic line of code as that works (e.g. in string representation of self printed in Local variables:)


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