Bug 672030 - AttributeError: 'NoneType' object has no attribute 'format'
Summary: AttributeError: 'NoneType' object has no attribute 'format'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:0fa98e8ac1ed4d6d4...
: 678607 678911 679125 679131 679193 (view as bug list)
Depends On:
Blocks: F15Alpha, F15AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2011-01-23 11:24 UTC by Joachim Frieben
Modified: 2011-04-08 16:49 UTC (History)
13 users (show)

Fixed In Version: anaconda-15.20.1-1.fc15
Clone Of:
Environment:
Last Closed: 2011-02-24 15:11:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (2.59 MB, text/plain)
2011-01-23 11:25 UTC, Joachim Frieben
no flags Details
Attached traceback automatically from anaconda. (658.03 KB, text/plain)
2011-02-21 07:43 UTC, Andy Clark
no flags Details
Anaconda traceback (328.00 KB, text/xml)
2011-02-21 11:29 UTC, Othman Madjoudj
no flags Details
Attached traceback automatically from anaconda. (1.36 MB, text/plain)
2011-02-21 17:55 UTC, Jim Meyering
no flags Details
Traceback of anaconda (64.00 KB, text/plain)
2011-02-22 15:26 UTC, Raphael Groner
no flags Details
Attached traceback automatically from anaconda - Acer 6935G, Desktop-x86_64 (20110224) (629.74 KB, text/plain)
2011-02-24 14:36 UTC, v.plessky
no flags Details
Attached traceback automatically from anaconda. (1.61 MB, text/plain)
2011-02-26 21:25 UTC, Martin Naď
no flags Details
Attached traceback automatically from anaconda. (1.38 MB, text/plain)
2011-04-08 16:49 UTC, Brian Lane
no flags Details

Description Joachim Frieben 2011-01-23 11:24:58 UTC
The following was filed automatically by anaconda:
anaconda 15.15 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/livecd.py", line 347, in getMinimumSizeMB
    return self.anaconda.storage.liveImage.format.size
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1027, in sanityCheck
    root.size < self.anaconda.backend.getMinimumSizeMB("/")):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/partition_gui.py", line 851, in getNext
    (errors, warnings) = self.storage.sanityCheck()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1261, in nextClicked
    rc = self.currentWindow.getNext ()
AttributeError: 'NoneType' object has no attribute 'format'

Comment 1 Joachim Frieben 2011-01-23 11:25:25 UTC
Created attachment 474810 [details]
Attached traceback automatically from anaconda.

Comment 2 David Lehman 2011-02-15 19:13:01 UTC
Did this happen to you more than once? Have you tried with newer live images since you hit this failure? If so, what was the result?

Comment 3 Joachim Frieben 2011-02-17 09:09:21 UTC
(In reply to comment #2)
Current live images do not even allow to run liveinst ("no live image"), thus, anaconda cannot be retested right now. Unfortunately, I do not remember which action triggered this anaconda exception.

Comment 4 Brian Lane 2011-02-18 19:44:54 UTC
*** Bug 678607 has been marked as a duplicate of this bug. ***

Comment 5 Adam Williamson 2011-02-18 19:45:59 UTC
Discussed at 2011-02-18 blocker review meeting (as 678607): accepted as a blocker as it appears to break live installation.

Comment 6 Dennis Gilmore 2011-02-19 04:24:54 UTC
i used the freshly built nightly livecd and hit this. i tried installing a few times

Comment 7 David Lehman 2011-02-19 17:11:19 UTC
I have posted a patch for review that fixes this issue in my testing:

https://www.redhat.com/archives/anaconda-devel-list/2011-February/msg00196.html


I have been hitting lvm deadlocks when trying to run lvcreate with this patch applied. I fixed anaconda's udev rules to specify read-only locks for the pvs commands we use to gather information about PVs, but then I hit the same deadlock with udisks-lvm-pv-export. This should not be running since we use udisks --inhibit to invoke anaconda. I confirmed that no deadlocks occurred with the read-only locks after completely killing the udisks-daemon. Perhaps we need to kill the udisks daemon before starting anaconda and restart it afterwards? Good stuff, this.

Comment 8 Andy Clark 2011-02-21 07:43:02 UTC
Created attachment 479836 [details]
Attached traceback automatically from anaconda.

Comment 9 Othman Madjoudj 2011-02-21 11:29:17 UTC
Created attachment 479873 [details]
Anaconda traceback

The same issue with desktop nightly compose (20110221.00):

desktop-i386-20110221.00.iso

Comment 10 Chris Lumens 2011-02-21 13:33:09 UTC
*** Bug 678911 has been marked as a duplicate of this bug. ***

Comment 11 James Laska 2011-02-21 15:57:11 UTC
Tested the patch linked in comment#7.  This resolves the reported issue, but then I hit a new issue (see bug#679107).

Comment 12 Jim Meyering 2011-02-21 17:55:05 UTC
Created attachment 479969 [details]
Attached traceback automatically from anaconda.

Comment 13 Chris Lumens 2011-02-21 17:56:49 UTC
*** Bug 679131 has been marked as a duplicate of this bug. ***

Comment 14 Chris Lumens 2011-02-21 17:56:55 UTC
*** Bug 679125 has been marked as a duplicate of this bug. ***

Comment 15 Fedora Update System 2011-02-21 19:35:21 UTC
anaconda-15.20.1-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/anaconda-15.20.1-1.fc15

Comment 16 Fedora Update System 2011-02-21 20:38:43 UTC
anaconda-15.20.1-1.fc15 has been pushed to the Fedora 15 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update anaconda'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/anaconda-15.20.1-1.fc15

Comment 17 Chris Lumens 2011-02-21 21:06:32 UTC
*** Bug 679193 has been marked as a duplicate of this bug. ***

Comment 18 James Laska 2011-02-22 13:44:02 UTC
Confirmed fix with anaconda-15.20.1-1.fc15 (RC1)

Comment 19 Raphael Groner 2011-02-22 15:24:36 UTC
Sorry, but it does not work for me with nightly xfce-i386-20110221.00.iso

New backtrace will be attached.

Comment 20 Raphael Groner 2011-02-22 15:26:55 UTC
Created attachment 480156 [details]
Traceback of anaconda

Comment 21 David Lehman 2011-02-22 15:32:09 UTC
(In reply to comment #19)
> Sorry, but it does not work for me with nightly xfce-i386-20110221.00.iso
> 
> New backtrace will be attached.

The fix is not in that nightly -- you need trees from 20110222 or newer.

Comment 22 James Laska 2011-02-22 16:50:35 UTC
(In reply to comment #21)

> The fix is not in that nightly -- you need trees from 20110222 or newer.


Raphael, please try one of the images posted at http://serverbeach1.fedoraproject.org/pub/alt/stage/15-Alpha.RC1/Live/

Comment 23 Raphael Groner 2011-02-23 10:53:59 UTC
So, from where to get a new fixed nightly?
There's still the buggy one on http://alt.fedoraproject.org/pub/alt/nightly-composes/xfce/
I tried to get updates (of abrt, anaconda etc.) into the running nightly but it stalls.

Comment 24 v.plessky 2011-02-24 14:32:15 UTC
Tested current Rawhide (20110224) - Fedora 15 is "not installable" to HDD from LiveCD.
I was booting using Desktop-x86_64 version.

ABR submitted Bug Report to Bug 679125
But it was closed as duplicate of this bug.
So, I am reporting here now.

Comment 25 v.plessky 2011-02-24 14:36:45 UTC
Created attachment 480773 [details]
Attached traceback automatically from anaconda - Acer 6935G, Desktop-x86_64 (20110224)


 traceback from Anaconda, from Desktop-x86-64 LiveCD dated 20110224

Comment 26 David Lehman 2011-02-24 15:11:12 UTC
This is fixed for Fedora 15 in anaconda-15.20.1-1. For rawhide/master, it will be fixed in anaconda-16.0-1.

Comment 27 v.plessky 2011-02-24 15:19:48 UTC
Dave, I was downloading ISO from
http://alt.fedoraproject.org/pub/alt/nightly-composes/desktop/

Is it Fedora 15 or Rawhide?
Where I can get working ISO image - right now, to test installation process?

Some parts of GFX Test Day testing-
https://fedoraproject.org/wiki/Test_Day:2011-02-23_Radeon
https://fedoraproject.org/wiki/Test_Day:2011-02-22_Nouveau

can't be completed without real installation.

Comment 28 Raphael Groner 2011-02-24 15:35:03 UTC
In regards to comment #27 and #23,
I would like also to help testing. But this one is a major and annoying bug to get fixed in first place!

Comment 30 v.plessky 2011-02-24 17:33:20 UTC
if someone else wants to follow:
Fedora Live Installer from http://serverbeach1.fedoraproject.org/pub/alt/stage/15-Alpha.RC1/Live/ image doesn't work in GUI.
But it can be launched from CLI: #liveinst
 Installation would be in text mode.
It comes through fine, with major issue IMHO that you ar enot prompted to add user.
After reboot, you will be in Runlevel 3 (Text console), and have login as root.

X/GNOME starts fine (tetsed x86-64/GNOME Desktop).

Comment 31 Adam Williamson 2011-02-24 17:40:50 UTC
it works fine from GUI in most testing. you probably just hit https://bugzilla.redhat.com/show_bug.cgi?id=679486 again.

Comment 32 Brian Lane 2011-02-24 17:43:34 UTC
v.plessky, please stop cluttering up bug reports with unrelated issues.

If you are having a problems please open new bugs after searching for existing
bugs related to your problems.

Comment 33 Fedora Update System 2011-02-25 03:50:21 UTC
anaconda-15.20.1-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 34 Martin Naď 2011-02-26 21:25:10 UTC
Created attachment 481195 [details]
Attached traceback automatically from anaconda.

Comment 35 Brian Lane 2011-04-08 16:49:45 UTC
Created attachment 490838 [details]
Attached traceback automatically from anaconda.


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