Bug 1185588 - AttributeError: 'NoneType' object has no attribute 'defaultPackageEnvironment'
Summary: AttributeError: 'NoneType' object has no attribute 'defaultPackageEnvironment'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d3e354b68760dc4f55ab04dfbbb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-24 23:26 UTC by Chris Murphy
Modified: 2015-02-03 12:20 UTC (History)
7 users (show)

Fixed In Version: anaconda-22.17-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-03 12:20:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (398.62 KB, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: anaconda.log (9.15 KB, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: dnf.log (8.02 KB, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: dnf.rpm.log (147 bytes, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: environ (539 bytes, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: lsblk_output (2.76 KB, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: nmcli_dev_list (999 bytes, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: os_info (381 bytes, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: program.log (43.44 KB, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: storage.log (125.62 KB, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: syslog (144.11 KB, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: ifcfg.log (112 bytes, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details
File: packaging.log (820 bytes, text/plain)
2015-01-24 23:26 UTC, Chris Murphy
no flags Details

Description Chris Murphy 2015-01-24 23:26:06 UTC
Version-Release number of selected component:
anaconda-22.16-1

The following was filed automatically by anaconda:
anaconda 22.16-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 284, in refresh
    self.environment = self.payload.instclass.defaultPackageEnvironment
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 253, in _first_refresh
    self.refresh()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/utils.py", line 63, in _idle_method
    ret = func(*args)
AttributeError: 'NoneType' object has no attribute 'defaultPackageEnvironment'

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-rawhide-x86_64 quiet elevator=deadline
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.19.0-0.rc5.git2.1.fc22.x86_64
product:        Fedora"
release:        Cannot get release name.
type:           anaconda
version:        Fedora

Comment 1 Chris Murphy 2015-01-24 23:26:08 UTC
Created attachment 983842 [details]
File: anaconda-tb

Comment 2 Chris Murphy 2015-01-24 23:26:09 UTC
Created attachment 983843 [details]
File: anaconda.log

Comment 3 Chris Murphy 2015-01-24 23:26:10 UTC
Created attachment 983844 [details]
File: dnf.log

Comment 4 Chris Murphy 2015-01-24 23:26:11 UTC
Created attachment 983845 [details]
File: dnf.rpm.log

Comment 5 Chris Murphy 2015-01-24 23:26:12 UTC
Created attachment 983846 [details]
File: environ

Comment 6 Chris Murphy 2015-01-24 23:26:13 UTC
Created attachment 983847 [details]
File: lsblk_output

Comment 7 Chris Murphy 2015-01-24 23:26:13 UTC
Created attachment 983848 [details]
File: nmcli_dev_list

Comment 8 Chris Murphy 2015-01-24 23:26:14 UTC
Created attachment 983849 [details]
File: os_info

Comment 9 Chris Murphy 2015-01-24 23:26:15 UTC
Created attachment 983850 [details]
File: program.log

Comment 10 Chris Murphy 2015-01-24 23:26:16 UTC
Created attachment 983851 [details]
File: storage.log

Comment 11 Chris Murphy 2015-01-24 23:26:17 UTC
Created attachment 983852 [details]
File: syslog

Comment 12 Chris Murphy 2015-01-24 23:26:18 UTC
Created attachment 983853 [details]
File: ifcfg.log

Comment 13 Chris Murphy 2015-01-24 23:26:19 UTC
Created attachment 983854 [details]
File: packaging.log

Comment 14 Adam Williamson 2015-01-25 04:19:03 UTC
Looks like this is caused by:

commit 4c4468cc8d6beeb90b0a68b3d305b19e16ecf56b
Author: David Shea <dshea>
Date:   Fri Jan 9 08:58:38 2015 -0500

    Add an installclass property for the default package environment (#1175826)

Obvious fix would be -

if not self.environment and self.payload.instclass.defaultPackageEnvironment:

but assigning to david to check it.


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