Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 597895 - AttributeError: 'NoneType' object has no attribute 'path'
AttributeError: 'NoneType' object has no attribute 'path'
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
: 603164 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2010-05-30 18:25 EDT by fredsilsbee
Modified: 2010-10-12 16:01 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-06-10 14:44:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Attached traceback automatically from anaconda. (286.74 KB, text/plain)
2010-05-30 18:25 EDT, fredsilsbee
no flags Details
Attached traceback automatically from anaconda. (313.78 KB, text/plain)
2010-10-12 16:00 EDT, Jordi Genis
no flags Details

  None (edit)
Description fredsilsbee 2010-05-30 18:25:30 EDT
The following was filed automatically by anaconda:
anaconda 13.42 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/booty/util.py", line 5, in getDiskPart
    path = storage.devicetree.getDeviceByName(dev).path[5:]
  File "/usr/lib/anaconda/booty/bootloaderInfo.py", line 355, in setDevice
    (dev, part) = getDiskPart(device, self.storage)
  File "/usr/lib/anaconda/iw/upgrade_bootloader_gui.py", line 65, in getNext
  File "/usr/lib/anaconda/gui.py", line 1309, in nextClicked
    rc = self.currentWindow.getNext ()
AttributeError: 'NoneType' object has no attribute 'path'
Comment 1 fredsilsbee 2010-05-30 18:25:35 EDT
Created attachment 418115 [details]
Attached traceback automatically from anaconda.
Comment 2 fredsilsbee 2010-05-30 19:06:13 EDT
will preupgrade be changed so I can update the version on my Fedora 12 and continue upgrade

I was upgrading Fedora 12 -> Fedora 13 or trying to.

I booted the iso DVD (3.1 gig) and answered all the questions

It asked if I was upgrading from a previous version and I selected Fedora 12 (the only entry)
Comment 3 fredsilsbee 2010-06-09 09:52:36 EDT
Comment on attachment 418115 [details]
Attached traceback automatically from anaconda.

I suppose using this path to upgrade 12->13 is blocked. 

I have the lates version of preupgrade
Comment 4 fredsilsbee 2010-06-09 09:59:21 EDT

does NOT work...it couldn't be simpler!

Will this get fixed or must I completely install from scratch F13?
Comment 5 Hans de Goede 2010-06-09 10:42:38 EDT
2 questions:

1) When asked which disks to use during installation have you checked all your disks ? Not checking all of them could cause this error

2) What does your disk layout (parititions, lvm, mounpoints, etc). Look like ?


Comment 6 fredsilsbee 2010-06-10 14:31:32 EDT
(1) SCSI #0 has MS XP Prof SP3
(2) SCSI #1 has Fedora 12

so far I've only been asked where to install and the obvious answer to that since this is an upgrade is SCSI #1

Fedora 12 uses the default disk layout selected month or two ago when I selected SCSI1 as the target drive for Fedora 12.

Obviously I do not want to mess up XP Prof on SCSI #0.

Preupgrade is supposed to be automatic...right?

I s there some othe information you need I can switch to Fedora and include it in the bugzilla additional comments
Comment 7 Hans de Goede 2010-06-10 14:44:04 EDT
The first disk selection screen is what we call the filter UI (we need to change the wording to make it more clear what that screen does). By not selecting a disk there you are telling anaconda to not touch the disk in *anyway*, but your bootloader is installed there, the traceback you've reported is caused by anaconda not seeing the disk the bootloader is installed to, as it is filtered out.

So the solution to get an upgrade to F-13 working is to select both disks in the first disk selection screen.

As said we are working on making this more intuitive, but that is being tracked in another bug.
Comment 8 Chris Lumens 2010-06-11 14:09:37 EDT
*** Bug 603164 has been marked as a duplicate of this bug. ***
Comment 9 Jordi Genis 2010-10-12 16:00:57 EDT
Created attachment 453023 [details]
Attached traceback automatically from anaconda.

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