[Mailman-Users] "Authentication failed".

William P. McGonigle William.P.McGonigle at artoo.hitchcock.org
Fri Oct 13 17:38:25 CEST 2000


--- Dan Mick wrote:
Is Defaults.py/mm_cfg.py's setting of USE_CRYPT still 1?

What does the following Python program output?  (put in /tmp/tmp.py
and invoke python /tmp/tmp.py).  If it outputs "couldn't find 
crypt", try it with "python -v".

try:
   from crypt import crypt
   print "got crypt"
except ImportError:
   print "couldn't find crypt"
--- end of quote ---

I've been having the same problem - USE_CRYPT is set to 1, the output of the test program follows.  Sorry, I'm new to python (and don't ask how dusty my learning python book is. ;) )

-Bill

-----

# /usr/local/lib/python1.6/exceptions.pyc matches /usr/local/lib/python1.6/exceptions.py
import exceptions # precompiled from /usr/local/lib/python1.6/exceptions.pyc
# /usr/local/lib/python1.6/site.pyc matches /usr/local/lib/python1.6/site.py
import site # precompiled from /usr/local/lib/python1.6/site.pyc
# /usr/local/lib/python1.6/os.pyc matches /usr/local/lib/python1.6/os.py
import os # precompiled from /usr/local/lib/python1.6/os.pyc
import posix # builtin
# /usr/local/lib/python1.6/posixpath.pyc matches /usr/local/lib/python1.6/posixpath.py
import posixpath # precompiled from /usr/local/lib/python1.6/posixpath.pyc
# /usr/local/lib/python1.6/stat.pyc matches /usr/local/lib/python1.6/stat.py
import stat # precompiled from /usr/local/lib/python1.6/stat.pyc
# /usr/local/lib/python1.6/UserDict.pyc matches /usr/local/lib/python1.6/UserDict.py
import UserDict # precompiled from /usr/local/lib/python1.6/UserDict.pyc
Python 1.6 (#1, Oct  6 2000, 14:13:07)  [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
Copyright (c) 1995-2000 Corporation for National Research Initiatives.
All Rights Reserved.
Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved.
# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] exceptions
# cleanup[1] posix
# cleanup[1] site
# cleanup[1] signal
# cleanup[2] os.path
# cleanup[2] os
# cleanup[2] UserDict
# cleanup[2] posixpath
# cleanup[2] stat
# cleanup sys
# cleanup __builtin__
# cleanup ints: 1 unfreed int in 1 out of 3 blocks
# cleanup floats
couldn't find crypt




More information about the Mailman-Users mailing list