Bug 580756 - TypeError: Gtk.Entry.set_text() argument 1 must be string, not None
Summary: TypeError: Gtk.Entry.set_text() argument 1 must be string, not None
Keywords:
Status: CLOSED DUPLICATE of bug 572460
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 13
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:f7fbe575ccc5bab6b...
Depends On:
Blocks: 608195
TreeView+ depends on / blocked
 
Reported: 2010-04-08 23:52 UTC by Brian Lane
Modified: 2010-06-26 00:32 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
: 608195 (view as bug list)
Environment:
Last Closed: 2010-04-09 08:44:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (213.65 KB, text/plain)
2010-04-08 23:52 UTC, Brian Lane
no flags Details
Attached traceback automatically from anaconda. (218.52 KB, text/plain)
2010-06-26 00:29 UTC, Brian Lane
no flags Details

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.


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