Bug 522609 - AttributeError: 'NoneType' object has no attribute 'startswith'
Summary: AttributeError: 'NoneType' object has no attribute 'startswith'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:c48177fb010f7dae6...
Depends On:
Blocks: F12Blocker, F12FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2009-09-10 20:00 UTC by Jay Turner
Modified: 2015-01-08 00:16 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-21 07:42:26 UTC


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (334.84 KB, text/plain)
2009-09-10 20:00 UTC, Jay Turner
no flags Details
Attached traceback automatically from anaconda. (135.28 KB, text/plain)
2009-10-06 05:15 UTC, Jesse Keating
no flags Details
Attached traceback automatically from anaconda. (134.33 KB, text/plain)
2009-10-07 19:05 UTC, James Laska
no flags Details
Attached traceback automatically from anaconda. (152.05 KB, text/plain)
2009-10-08 11:20 UTC, Martin Banas
no flags Details

Description Jay Turner 2009-09-10 20:00:48 UTC
The following was filed automatically by anaconda:
anaconda 12.21 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/__init__.py", line 686, in formatByDefault
    if device.format.mountpoint.startswith(p):
  File "/usr/lib/anaconda/iw/raid_dialog_gui.py", line 275, in run
    self.storage.formatByDefault(self.origrequest):
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1093, in editRaidArray
    actions = raideditor.run()
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1076, in editCB
    self.editRaidArray(device)
AttributeError: 'NoneType' object has no attribute 'startswith'

Comment 1 Jay Turner 2009-09-10 20:00:52 UTC
Created attachment 360563 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2009-09-10 20:03:25 UTC
This bug was discovered while attempting to add several fedora partitions while leaving several existing RAID1 devices untouched.

Comment 3 James Laska 2009-09-10 20:09:23 UTC
Adding to F12Blocker list for consideration.  This defect seems to be related to having existing RAID members and devices that are left untouched during an install operation.

Comment 4 James Laska 2009-09-10 20:20:03 UTC
Changing to version=rawhide

Comment 5 Jesse Keating 2009-10-06 05:15:49 UTC
Created attachment 363776 [details]
Attached traceback automatically from anaconda.

Comment 6 Hans de Goede 2009-10-06 12:41:52 UTC
This should be fixed by this commit:
http://git.fedorahosted.org/git/?p=anaconda.git;a=commitdiff;h=ba96feb99d25b55c4b52abbb1c8e3b06ee17ccbc

Which will be in anaconda-12.34-1

Changing bug to MODIFIED

Comment 7 James Laska 2009-10-07 19:05:06 UTC
Created attachment 364021 [details]
Attached traceback automatically from anaconda.

Comment 8 James Laska 2009-10-07 19:07:00 UTC
Reproduced (see comment#7) using anaconda-12.34 (which doesn't yet have the fix). The reproducer for me was 'custom partitioning', then trying to format an existing /dev/md0 RAID device.

Comment 9 James Laska 2009-10-07 19:46:30 UTC
typo ... comment#8 should have read ...

(In reply to comment #8)
                                              VVVV
> Reproduced (see comment#7) using anaconda-12.33 (which doesn't yet have the
                                              ^^^^
> fix). The reproducer for me was 'custom partitioning', then trying to format an
> existing /dev/md0 RAID device.

Comment 10 Martin Banas 2009-10-08 11:20:39 UTC
Created attachment 364086 [details]
Attached traceback automatically from anaconda.

Comment 11 Hans de Goede 2009-10-21 07:42:26 UTC
rawhide has been using a newer anaconda with the fix in for a while now, closing.


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