Bug 670257 - TypeError: coercing to Unicode: need string or buffer, NoneType found
Summary: TypeError: coercing to Unicode: need string or buffer, NoneType found
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 19
Hardware: x86_64
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 670784
TreeView+ depends on / blocked
 
Reported: 2011-01-17 17:15 UTC by John Reiser
Modified: 2014-10-03 10:14 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 670784 (view as bug list)
Environment:
Last Closed: 2014-10-03 10:14:10 UTC
Type: ---


Attachments (Terms of Use)
anaconda traceback and debug info (780.60 KB, text/plain)
2011-01-17 17:15 UTC, John Reiser
no flags Details
anaconda.log (17.84 KB, text/plain)
2011-01-17 17:45 UTC, John Reiser
no flags Details

Description John Reiser 2011-01-17 17:15:11 UTC
Created attachment 473897 [details]
anaconda traceback and debug info

Description of problem: Upgrade install fails with anaconda traceback.


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

How reproducible: haven't tried


Steps to Reproduce:
1. Compose Install DVD for x86_64 from today's rawhide (2011-01-17) via current pungi (which uses lorax.)
2. Boot DVD for Upgrade of rawhide x86_64 as of about one week ago.
3.
  
Actual results: anaconda traceback with
TypeError: coercing to Unicode: need string or buffer, NoneType found


Expected results: successful upgrade


Additional info:

Comment 1 John Reiser 2011-01-17 17:45:53 UTC
Created attachment 473901 [details]
anaconda.log

Comment 2 Kashyap Chamarthy 2011-09-15 12:38:46 UTC
I've just hit this bug again.

###############################################################
  File "/usr/bin/virt-install", line 620, in start_install
    noboot=options.noreboot)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1206, in start_install
    self._prepare_install(meter, dry)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 963, in _prepare_install
    meter=meter)
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 426, in prepare
    dev = self._prepare_kernel_and_initrd(guest, meter)
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 382, in _prepare_kernel_and_initrd
    self._perform_initrd_injections()
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 293, in _perform_initrd_injections
    f = open(initrd, 'ab')
TypeError: coercing to Unicode: need string or buffer, NoneType found
[Thu, 15 Sep 2011 17:35:47 virt-install 11119] DEBUG (cli:450) Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start f15vm1tbox
###############################################################

== Version Info: ==
###############################################################
[kashyap@dhcp201-210 ~]$ rpm -q python-virtinst
python-virtinst-0.600.0-4.fc16.noarch
[kashyap@dhcp201-210 ~]$ cat /etc/redhat-release 
Fedora release 16 (Verne)
[kashyap@dhcp201-210 ~]$ 

== virt-intall commandline I used ==
###############################################################
/usr/bin/virt-install --connect=qemu:///system --network=bridge:br0 --initrd-inject=/export/fed-minimal.ks --extra-args=ks=file:/fed-minimal.ks console=tty0 console=ttyS0,115200 --name=f15vm1tbox --disk /var/lib/libvirt/images/f15vm1tbox.img,size=20 --ram 2048 --vcpus=2 --check-cpu --accelerate --hvm --location=http://download.foo.bar.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/ --nographics
###############################

Comment 3 Cole Robinson 2011-09-19 15:58:41 UTC
Kayshap, the error message is the same but these are two completely different components. Please open a separate virtinst bug about your issue. Reassigning back to yum

Comment 4 Fedora End Of Life 2013-04-03 19:04:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 5 Valentina Mukhamedzhanova 2014-10-03 10:14:10 UTC
This has been fixed by the upstream commit 363b3ad8089e4d45da272ee29b31a52b68ddf6ff and is already in Fedora.


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