I realized recently that the accoutn I was sending mailman's cron output to was not actually checking mail.

So, after I checked I saw tons (like several hundred a day) of this:

Subject: Cron <mailman@syth> /usr/bin/python -S /Users/mailman/cron/gate_news

Traceback (most recent call last):
File "/Users/mailman/cron/gate_news", line 270, in ?
main()
File "/Users/mailman/cron/gate_news", line 250, in main
process_lists(lock)
File "/Users/mailman/cron/gate_news", line 185, in process_lists
mlist = MailList.MailList(listname, lock=0)
File "/Users/mailman/Mailman/MailList.py", line 101, in __init__
self.Load()
File "/Users/mailman/Mailman/MailList.py", line 555, in Load
dict, e = self.__load(file)
File "/Users/mailman/Mailman/MailList.py", line 521, in __load
fp = open(dbfile)
IOError: [Errno 13] Permission denied: '/Users/mailman/lists/chat-backup/config.pck'

OK, no problem I think, I'll just check_perms -f

bin/check_perms -f
Traceback (most recent call last):
File "bin/check_perms", line 331, in ?
checkmta()
File "bin/check_perms", line 266, in checkmta
__import__(modname)
File "/Users/mailman/Mailman/MTA/Manual.py", line 23, in ?
from Mailman import Message
File "/Users/mailman/Mailman/Message.py", line 23, in ?
import email.Message
File "/Users/mailman/pythonlib/email/__init__.py", line 32, in ?
from email.Parser import Parser as _Parser
File "/Users/mailman/pythonlib/email/Parser.py", line 12, in ?
from email import Message
File "/Users/mailman/pythonlib/email/Message.py", line 14, in ?
from email import Utils
File "/Users/mailman/pythonlib/email/Utils.py", line 8, in ?
import socket
File "/usr/local/lib/python2.2/socket.py", line 41, in ?
from _socket import *
ImportError: No module named _socket


What's odd is the lists are all working, but somewhere python got munged. Anyone have any idea how to fix this?

# python -v
# /usr/local/lib/python2.2/site.pyc matches /usr/local/lib/python2.2/site.py
import site # precompiled from /usr/local/lib/python2.2/site.pyc
# /usr/local/lib/python2.2/os.pyc matches /usr/local/lib/python2.2/os.py
import os # precompiled from /usr/local/lib/python2.2/os.pyc
import posix # builtin
# /usr/local/lib/python2.2/posixpath.pyc matches /usr/local/lib/python2.2/posixpath.py
import posixpath # precompiled from /usr/local/lib/python2.2/posixpath.pyc
# /usr/local/lib/python2.2/stat.pyc matches /usr/local/lib/python2.2/stat.py
import stat # precompiled from /usr/local/lib/python2.2/stat.pyc
# /usr/local/lib/python2.2/UserDict.pyc matches /usr/local/lib/python2.2/UserDict.py
import UserDict # precompiled from /usr/local/lib/python2.2/UserDict.pyc
Python 2.2 (#1, 07/14/02, 23:25:09)
[GCC Apple cpp-precomp 6.14] on darwin
Type "help", "copyright", "credits" or "license" for more information.


--
Don't congratulate yourself too much, or berate yourself either. Your choices are half chance; so are everybody else's.


------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [email protected]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to