Bug 1549180 - AttributeError: 'NoneType' object has no attribute 'name'
Summary: AttributeError: 'NoneType' object has no attribute 'name'
Keywords:
Status: CLOSED DUPLICATE of bug 1561766
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:3d9ef2908c666ec9132fee9d7a8...
: 1558909 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-26 15:43 UTC by Clemens Eisserer
Modified: 2018-07-16 15:44 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-16 15:44:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (461.24 KB, text/plain)
2018-02-26 15:43 UTC, Clemens Eisserer
no flags Details
File: anaconda.log (6.96 KB, text/plain)
2018-02-26 15:43 UTC, Clemens Eisserer
no flags Details
File: environ (598 bytes, text/plain)
2018-02-26 15:43 UTC, Clemens Eisserer
no flags Details
File: journalctl (282.25 KB, text/plain)
2018-02-26 15:43 UTC, Clemens Eisserer
no flags Details
File: lsblk_output (1.97 KB, text/plain)
2018-02-26 15:44 UTC, Clemens Eisserer
no flags Details
File: nmcli_dev_list (2.16 KB, text/plain)
2018-02-26 15:44 UTC, Clemens Eisserer
no flags Details
File: os_info (606 bytes, text/plain)
2018-02-26 15:44 UTC, Clemens Eisserer
no flags Details
File: program.log (39.56 KB, text/plain)
2018-02-26 15:44 UTC, Clemens Eisserer
no flags Details
File: storage.log (97.26 KB, text/plain)
2018-02-26 15:44 UTC, Clemens Eisserer
no flags Details
File: ifcfg.log (3.35 KB, text/plain)
2018-02-26 15:44 UTC, Clemens Eisserer
no flags Details

Description Clemens Eisserer 2018-02-26 15:43:44 UTC
Description of problem:
fedorainstaller immediatly crashed

Version-Release number of selected component:
anaconda-core-28.22-1.fc28.x86_64

The following was filed automatically by anaconda:
anaconda 28.22 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1718, in _mark_protected_device
    if device.name in self.protected_dev_names:
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1680, in reset
    self._mark_protected_device(dev)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 2176, in storage_initialize
    storage.reset()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 291, in run
    threading.Thread.run(self)
AttributeError: 'NoneType' object has no attribute 'name'

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img root=live:CDLABEL=Fedora-WS-Live-Rawhide-20180220- rd.live.image rd.live.check quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.16.0-0.rc2.git0.1.fc28.x86_64
other involved packages: python3-blivet-3.0.0-0.2.b1.fc28.noarch, python3-libs-3.6.4-14.fc28.x86_64
product:        Fedora
release:        Fedora release 28 (Rawhide)
type:           anaconda
version:        rawhide

Comment 1 Clemens Eisserer 2018-02-26 15:43:52 UTC
Created attachment 1400871 [details]
File: anaconda-tb

Comment 2 Clemens Eisserer 2018-02-26 15:43:54 UTC
Created attachment 1400872 [details]
File: anaconda.log

Comment 3 Clemens Eisserer 2018-02-26 15:43:55 UTC
Created attachment 1400873 [details]
File: environ

Comment 4 Clemens Eisserer 2018-02-26 15:43:58 UTC
Created attachment 1400874 [details]
File: journalctl

Comment 5 Clemens Eisserer 2018-02-26 15:44:00 UTC
Created attachment 1400875 [details]
File: lsblk_output

Comment 6 Clemens Eisserer 2018-02-26 15:44:01 UTC
Created attachment 1400876 [details]
File: nmcli_dev_list

Comment 7 Clemens Eisserer 2018-02-26 15:44:03 UTC
Created attachment 1400877 [details]
File: os_info

Comment 8 Clemens Eisserer 2018-02-26 15:44:05 UTC
Created attachment 1400878 [details]
File: program.log

Comment 9 Clemens Eisserer 2018-02-26 15:44:08 UTC
Created attachment 1400879 [details]
File: storage.log

Comment 10 Clemens Eisserer 2018-02-26 15:44:09 UTC
Created attachment 1400880 [details]
File: ifcfg.log

Comment 11 Clemens Eisserer 2018-02-26 15:48:15 UTC
... a consequence of using weakly typed languages ;)

Comment 12 Jiri Konecny 2018-02-27 08:11:11 UTC
This is more problem of returning None/Null/Nil from methods/functions.

Comment 13 core bots 2018-03-21 09:47:42 UTC
*** Bug 1558909 has been marked as a duplicate of this bug. ***

Comment 14 Jiri Konecny 2018-07-16 15:44:57 UTC

*** This bug has been marked as a duplicate of bug 1561766 ***


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