Bug 114266
| Summary: | stack trace attempting to create new user | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Alexandre Oliva <aoliva> |
| Component: | system-config-users | Assignee: | Brent Fox <bfox> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | CC: | dgl, hhaygood, karsten, michel.salim, steve8988 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-02-03 23:52:50 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: | |||
Your patch fails due to use of BUFFERSIZE on top. Should this be &buf_size? *** 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 any arguments. 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. *** |
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): system-config-users-1.2.8-1 How reproducible: Always 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 on_userWin_ok_button_clicked if self.homeDirCheck.get_active() == gtk.TRUE: TypeError: argument 2 must be list, not str Expected Results: Should create new account. Additional info: