Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 114266 - stack trace attempting to create new user
stack trace attempting to create new user
Product: Red Hat Raw Hide
Classification: Retired
Component: system-config-users (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Brent Fox
: 114473 116183 116636 118016 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2004-01-25 13:26 EST by Alexandre Oliva
Modified: 2007-04-18 13:02 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-02-03 18:52:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alexandre Oliva 2004-01-25 13:26:50 EST
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):

How reproducible:

Steps to Reproduce:
1.Enter user information for new account
2.Click Ok

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.

Additional info:
Comment 1 Sammy 2004-01-27 11:01:13 EST
Your patch fails due to use of BUFFERSIZE on top. Should this 
be &buf_size? 
Comment 2 Brent Fox 2004-02-02 18:48:52 EST
*** Bug 114473 has been marked as a duplicate of this bug. ***
Comment 3 Brent Fox 2004-02-02 18:50:35 EST
I suspect that something may be wrong with pygtk2 here.  That
traceback   doesn't make sense to me.  get_active() shouldn't expect
any arguments.
Comment 4 Brent Fox 2004-02-02 18:54:11 EST
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.
Comment 5 Jonathan Blandford 2004-02-03 16:33:08 EST
what is self.homeDirCheck there?

also, why are you doing '== gtk.TRUE'?
Comment 6 Brent Fox 2004-02-03 18:18:14 EST
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?
Comment 7 Brent Fox 2004-02-03 18:52:50 EST
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.
Comment 8 Brent Fox 2004-02-19 21:19:50 EST
*** Bug 116183 has been marked as a duplicate of this bug. ***
Comment 9 Brent Fox 2004-02-23 22:51:39 EST
*** Bug 116636 has been marked as a duplicate of this bug. ***
Comment 10 Alexandre Oliva 2004-02-24 14:19:18 EST
Confirmed fixed in 1.2.9-1.1, thanks.
Comment 11 Brent Fox 2004-03-11 19:44:29 EST
*** Bug 118016 has been marked as a duplicate of this bug. ***

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