Red Hat Bugzilla – Bug 114266
stack trace attempting to create new user
Last modified: 2007-04-18 13:02:11 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031202
Description of problem:
When you request the creation of a new user, you get a stack trace.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Enter user information for new account
Actual Results: Traceback (most recent call last):
File "/usr/share/system-config-users/userWindow.py", line 227, in
if self.homeDirCheck.get_active() == gtk.TRUE:
TypeError: argument 2 must be list, not str
Expected Results: Should create new account.
Your patch fails due to use of BUFFERSIZE on top. Should this
*** Bug 114473 has been marked as a duplicate of this bug. ***
I suspect that something may be wrong with pygtk2 here. That
traceback doesn't make sense to me. get_active() shouldn't expect
If I upgrade system-config-users on my FC 1 box, it works fine. If I
install the same RPM on a FC 2 test1-ish box, it fails. The
system-config-users code hasn't changed in over a year.
what is self.homeDirCheck there?
also, why are you doing '== gtk.TRUE'?
self.homeDirCheck is a gtkCheckButton which is defined in the glade file.
So, self.homeDirCheck.get_active() should return a boolean to which
I'm comparing it to gtk.TRUE.
However, if I change the code to "if self.homeDirCheck.get_active()",
I get the same effect without the traceback.
Why would removing the comparison to gtk.TRUE avoid the problem?
Anyway, I removed the comparison to gtk.TRUE so I could rebuild and
fix the problem, but I'm still curious as to why this happened in the
first place. The same code worked fine on a FC1 system.
Should be fixed in system-config-users-1.2.9-1.
*** Bug 116183 has been marked as a duplicate of this bug. ***
*** Bug 116636 has been marked as a duplicate of this bug. ***
Confirmed fixed in 1.2.9-1.1, thanks.
*** Bug 118016 has been marked as a duplicate of this bug. ***