Bug 1626057
Summary: | TypeError: 'NoneType' object is not subscriptable | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Menanteau Guy <menantea> | ||||||||||||||||||||||||||||||||
Component: | python-blivet | Assignee: | Blivet Maintenance Team <blivet-maint-list> | ||||||||||||||||||||||||||||||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||||||||||
Version: | 29 | CC: | anaconda-maint-list, blivet-maint-list, bugproxy, dan, germyrinn, hannsj_uhl, jkonecny, jonathan, kellin, mkolman, muriloo, normand, rvykydal, sbueno, vanmeeuwen+fedora, vponcova, vtrefny, wwoods | ||||||||||||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||||||||||
Hardware: | All | ||||||||||||||||||||||||||||||||||
OS: | Linux | ||||||||||||||||||||||||||||||||||
Whiteboard: | abrt_hash:0d8e48b8f369069bbd675d79c148d53b60105a2a29b177eb37e79862c405ceb4; | ||||||||||||||||||||||||||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||||||||||
Last Closed: | 2019-11-27 18:12:59 UTC | Type: | --- | ||||||||||||||||||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||||||||
Embargoed: | |||||||||||||||||||||||||||||||||||
Bug Depends On: | |||||||||||||||||||||||||||||||||||
Bug Blocks: | 1071880, 1666242 | ||||||||||||||||||||||||||||||||||
Attachments: |
|
Description
Menanteau Guy
2018-09-06 13:22:54 UTC
Created attachment 1481306 [details]
File: anaconda-tb
Created attachment 1481307 [details]
File: anaconda.log
Created attachment 1481308 [details]
File: dbus.log
Created attachment 1481309 [details]
File: dnf.librepo.log
Created attachment 1481310 [details]
File: environ
Created attachment 1481311 [details]
File: hawkey.log
Created attachment 1481312 [details]
File: lorax-packages.log
Created attachment 1481313 [details]
File: lsblk_output
Created attachment 1481314 [details]
File: nmcli_dev_list
Created attachment 1481315 [details]
File: os_info
Created attachment 1481316 [details]
File: program.log
Created attachment 1481317 [details]
File: storage.log
Created attachment 1481318 [details]
File: syslog
Created attachment 1481319 [details]
File: ifcfg.log
Created attachment 1481320 [details]
File: packaging.log
From pyanaconda/ui/gui/spokes/storage.py: if isinstance(disk, MultipathDevice): desc = disk.wwn description = desc[0:6] + "..." + desc[-8:] Anaconda fails, because the wwn attribute is set to None. I am not sure if it is a valid value in this case. Let's see what blivet thinks about it. Reassigning. Guy, could it be reproduced with similar setup on x86? I guess it should. same problem on x86-64 using this xml part to simulate the multipath with libvirt <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/home/menantea/images/vm60-fedora-Server-x86_64-29.qcow2'/> <backingStore/> <target dev='vda' bus='scsi'/> <serial>0002</serial> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/home/menantea/images/vm60-fedora-Server-x86_64-29.qcow2'/> <backingStore/> <target dev='vdb' bus='scsi'/> <serial>0002</serial> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> This message is a reminder that Fedora 29 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '29'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 29 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. In general, the error means that you attempted to index an object that doesn't have that functionality. You are trying to subscript an object which you think is a list or dict, but actually is None. NoneType is the type of the None object which represents a lack of value, for example, a function that does not explicitly return a value will return None. 'NoneType' object is not subscriptable is the one thrown by python when you use the square bracket notation object[key] where an object doesn't define the __getitem__ method . e.g.: http://net-informations.com/python/err/nonetype.htm Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |