Bug 699167 - AttributeError: 'NoneType' object has no attribute 'path'
Summary: AttributeError: 'NoneType' object has no attribute 'path'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 14
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:9515853c7344fe032...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-23 21:01 UTC by Bevis King
Modified: 2011-10-08 01:30 UTC (History)
5 users (show)

Fixed In Version: anaconda-16.10-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-07 18:30:31 UTC
Type: ---


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (3.00 MB, text/plain)
2011-04-23 21:01 UTC, Bevis King
no flags Details
Attached traceback automatically from anaconda. (365.36 KB, text/plain)
2011-05-31 01:40 UTC, Reilly Hall
no flags Details
Attached traceback automatically from anaconda. (430.35 KB, text/plain)
2011-10-08 01:30 UTC, Sikku
no flags Details

Description Bevis King 2011-04-23 21:01:17 UTC
The following was filed automatically by anaconda:
anaconda 14.22 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2073, in mkDevRoot
    dev = "%s/%s" % (instPath, root.path)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1169, in mkDevRoot
    self.fsset.mkDevRoot()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/upgrade.py", line 299, in upgradeMountFilesystems
    anaconda.storage.mkDevRoot()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 212, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 131, in gotoNext
    self.moveStep()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1190, in nextClicked
    self.anaconda.dispatch.gotoNext()
AttributeError: 'NoneType' object has no attribute 'path'

Comment 1 Bevis King 2011-04-23 21:01:27 UTC
Created attachment 494458 [details]
Attached traceback automatically from anaconda.

Comment 2 David Lehman 2011-05-03 15:48:22 UTC
Please try this with the Fedora 15 Beta, found here:

  http://fedoraproject.org/get-prerelease

and report the results. We aren't going to be fixing Fedora 14 installation bugs at this point.

Comment 3 Reilly Hall 2011-05-31 01:40:58 UTC
Created attachment 501898 [details]
Attached traceback automatically from anaconda.

Comment 4 Reilly Hall 2011-05-31 01:52:37 UTC
This bug/error was experienced with Fedora 15 official x86_64 release both trying preupgrade originally and then the DVD in upgrade mode on the same machine.  I would like to know if there is a work around for this error or do I have some non-standard configuration on my machine I could tweak to allow an upgrade?  Because I'd rather not have to do a clean install as I have a few machines to upgrade in a similar manner.

Comment 5 David Lehman 2011-05-31 15:56:20 UTC
(In reply to comment #4)
> This bug/error was experienced with Fedora 15 official x86_64 release both
> trying preupgrade originally and then the DVD in upgrade mode on the same
> machine.  I would like to know if there is a work around for this error or do I
> have some non-standard configuration on my machine I could tweak to allow an
> upgrade?  Because I'd rather not have to do a clean install as I have a few
> machines to upgrade in a similar manner.

It looks like you have your root entry in /etc/fstab marked as "noauto", which is not reasonable as far as I can tell. Anaconda will completely ignore any fstab entries marked as "noauto" when parsing the fstab to see the layout for the upgrade, since that option indicates that the filesystem is non-essential. If you remove that option from all required filesystems' fstab entries you should be able to upgrade.

Comment 6 David Lehman 2011-05-31 16:10:14 UTC
It was pointed out to me that you don't actually have root as a noauto filesystem -- it's some other option that we don't handle correctly. Try adding the following option to the boot command line:

  updates=http://dlehman.fedorapeople.org/updates-699167.img

The above URL points to an image containing a potential fix to the installer for your problem.

Comment 7 Reilly Hall 2011-06-01 13:02:03 UTC
I am happy to report that the fix you suggested did work fine from a preupgrade installation.  Thank you very much.  If you need any other info or help from me, don't hesitate to ask.

Comment 8 Sikku 2011-10-08 01:30:42 UTC
Created attachment 526982 [details]
Attached traceback automatically from anaconda.


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