[ python-Bugs-764493 ] test test_nis crashed -- nis.error: no such key in map

SourceForge.net noreply at sourceforge.net
Mon Mar 6 10:21:02 CET 2006


Bugs item #764493, was opened at 2003-07-02 12:09
Message generated for change (Comment added) made by mmokrejs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=764493&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: Demos and Tools
Group: Python 2.3
Status: Closed
Resolution: None
Priority: 5
Submitted By: Martin Mokrejs (mmokrejs)
Assigned to: Nobody/Anonymous (nobody)
Summary: test test_nis crashed -- nis.error: no such key in map

Initial Comment:
I always ignored this test error, but maybe you want to
fix this:

test test_nis crashed -- nis.error: no such key in map


$ ./python Lib/test/test_nis.py
nis.maps()
group.bygid.tmp
mail.aliases
      
     n.strack strack
Traceback (most recent call last):
  File "Lib/test/test_nis.py", line 24, in ?
    if nis.match(k, nismap) != v:
nis.error: no such key in map
$

I believe this might be some misconfiguration of NIS on
thsi host(we use it on other machines, but it should
not be enabled on this particular machine). 

But, when I do "ypcat mail.aliases", I do not see a
line with "n.strack strack". Maybe more debug trace
would help to find what's going on.

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

>Comment By: Martin Mokrejs (mmokrejs)
Date: 2006-03-06 10:21

Message:
Logged In: YES 
user_id=696559

Unfortunately I do not have an access to that machine
running Tru64Unix 5.1. I tried to reproduce on Linux i686
with python-2.4.2 with no luck (that means NIS is not set up
and the test correctly complains there is no NIS configured):

$ ./python Lib/test/test_nis.py
nis.maps()
Traceback (most recent call last):
  File "Lib/test/test_nis.py", line 10, in ?
    raise TestFailed, msg
test.test_support.TestFailed: No NIS master found for any map
$

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

Comment By: SourceForge Robot (sf-robot)
Date: 2006-03-06 04:20

Message:
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Georg Brandl (birkenfeld)
Date: 2006-02-19 16:10

Message:
Logged In: YES 
user_id=1188172

Does this error persist in Python 2.4?

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

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


More information about the Python-bugs-list mailing list