Bug 1086375 - [abrt] system-config-users: mainWindow.py:889:on_delete_activate:IndexError: list index out of range
Summary: [abrt] system-config-users: mainWindow.py:889:on_delete_activate:IndexError: ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-users
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f6f4482579bdc8ea3d2e02d785d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-10 17:35 UTC by Joachim Frieben
Modified: 2016-06-03 14:04 UTC (History)
2 users (show)

Fixed In Version: system-config-users-1.3.6-1.fc22
Clone Of:
Environment:
Last Closed: 2016-06-03 14:04:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (711 bytes, text/plain)
2014-04-10 17:35 UTC, Joachim Frieben
no flags Details
File: environ (258 bytes, text/plain)
2014-04-10 17:35 UTC, Joachim Frieben
no flags Details

Description Joachim Frieben 2014-04-10 17:35:34 UTC
Version-Release number of selected component:
system-config-users-1.3.5-1.fc20

Additional info:
reporter:       libreport-2.2.1
cmdline:        /usr/bin/python /usr/share/system-config-users/system-config-users.py
executable:     /usr/share/system-config-users/system-config-users.py
kernel:         3.15.0-0.rc0.git9.2.fc21.x86_64
runlevel:       N 3
type:           Python
uid:            0

Truncated backtrace:
mainWindow.py:889:on_delete_activate:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/system-config-users/mainWindow.py", line 889, in on_delete_activate
    if (userEnt.get(libuser.GIDNUMBER)[0] ==
IndexError: list index out of range

Local variables in innermost frame:
userName: 'frieben'
groupEnt: <Entity object at 0x7f78e2d1e768>
self: <mainWindow.mainWindow object at 0x7f78e826a810>
args: (<gtk.ToolButton object at 0x7f78e2d16a50 (GtkToolButton at 0xd04cd0)>,)
iter: <GtkTreeIter at 0xfe3e80>
groupName: 'frieben'
members: ['frieben']
userEnt: <Entity object at 0x7f78e2d1e7c8>
data: <gtk.ListStore object at 0x7f78e2d16c30 (GtkListStore at 0xe15010)>
page: 1

Comment 1 Joachim Frieben 2014-04-10 17:35:39 UTC
Created attachment 885059 [details]
File: backtrace

Comment 2 Joachim Frieben 2014-04-10 17:35:41 UTC
Created attachment 885060 [details]
File: environ

Comment 3 Jaroslav Reznik 2015-03-03 15:41:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 4 Nils Philippsen 2016-06-03 11:11:41 UTC
Sorry for dropping the ball on this.

I've looked at the backtrace and can only imagine that either the primary group of your user in /etc/passwd was missing (or not numeric), or maybe that the user entry was missing from /etc/passwd completely but still present in /etc/shadow. Both situations would let userEnt.get(libuser.GIDNUMBER) return an empty list.

I couldn't reproduce the crash with the current version on Fedora 23 (1.3.8, should be the same on 22), they flagged the inconsistencies in the passwd/group/shadow files instead. Can you reproduce this now?


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