Text of bugs.python.org › issue779218 as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Issue 779218: 2.3c2 test_pwd fails on Mac OS X 10.2.6 - Python tracker

Python Home About News Documentation Downloads Community Foundation Developer's Guide Issue Tracker Issues Search Random Issue Summaries Issues with patch Easy issues Stats User Administration User List Committer List Help Tracker Documentation Tracker Development Report Tracker Problem Issue779218 ➜ 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.

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) * 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) * 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) * 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:18 admin set github: 38957 2008-01-04 00:57:20 christian.heimes set status: open -> closed resolution: duplicate superseder: fix test_grp failing when NIS entries present 2003-07-28 23:16:27 janssen create Supported by The Python Software Foundation , Powered by Roundup Copyright © 1990-2022, Python Software Foundation Legal Statements