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: test test_nis crashed -- nis.error: no such key in map
Type: Stage:
Components: Demos and Tools Versions: Python 2.3
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, mmokrejs, sf-robot
Priority: normal Keywords:

Created on 2003-07-02 10:09 by mmokrejs, last changed 2022-04-10 16:09 by admin. This issue is now closed.

Messages (4)
msg16796 - (view) Author: Martin Mokrejs (mmokrejs) Date: 2003-07-02 10:09
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/
     n.strack strack
Traceback (most recent call last):
  File "Lib/test/", 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.
msg16797 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-02-19 15:10
Logged In: YES 

Does this error persist in Python 2.4?
msg16798 - (view) Author: SourceForge Robot (sf-robot) Date: 2006-03-06 03:20
Logged In: YES 

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).
msg16799 - (view) Author: Martin Mokrejs (mmokrejs) Date: 2006-03-06 09:21
Logged In: YES 

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/
Traceback (most recent call last):
  File "Lib/test/", line 10, in ?
    raise TestFailed, msg
test.test_support.TestFailed: No NIS master found for any map
Date User Action Args
2022-04-10 16:09:38adminsetgithub: 38769
2003-07-02 10:09:54mmokrejscreate