Bug 885277 - AttributeError: 'NoneType' object has no attribute 'startswith'
Summary: AttributeError: 'NoneType' object has no attribute 'startswith'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7367424c4cf1775eef4cd7451d2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-08 04:16 UTC by Clyde E. Kunkel
Modified: 2012-12-11 05:31 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-10 20:44:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.24 MB, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: product (6 bytes, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: type (9 bytes, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: storage.log (566.96 KB, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: version (2 bytes, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: environ (780 bytes, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: executable (14 bytes, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: anaconda.log (96.69 KB, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: syslog (124.96 KB, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: hashmarkername (8 bytes, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: packaging.log (161.91 KB, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: cmdline_file (81 bytes, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: release (24 bytes, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details
File: program.log (172.14 KB, text/plain)
2012-12-08 04:16 UTC, Clyde E. Kunkel
no flags Details

Description Clyde E. Kunkel 2012-12-08 04:16:19 UTC
Description of problem:
created / from existing VG, reused all other LVs that had other Fedora installations, standard /boot and swap.  Selected no bootloader (did this twice as initial no bootloader selection during disk selection did not hold).  Tried to create a /data directory with nothing mounted by creating a 0 size parition, but wanted a minimum of 1MB, so deleted it.  How do you create a mount point without anything mounted?

Selected finish paritioning, spoke screen came up with a ! triangle in partitioning spoke and thought anaconda was frozen, but after about 3 mins error came up.


Version-Release number of selected component:
anaconda-18.36

Additional info:
libreport version: 2.0.18
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.7-5.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.36 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 2177, in resolveDevice
:    if devspec.startswith("UUID="):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1681, in setUpBootLoader
:    self.bootloader.stage1_disk = self.devicetree.resolveDevice(self.data.bootloader.bootDrive)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 476, in apply
:    self.storage.setUpBootLoader()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 111, in _runSpoke
:    action.apply()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 328, in _on_spoke_clicked
:    self._runSpoke(spoke)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 343, in _on_spoke_clicked
:    self._on_spoke_clicked(self._spokes[dest].selector, None, self._spokes[dest])
:AttributeError: 'NoneType' object has no attribute 'startswith'

Comment 1 Clyde E. Kunkel 2012-12-08 04:16:24 UTC
Created attachment 659676 [details]
File: anaconda-tb

Comment 2 Clyde E. Kunkel 2012-12-08 04:16:26 UTC
Created attachment 659678 [details]
File: product

Comment 3 Clyde E. Kunkel 2012-12-08 04:16:27 UTC
Created attachment 659680 [details]
File: type

Comment 4 Clyde E. Kunkel 2012-12-08 04:16:30 UTC
Created attachment 659682 [details]
File: storage.log

Comment 5 Clyde E. Kunkel 2012-12-08 04:16:31 UTC
Created attachment 659684 [details]
File: version

Comment 6 Clyde E. Kunkel 2012-12-08 04:16:33 UTC
Created attachment 659685 [details]
File: environ

Comment 7 Clyde E. Kunkel 2012-12-08 04:16:35 UTC
Created attachment 659687 [details]
File: executable

Comment 8 Clyde E. Kunkel 2012-12-08 04:16:37 UTC
Created attachment 659688 [details]
File: anaconda.log

Comment 9 Clyde E. Kunkel 2012-12-08 04:16:38 UTC
Created attachment 659689 [details]
File: syslog

Comment 10 Clyde E. Kunkel 2012-12-08 04:16:40 UTC
Created attachment 659690 [details]
File: hashmarkername

Comment 11 Clyde E. Kunkel 2012-12-08 04:16:42 UTC
Created attachment 659691 [details]
File: packaging.log

Comment 12 Clyde E. Kunkel 2012-12-08 04:16:43 UTC
Created attachment 659692 [details]
File: cmdline_file

Comment 13 Clyde E. Kunkel 2012-12-08 04:16:45 UTC
Created attachment 659693 [details]
File: release

Comment 14 Clyde E. Kunkel 2012-12-08 04:16:47 UTC
Created attachment 659694 [details]
File: program.log

Comment 15 Clyde E. Kunkel 2012-12-08 05:44:44 UTC
After about 5 tries, determined this is due to selecting No Bootloader in partitioning screen.  I see a patch in the anaconda list referencing bz 885240 so I imagine it will also fix this one.

Comment 16 Clyde E. Kunkel 2012-12-10 20:44:42 UTC
This is fixed in 18.37

Comment 17 David Lehman 2012-12-10 20:50:08 UTC
(In reply to comment #0)
> hold).  Tried to create a /data directory with nothing mounted by creating a
> 0 size parition, but wanted a minimum of 1MB, so deleted it.  How do you
> create a mount point without anything mounted?

Do you mean "create a directory with nothing mounted on it"? If so, the answer is "you use mkdir after installation is complete." A mountpoint, by definition, has something mounted on it.

Comment 18 Clyde E. Kunkel 2012-12-11 05:31:40 UTC
(In reply to comment #17)
> (In reply to comment #0)
> > hold).  Tried to create a /data directory with nothing mounted by creating a
> > 0 size parition, but wanted a minimum of 1MB, so deleted it.  How do you
> > create a mount point without anything mounted?
> 
> Do you mean "create a directory with nothing mounted on it"? If so, the
> answer is "you use mkdir after installation is complete." A mountpoint, by
> definition, has something mounted on it.

Right, of course.  Brain fart due to too late at night and mixing up install tasks.


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