Bug 875228 - TypeError: argument 2 must be string, not None
Summary: TypeError: argument 2 must be string, not None
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:36098bea726e5c649a9d8020b1a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-09 21:44 UTC by Tony Asleson
Modified: 2013-07-12 03:17 UTC (History)
10 users (show)

Fixed In Version: yum-3.4.3-100.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-12 03:17:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb-ONA2Xm (406.50 KB, text/plain)
2012-11-09 21:44 UTC, Tony Asleson
no flags Details
Debug data. (116.18 KB, application/octet-stream)
2013-07-03 22:59 UTC, Tony Asleson
no flags Details

Description Tony Asleson 2012-11-09 21:44:23 UTC
libreport version: 2.0.10
cmdline:        /usr/bin/python  /usr/sbin/anaconda
executable:     /usr/sbin/anaconda
exnFileName:    /tmp/anaconda-tb-ONA2Xm
hashmarkername: anaconda
kernel:         3.3.4-5.fc17.x86_64
other involved packages: 
product:        Fedora
release:        Cannot get release name.
time:           Fri 09 Nov 2012 03:43:11 PM CST
version:        17

anaconda-tb-ONA2Xm: Text file, 416259 bytes

description:
:The following was filed automatically by anaconda:
:anaconda 17.29 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/users.py", line 293, in setUserPassword
:    self.admin.setpassUser(user, cryptPassword(password, algo=algo), True)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/users.py", line 303, in setRootPassword
:    self.rootPassword["lock"], algo)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/users.py", line 310, in write
:    self.setRootPassword(algo=self.getPassAlgo())
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/__init__.py", line 303, in write
:    self.users.write()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/backend.py", line 219, in writeConfiguration
:    anaconda.write()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 383, in dispatch
:    self.dir = self.steps[self.step].target(self.anaconda)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 247, in go_forward
:    self.dispatch()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1201, in nextClicked
:    self.anaconda.dispatch.go_forward()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/progress_gui.py", line 79, in renderCallback
:    self.intf.icw.nextClicked()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1221, in handleRenderCallback
:    self.currentWindow.renderCallback()
:TypeError: argument 2 must be string, not None

environ:
:LANG=en_US.UTF-8
:LC_NUMERIC=C
:TERM=linux
:BOOT_IMAGE=vmlinuz
:XAUTHORITY=/root/.Xauthority
:GLADEPATH=/tmp/updates/:/tmp/updates/data/ui/:ui/:/usr/share/anaconda/ui/:/usr/share/python-meh/
:SHLVL=0
:PYTHONPATH=/tmp/updates
:PWD=/
:GNOME_DISABLE_CRASH_DIALOG=1
:LIBUSER_CONF=/tmp/libuser.juGIZg
:LVM_SUPPRESS_FD_WARNINGS=1
:initrd=initrd.img
:MALLOC_PERTURB_=204
:TZ=America/Chicago
:GCONF_GLOBAL_LOCKS=1
:HOME=/tmp
:PIXMAPPATH=/tmp/updates/pixmaps/:/tmp/updates/:/tmp/product/pixmaps/:/tmp/product/:pixmaps/:/usr/share/anaconda/pixmaps/:/usr/share/pixmaps/:/usr/share/anaconda/:/usr/share/python-meh/:/usr/share/icons/Fedora/48x48/apps/
:PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin:/mnt/sysimage/usr/sbin:/mnt/sysimage/sbin:/sbin:/usr/sbin
:MALLOC_CHECK_=2
:DISPLAY=:1

Comment 1 Tony Asleson 2012-11-09 21:44:31 UTC
Created attachment 641846 [details]
File: anaconda-tb-ONA2Xm

Comment 2 Tony Asleson 2012-11-09 21:52:21 UTC
See kernel arguments, I enabled fips=1 during install to do some testing.

Reproduces every time.

Comment 3 Chris Lumens 2012-11-12 14:06:04 UTC
fips-specific, huh?  This will be fun.  Can you please also test with F18 and see if you are hitting it there too?  Thanks.

Comment 4 Tony Asleson 2012-11-12 18:14:29 UTC
I am unable to boot F18 install iso as the kernel panics when I enable fips.

Kernel panic - not syncing: Module verification failed with error -126 in FIPS mode.

Once that gets resolved, bug 873796 I can give it another try.

Comment 5 Fedora End Of Life 2013-07-03 19:39:20 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Tony Asleson 2013-07-03 22:39:44 UTC
Install fails on F19 with fips=1 on the kernel command line, different failure.

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 166, in doInstall
    payload.postInstall()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/livepayload.py", line 148, in postInstall
    self._recreateInitrds()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/__init__.py", line 572, in _recreateInitrds
    for kernel in self.kernelVersionList:
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/__init__.py", line 374, in kernelVersionList
    import yum
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 58, in <module>
    import config
  File "/usr/lib/python2.7/site-packages/yum/config.py", line 43, in <module>
    from misc import get_uuid, read_in_items_from_dot_dir
  File "/usr/lib/python2.7/site-packages/yum/misc.py", line 63, in <module>
    print >> sys.stderr, 'Checksum type %s disabled' % repr(ctype)
NameError: name 'sys' is not defined

Comment 7 Tony Asleson 2013-07-03 22:59:08 UTC
Created attachment 768512 [details]
Debug data.

Comment 8 Chris Lumens 2013-07-08 13:57:58 UTC
I don't think that has anything to do with the original traceback, but the yum guys will still want to see it.

Comment 9 Fedora Update System 2013-07-09 09:14:01 UTC
yum-3.4.3-100.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-100.fc19

Comment 10 Fedora Update System 2013-07-10 01:24:15 UTC
Package yum-3.4.3-100.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-3.4.3-100.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-12658/yum-3.4.3-100.fc19
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2013-07-12 03:17:33 UTC
yum-3.4.3-100.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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