Bug 680195 - AttributeError: 'NoneType' object has no attribute 'path'
Summary: AttributeError: 'NoneType' object has no attribute 'path'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 14
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:e62f3f5144e391490...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-24 15:59 UTC by Dieter Vandenbroeck
Modified: 2011-06-10 15:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-25 15:53:18 UTC
Type: ---


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (366.61 KB, text/plain)
2011-02-24 15:59 UTC, Dieter Vandenbroeck
no flags Details
Attached traceback automatically from anaconda. (377.06 KB, text/plain)
2011-06-10 15:45 UTC, Sandeep Singh
no flags Details

Description Dieter Vandenbroeck 2011-02-24 15:59:38 UTC
The following was filed automatically by anaconda:
anaconda 14.22 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2073, in mkDevRoot
    dev = "%s/%s" % (instPath, root.path)
  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1169, in mkDevRoot
    self.fsset.mkDevRoot()
  File "/usr/lib/python2.7/site-packages/pyanaconda/upgrade.py", line 299, in upgradeMountFilesystems
    anaconda.storage.mkDevRoot()
  File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 212, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 131, in gotoNext
    self.moveStep()
  File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 235, in currentStep
    self.gotoNext()
  File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1223, in setScreen
    (step, anaconda) = self.anaconda.dispatch.currentStep()
  File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1411, in setup_window
    self.setScreen()
  File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1425, in run
    self.setup_window(False)
  File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1154, in run
    self.icw.run()
  File "/usr/bin/anaconda", line 901, in <module>
    anaconda.intf.run(anaconda)
AttributeError: 'NoneType' object has no attribute 'path'

Comment 1 Dieter Vandenbroeck 2011-02-24 15:59:44 UTC
Created attachment 480792 [details]
Attached traceback automatically from anaconda.

Comment 2 Dieter Vandenbroeck 2011-02-24 16:08:59 UTC
Happened while rebooting after running preupgrade

Comment 3 David Lehman 2011-02-25 15:53:18 UTC
Your /etc/fstab file contains some invalid entries:

/dev/mapper/vg_dieterpc-lv_home home  ext4  defaults  0 0
/dev/mapper/vg_dieterpc-lv_root root  ext4  defaults  0 0

The second field must be a valid mountpoint, which will start with '/'. Please fix this and then try the upgrade again.

You already have an entry for "/" in your fstab -- why did you add a second one?

The lv_home entry should probably look like this:

/dev/mapper/vg_dieterpc-lv_home /home  ext4  defaults  0 0
                                ^

Comment 4 Dieter Vandenbroeck 2011-02-26 11:17:15 UTC
I first set my lv_home mountpoint to /home. Because this still failed, I also set the lv_root mountpoint to /root. But still nothing. 

The double "/" entry on the other hand fixed my problem. Thanks for your help!

Comment 5 Sandeep Singh 2011-06-10 15:45:36 UTC
Created attachment 504150 [details]
Attached traceback automatically from anaconda.


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