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.

Title: Python 2.3.4 on Linux: test test_grp failed
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: anthonybaxter, christian.heimes, nnorwitz, stroeder
Priority: normal Keywords:

Created on 2004-05-28 14:04 by stroeder, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (6)
msg60486 - (view) Author: Michael Ströder (stroeder) Date: 2004-05-28 14:04
Build on SuSE Linux 9.0:

test test_grp failed -- Traceback (most recent call last):
line 71, in test_errors
    self.assertRaises(KeyError, grp.getgrnam, fakename)
"/home/michael/src/Python-2.Lib/", line
295, in failUnlessRaises
    raise self.failureException, excName
AssertionError: KeyError
msg60487 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2004-05-28 14:26
Logged In: YES 

Do you use YP/NIS? If so, this is a known problem, and is
documented on the bugs page for 2.3.4. I really should get
around to checking those fixes in...
msg60488 - (view) Author: Michael Ströder (stroeder) Date: 2004-05-28 14:43
Logged In: YES 

I do not use NIS. But I don't know what SuSE really puts
into the "compat" NSS module.

From my /etc/nsswitch.conf:

passwd: compat
group:  compat
msg60489 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2004-06-11 16:55
Logged In: YES 

Can you see if the patch on
 fixes this?

I have had this patch sitting in my source tree for Some
Time, waiting for time to test it. :-/
msg60490 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2005-10-03 04:01
Logged In: YES 

Michael, can you provide some more info?
msg61353 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-01-20 19:40
No response from the OP in the last 2 years, closing ...
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40300
2008-01-20 19:40:14christian.heimessetstatus: open -> closed
nosy: + christian.heimes
resolution: out of date
messages: + msg61353
2004-05-28 14:04:10stroedercreate