Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 580756

Summary: TypeError: Gtk.Entry.set_text() argument 1 must be string, not None
Product: [Fedora] Fedora Reporter: Brian Lane <bcl>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 13CC: anaconda-maint-list, bcl, jonathan, rvykydal, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: anaconda_trace_hash:f7fbe575ccc5bab6bf932f825626cf796e10153bc0760c74c8bd50071a27871f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 608195 (view as bug list) Environment:
Last Closed: 2010-04-09 08:44:52 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: 608195    
Attachments:
Description Flags
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda. none

Description Brian Lane 2010-04-08 23:52:14 UTC
The following was filed automatically by anaconda:
anaconda 13.37.2 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/iw/task_gui.py", line 203, in createDialog
    self.usernameEntry.set_text(self.repo.proxy_username)
  File "/usr/lib/anaconda/iw/task_gui.py", line 527, in _editRepo
    dialog.createDialog()
TypeError: Gtk.Entry.set_text() argument 1 must be string, not None

Comment 1 Brian Lane 2010-04-08 23:52:17 UTC
Created attachment 405429 [details]
Attached traceback automatically from anaconda.

Comment 2 Brian Lane 2010-04-08 23:56:09 UTC
While testing clumens' patch for bug 580226 I hit this bug in the repo edit dialog. It doesn't like having an empty user passed to it.

Triggered by rebuilding loader with Chris' patch and passing proxy=http://proxy.home:3128 to the kernel while doing a PXE boot of the new build.

Comment 3 Brian Lane 2010-04-09 00:15:52 UTC
The same error happens on the password entry when I pass proxy=http://bcl@proxy.home:3128

Comment 4 Brian Lane 2010-04-09 06:13:11 UTC
Yum doesn't like it when empty username and password fields are "" instead of None. Submitted a patch that converts to "" on entry to the repo edit dialog and converts "" back to None on exit.

Comment 5 Radek Vykydal 2010-04-09 08:44:52 UTC

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

Comment 6 Brian Lane 2010-06-26 00:29:14 UTC
Created attachment 427017 [details]
Attached traceback automatically from anaconda.