This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 2.3c2 test_pwd fails on Mac OS X 10.2.6
Type: Stage:
Components: macOS Versions: Python 2.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder: fix test_grp failing when NIS entries present
View: 775964
Assigned To: doerwalter Nosy List: barry, doerwalter, janssen, skip.montanaro
Priority: normal Keywords:

Created on 2003-07-28 23:16 by janssen, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Messages (3)
msg17420 - (view) Author: Bill Janssen (janssen) * (Python committer) Date: 2003-07-28 23:16
I get one test failure on Mac OS 10.2.6:

test test_pwd failed -- Traceback (most recent call last):
File "/Temporary Items/Python-2.3c2/Lib/test/test_pwd.py", line 42, in test_values
   self.assert_(pwd.getpwuid(e.pw_uid) in entriesbyuid[e.pw_uid])
KeyError: 'getpwuid(): uid not found'

The passwd entry on which it fails looks perfectly normal, AFAICS. We've got about 3500 entries in our passwd file, if that's of interest.
msg17421 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2003-07-29 01:44
Logged In: YES 
user_id=44345

Is the password entry on which it fails a duplicate uid?  I recall 
some problems when there were two user names with the same 
uid.
msg17422 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2003-07-29 03:04
Logged In: YES 
user_id=12800

This may also be a duplicate of bug # 775964, if you've got
a + on a line in your /etc/passwd file (similar to the + in
the /etc/group file discussed in that bug report).  The + is
a NIS/YP thing.
History
Date User Action Args
2022-04-10 16:10:18adminsetgithub: 38957
2008-01-04 00:57:20christian.heimessetstatus: open -> closed
resolution: duplicate
superseder: fix test_grp failing when NIS entries present
2003-07-28 23:16:27janssencreate