Red Hat Bugzilla – Bug 826698
AttributeError: 'NoneType' object has no attribute 'endswith'
Last modified: 2013-07-31 19:54:17 EDT
libreport version: 2.0.10
cmdline: /usr/bin/python /usr/sbin/anaconda
other involved packages:
release: Cannot get release name.
time: Wed 30 May 2012 07:38:35 PM UTC
anaconda-tb-qImI8L: Text file, 200339 bytes
: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/storage/devices.py", line 3492, in path
: while mountpoint.endswith("/"):
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 918, in _setFormat
: format = getFormat(None, device=self.path, exists=self.exists)
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 932, in <lambda>
: lambda d,f: d._setFormat(f),
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 481, in __init__
: self.format = format
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 3470, in __init__
: exists=exists, parents=parents)
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1990, in _parseOneLine
: device = DirectoryDevice(devspec, parents=parents, exists=True)
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2112, in parseFSTab
: device = self._parseOneLine((devspec, mountpoint, fstype, options, dump, passno))
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1676, in mountExistingSystem
: File "/usr/lib64/python2.7/site-packages/pyanaconda/upgrade.py", line 178, in upgradeMountFilesystems
: mountExistingSystem(anaconda, anaconda.upgradeRoot, allowDirty = 0)
: 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/gui.py", line 88, in return_false
: func(*args, **kwargs)
:AttributeError: 'NoneType' object has no attribute 'endswith'
Created attachment 587833 [details]
*** Bug 827270 has been marked as a duplicate of this bug. ***
For anyone needing to migrate to F17, what are we supposed to do? The Fedora page on migrating via yum does not recommend the yum distro-sync method because of the move to consolidate everything under /usr.
Will there be an update image released? Thanks.
(In reply to comment #3)
> For anyone needing to migrate to F17, what are we supposed to do? The Fedora
> page on migrating via yum does not recommend the yum distro-sync method
> because of the move to consolidate everything under /usr.
FWIW, despite the warnings, I found the yum method to be the most reliable of all the upgrade possibilities. By following the UsrMove instructions on the wiki anyone can do it. Both Anaconda and preupgrade have failed me in several ways, leaving me in difficult to fix situations.
This particular bug in Anaconda can be avoided by temporarily commenting out some of the mountpoints in fstab.
My advice for you both is to comment out your bind mounts in /etc/fstab, do the upgrade, and then uncomment the bind mounts.
Whichever one of you has a bunch /dev/mdX in your /etc/fstab, that's probably not going to work, either. You should use UUIDs for that since mdadm uses odd naming/numbering at install time.
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.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.