[ python-Bugs-962226 ] Python 2.3.4 on Linux: test test_grp failed

SourceForge.net noreply at sourceforge.net
Mon Oct 3 06:01:23 CEST 2005


Bugs item #962226, was opened at 2004-05-28 07:04
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=962226&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Ströder (stroeder)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python 2.3.4 on Linux: test test_grp failed

Initial Comment:
Build on SuSE Linux 9.0:

test test_grp failed -- Traceback (most recent call last):
  File
"/home/michael/src/Python-2.3.4/Lib/test/test_grp.py",
line 71, in test_errors
    self.assertRaises(KeyError, grp.getgrnam, fakename)
  File
"/home/michael/src/Python-2.3.4/Lib/unittest.py", line
295, in failUnlessRaises
    raise self.failureException, excName
AssertionError: KeyError


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2005-10-02 21:01

Message:
Logged In: YES 
user_id=33168

Michael, can you provide some more info?

----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2004-06-11 09:55

Message:
Logged In: YES 
user_id=29957

Can you see if the patch on http://www.python.org/sf/775964
 fixes this?

I have had this patch sitting in my source tree for Some
Time, waiting for time to test it. :-/


----------------------------------------------------------------------

Comment By: Michael Ströder (stroeder)
Date: 2004-05-28 07:43

Message:
Logged In: YES 
user_id=64920

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


----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2004-05-28 07:26

Message:
Logged In: YES 
user_id=29957

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...


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=962226&group_id=5470


More information about the Python-bugs-list mailing list