Bug 437153 - AttributeError: 'NoneType' ojbect has no attribute 'primaryCard'
Summary: AttributeError: 'NoneType' ojbect has no attribute 'primaryCard'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F9Blocker
TreeView+ depends on / blocked
 
Reported: 2008-03-12 17:22 UTC by Orion Poplawski
Modified: 2008-03-13 15:52 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-13 15:52:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2008-03-12 17:22:58 UTC
Description of problem:

Trying to do pxe/kickstart install with 20080312 rawhide:

File "/usr/lib/anaconda/installclass.py", line 408, in configureX
 self.setVideoCard(id, driver, videoRam)
File "/usr/lib/anaconda/installclass.py", line 392, in setVideoCard
 primary = id.videocard.primaryCard()
AttributeError: 'NoneType' ojbect has no attribute 'primaryCard'

This is a text mode install, not sure what it's trying to do with the video card.

Last VT3 line:
INFO: All kickstart %%pre script(s) have been run

VT4:
hald: [W] device.c:4313: Error removing device
      [I] osspec.c:241: SEQNUM=967, ACTION=remove, SUBSYSTEM=vc,
DEVPATH=/sys/devices/virtual/vc/vcsa3, DEVNAME=/dev/vcsa3, IFINDEX=0
      [I] device.c:4309: remove_dev: subsyss=vc
sysfs_path=/sys/devices/virtual/vc/vcsa3
      [W] device.d:4313: Error removing device
      [I] device.d:1837: Removing locks from ':1.0'

Comment 1 Jeremy Katz 2008-03-12 22:08:57 UTC
What's in your kickstart config, especially the X related lines?  And do you
have the full traceback?

Comment 2 Orion Poplawski 2008-03-12 22:12:20 UTC
Kickstart:

install
text
url --url=http://fedora.cora.nwra.com/fedora/linux/releases/7/Fedora/i386/os
repo --name=everything
--baseurl=http://fedora.cora.nwra.com/fedora/linux/releases/7/Everything/i386/os/
repo --name=updates
--baseurl=http://fedora.cora.nwra.com/fedora/linux/updates/7/i386/
repo --name=CoRA --baseurl=http://sw.cora.nwra.com/fedora/CoRPMS/fc7/i386/
repo --name=livna --baseurl=http://livna.cora.nwra.com/7/i386/
lang en_US.UTF-8
keyboard us
network --bootproto=dhcp
firewall --disabled
selinux --enforcing
authconfig --enableshadow --enablenis --nisdomain=yp.colorado-research.com
timezone America/Denver
xconfig --startxonboot --defaultdesktop=KDE

Sorry, traceback scrolled off the screen.  Got what I could.

Comment 3 Chris Lumens 2008-03-13 15:52:12 UTC
This will be fixed in the next build of anaconda.  The basic problem here is the
conflict between the text and xconfig commands.  Text takes precedence, so
there's no X to query for information about how to set up the video card which
the xconfig command wants to do.


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