After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 305865 - selectin a user profile for a user then selecting "use this profile for all users" with a different user profile causes Traceback
selectin a user profile for a user then selecting "use this profile for all u...
Status: RESOLVED FIXED
Product: sabayon
Classification: Deprecated
Component: general
SVN trunk
Other Linux
: Normal normal
: ---
Assigned To: Maintainers of sabayon
Maintainers of sabayon
Depends on:
Blocks:
 
 
Reported: 2005-05-29 21:28 UTC by Rosanna Yuen
Modified: 2007-09-19 19:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rosanna Yuen 2005-05-29 21:28:49 UTC
1) Start Sabayon
2) Create two user profiles
3) Selecting the first profile, click "Users"
4) Select one or more users
5) Close user window
6) Select the second profile, click "Users"
7) Select "Use this profile for all users"
8) Close user window
7) Select the second profile and click "Users" again
8) The following traceback occurs:

Traceback (most recent call last):
  File
"/var/tmp/sabayon-0.19-1-root-jrb/usr/lib/python2.4/site-packages/sabayon/usersdialog.py",
line 116, in __all_check_toggled
AttributeError: UsersDialog instance has no attribute 'users_list'

What I expected:
When "Use this profile for all users" is selected, maybe a dialog should appear
warning that all other user profile selections will disappear.  And then follow

Comment 1 Mark McLoughlin 2005-06-09 09:16:20 UTC
Thanks, fixed on HEAD now:

2005-06-09  Mark McLoughlin  <markmc@redhat.com>

        Fix for bug #305865 - traceback on opening user's
        dialog with a profile which has been made the default
        for all users.

        * admin-tool/usersdialog.py: connect to the checkbox
        toggled signal only after we've set its initial state.