Bug 1005685

Summary: setting repo source to URL gives "TypeError: 'NoneType' object is not callable"
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: pykickstartAssignee: Chris Lumens <clumens>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, bcl, clumens, dshea, g.kaviyarasu, jonathan, mkolman, sbueno, shawn.starr, vanmeeuwen+fedora
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e3d397e10ba979c249fa0f0abbcf9680988d184e03d14b4ac0e0a0f9b4aaa1a1
Fixed In Version: pykickstart-1.99.39-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-18 02:20:10 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: 980650    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Jens Petersen 2013-09-09 07:34:36 UTC
Description of problem:
I tried to set a repo url

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

The following was filed automatically by anaconda:
anaconda 20.12-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/copy.py", line 88, in copy
    rv = reductor(2)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/source.py", line 306, in _method_changed
    old_source = copy.copy(self.data.method)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/source.py", line 467, in changed
    method_changed = self._method_changed()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 127, in _runSpoke
    if action.changed and (not action.skipTo or (action.skipTo and action.applyOnSkip)):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 413, in _on_spoke_clicked
    self._runSpoke(spoke)
TypeError: 'NoneType' object is not callable

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Alpha-TC5\x20x86_64 quiet askmethod BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.0-3.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20-Alpha-TC5

Comment 1 Jens Petersen 2013-09-09 07:34:43 UTC
Created attachment 795510 [details]
File: anaconda-tb

Comment 2 Jens Petersen 2013-09-09 07:34:48 UTC
Created attachment 795511 [details]
File: anaconda.log

Comment 3 Jens Petersen 2013-09-09 07:34:52 UTC
Created attachment 795512 [details]
File: environ

Comment 4 Jens Petersen 2013-09-09 07:34:56 UTC
Created attachment 795513 [details]
File: lsblk_output

Comment 5 Jens Petersen 2013-09-09 07:35:01 UTC
Created attachment 795514 [details]
File: nmcli_dev_list

Comment 6 Jens Petersen 2013-09-09 07:35:05 UTC
Created attachment 795515 [details]
File: os_info

Comment 7 Jens Petersen 2013-09-09 07:35:10 UTC
Created attachment 795516 [details]
File: program.log

Comment 8 Jens Petersen 2013-09-09 07:35:15 UTC
Created attachment 795517 [details]
File: storage.log

Comment 9 Jens Petersen 2013-09-09 07:35:20 UTC
Created attachment 795518 [details]
File: syslog

Comment 10 Jens Petersen 2013-09-09 07:35:26 UTC
Created attachment 795519 [details]
File: ifcfg.log

Comment 11 Jens Petersen 2013-09-09 07:35:32 UTC
Created attachment 795520 [details]
File: packaging.log

Comment 12 Jens Petersen 2013-09-09 07:40:05 UTC
Used askmethod and tried to set download URL - this time a correct url I think.

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Alpha-TC5\x20x86_64 quiet askmethod BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.11.0-3.fc20.x86_64
package:        anaconda-20.12-1
product:        Fedora
reason:         TypeError: 'NoneType' object is not callable
release:        Cannot get release name.
version:        20-Alpha-TC5

Comment 13 David Shea 2013-09-11 21:31:21 UTC
*** Bug 1007077 has been marked as a duplicate of this bug. ***

Comment 14 Jens Petersen 2013-09-12 01:29:40 UTC
I still see this backtracing with F20 Alpha RC1.

Let's leave this open at least until it is pushed to stable.

Comment 15 Jens Petersen 2013-09-12 01:33:59 UTC
I think pykickstart-1.99.39-1.fc20 needs to be pushed to Bodhi for testing.

Comment 16 Jens Petersen 2013-09-13 11:54:08 UTC
Thanks - looks fixed to me with Alpha RC2.

Comment 17 Fedora Update System 2013-09-13 12:22:56 UTC
pykickstart-1.99.39-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/FEDORA-2013-16565/pykickstart-1.99.39-1.fc20

Comment 18 Fedora Update System 2013-09-18 02:20:10 UTC
pykickstart-1.99.39-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.