Bug 1368941 - AttributeError: 'DeviceTree' object has no attribute 'resolveDevice'
Summary: AttributeError: 'DeviceTree' object has no attribute 'resolveDevice'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:90f950554c659764e39e22adfd5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-22 08:05 UTC by lnie
Modified: 2016-11-10 06:21 UTC (History)
5 users (show)

Fixed In Version: anaconda-25.21-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-10 06:21:31 UTC
Type: ---


Attachments (Terms of Use)
File: anaconda-tb (319.26 KB, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: anaconda.log (27.08 KB, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: dnf.librepo.log (11.05 KB, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: environ (482 bytes, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: hawkey.log (1.04 KB, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: lsblk_output (1.58 KB, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: nmcli_dev_list (1.20 KB, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: os_info (449 bytes, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: storage.log (44.05 KB, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: syslog (65.51 KB, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: ifcfg.log (2.41 KB, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: packaging.log (3.38 KB, text/plain)
2016-08-22 08:06 UTC, lnie
no flags Details
File: program.log (25.82 KB, application/octet-stream)
2016-08-22 08:06 UTC, lnie
no flags Details
screenshot (136.85 KB, image/png)
2016-08-22 08:37 UTC, lnie
no flags Details

Description lnie 2016-08-22 08:05:35 UTC
Description of problem:
just add an inst.repo=hd:<device>:<path> and you will see the crash immediately after you click the Installation Source 

Version-Release number of selected component:
anaconda-25.20-1

The following was filed automatically by anaconda:
anaconda 25.20-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/source.py", line 785, in refresh
    methodDev = self.storage.devicetree.resolveDevice(self.data.method.partition)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 387, in _on_spoke_clicked
    spoke.refresh()
AttributeError: 'DeviceTree' object has no attribute 'resolveDevice'

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-25 rd.live.check quiet inst.repo=hd:sdb:/Fedora-Server-dvd-x86_64-25-20160819.n.1.iso
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.0-0.rc1.git0.1.fc25.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        25

Comment 1 lnie 2016-08-22 08:06:21 UTC
Created attachment 1192799 [details]
File: anaconda-tb

Comment 2 lnie 2016-08-22 08:06:24 UTC
Created attachment 1192800 [details]
File: anaconda.log

Comment 3 lnie 2016-08-22 08:06:26 UTC
Created attachment 1192801 [details]
File: dnf.librepo.log

Comment 4 lnie 2016-08-22 08:06:28 UTC
Created attachment 1192802 [details]
File: environ

Comment 5 lnie 2016-08-22 08:06:30 UTC
Created attachment 1192803 [details]
File: hawkey.log

Comment 6 lnie 2016-08-22 08:06:32 UTC
Created attachment 1192804 [details]
File: lsblk_output

Comment 7 lnie 2016-08-22 08:06:33 UTC
Created attachment 1192805 [details]
File: nmcli_dev_list

Comment 8 lnie 2016-08-22 08:06:37 UTC
Created attachment 1192806 [details]
File: os_info

Comment 9 lnie 2016-08-22 08:06:42 UTC
Created attachment 1192807 [details]
File: storage.log

Comment 10 lnie 2016-08-22 08:06:51 UTC
Created attachment 1192808 [details]
File: syslog

Comment 11 lnie 2016-08-22 08:06:52 UTC
Created attachment 1192809 [details]
File: ifcfg.log

Comment 12 lnie 2016-08-22 08:06:54 UTC
Created attachment 1192810 [details]
File: packaging.log

Comment 13 lnie 2016-08-22 08:06:58 UTC
Created attachment 1192811 [details]
File: program.log

Comment 14 lnie 2016-08-22 08:37:58 UTC
Created attachment 1192819 [details]
screenshot

Comment 15 Jiri Konecny 2016-08-22 08:57:45 UTC
Already modified by commit:  https://github.com/rhinstaller/anaconda/commit/ffc31f75c04883b95f5b38cab366c28339004aef


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