Bug 1494821 - AttributeError: 'NoneType' object has no attribute 'endswith'
Summary: AttributeError: 'NoneType' object has no attribute 'endswith'
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Radek Vykydal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:892fb5134dbe2e4c520b9758298...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-23 12:19 UTC by lnie
Modified: 2018-11-30 19:50 UTC (History)
12 users (show)

Fixed In Version: anaconda-27.20.2-1
Clone Of:
Environment:
Last Closed: 2018-11-30 19:50:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (725.42 KB, text/plain)
2017-09-23 12:21 UTC, lnie
no flags Details
File: anaconda.log (16.12 KB, text/plain)
2017-09-23 12:21 UTC, lnie
no flags Details
File: dnf.librepo.log (59.35 KB, text/plain)
2017-09-23 12:21 UTC, lnie
no flags Details
File: environ (529 bytes, text/plain)
2017-09-23 12:21 UTC, lnie
no flags Details
File: hawkey.log (2.82 KB, text/plain)
2017-09-23 12:21 UTC, lnie
no flags Details
File: lorax-packages.log (25.98 KB, text/plain)
2017-09-23 12:21 UTC, lnie
no flags Details
File: lsblk_output (1.25 KB, text/plain)
2017-09-23 12:21 UTC, lnie
no flags Details
File: nmcli_dev_list (1.21 KB, text/plain)
2017-09-23 12:21 UTC, lnie
no flags Details
File: os_info (529 bytes, text/plain)
2017-09-23 12:21 UTC, lnie
no flags Details
File: program.log (20.49 KB, text/plain)
2017-09-23 12:21 UTC, lnie
no flags Details
screenshot (50.58 KB, image/png)
2017-09-25 14:08 UTC, lnie
no flags Details

Description lnie 2017-09-23 12:19:06 UTC
Description of problem:


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

The following was filed automatically by anaconda:
anaconda 27.20.1-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/__init__.py", line 1234, in _setupInstallDevice
    if method.dir.endswith(".iso"):
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/dnfpayload.py", line 1000, in updateBaseRepo
    checkmount)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/__init__.py", line 1615, in _runThread
    payload.updateBaseRepo(fallback=fallback, checkmount=checkmount)
  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 252, in run
    threading.Thread.run(self)
AttributeError: 'NoneType' object has no attribute 'endswith'

Additional info:
addons:         com_redhat_docker, com_redhat_kdump
cmdline:        /usr/libexec/system-python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-WS-dvd-x86_64-27 rd.live.check quiet inst.text
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.13.3-300.fc27.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        27

Comment 1 lnie 2017-09-23 12:21:07 UTC
Created attachment 1329907 [details]
File: anaconda-tb

Comment 2 lnie 2017-09-23 12:21:10 UTC
Created attachment 1329908 [details]
File: anaconda.log

Comment 3 lnie 2017-09-23 12:21:19 UTC
Created attachment 1329909 [details]
File: dnf.librepo.log

Comment 4 lnie 2017-09-23 12:21:21 UTC
Created attachment 1329910 [details]
File: environ

Comment 5 lnie 2017-09-23 12:21:24 UTC
Created attachment 1329911 [details]
File: hawkey.log

Comment 6 lnie 2017-09-23 12:21:27 UTC
Created attachment 1329912 [details]
File: lorax-packages.log

Comment 7 lnie 2017-09-23 12:21:30 UTC
Created attachment 1329913 [details]
File: lsblk_output

Comment 8 lnie 2017-09-23 12:21:32 UTC
Created attachment 1329914 [details]
File: nmcli_dev_list

Comment 9 lnie 2017-09-23 12:21:34 UTC
Created attachment 1329915 [details]
File: os_info

Comment 10 lnie 2017-09-23 12:21:39 UTC
Created attachment 1329916 [details]
File: program.log

Comment 11 Jiri Konecny 2017-09-25 12:36:58 UTC
Cloud you please provide us steps to reproduce?

Jirka

Comment 12 lnie 2017-09-25 14:07:31 UTC
The reproducer is:
choose 3)network for installation source,then choose nfs,then type"c" which means 
continue. If you choose http then type "c" you will see #bz1495211.
I think anaconda should not crash when users  change their mind and decide to set the installation source later by typing "c".

Comment 13 lnie 2017-09-25 14:08:33 UTC
Created attachment 1330586 [details]
screenshot

Comment 14 Radek Vykydal 2017-09-26 08:37:56 UTC
Fixed in https://github.com/rhinstaller/anaconda/pull/1196

Comment 15 Ben Cotton 2018-11-27 17:03:31 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. 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 '27'.

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 27 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.

Comment 16 Ben Cotton 2018-11-30 19:50:10 UTC
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 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.


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