[Mailman-Users] ImportError with regex and binascii? List has stopped sending
Gee
gee at geedev.com
Wed Apr 17 04:23:52 CEST 2002
This is another one of those "now why my list has suddenly stopped
working" questions.
I got everything working last night. Sent some test messages. Everything
worked OK until sometime this afternoon; now messages sent to any of my
lists disappear into Tumbolia without a notice.
I've double checked my crontab, and made sure that crond is running, so I
don't think that's the issue. A few data points that may be relevant...
-- Getting this beast to run was a bear 'cause RedHat 7 apparently does not
cooperate with the #! /usr/bin/env python shebang in the scripts. I kept
getting an error during configure that Python could not be found. I changed
all the Python scripts to !#/usr/bin/python2.1 and things worked seemingly
without error. Mailman installed. Lists were made. Messages were sent
succesfully. The whole works.
-- When I noticed messages aren't going through, I checked the
/home/mailman/logs/error file. It is rife with ImportErrors.
One began last night and has been repeating since:
Apr 15 10:45:02 2002 qrunner(22594): Traceback (most recent call last):
Apr 15 10:45:02 2002 qrunner(22594): File
"/home/mailman/Mailman/Archiver/Archiver.py", line 219, in ArchiveMail
Apr 15 10:45:02 2002 qrunner(22594): import HyperArch
Apr 15 10:45:02 2002 qrunner(22594): File
"/home/mailman/Mailman/Archiver/HyperArch.py", line 47, in ?
Apr 15 10:45:02 2002 qrunner(22594): from Mailman import EncWord
Apr 15 10:45:02 2002 qrunner(22594): File
"/home/mailman/Mailman/EncWord.py", line 21, in ?
Apr 15 10:45:02 2002 qrunner(22594): import base64
Apr 15 10:45:02 2002 qrunner(22594): File
"/home/build/fcs/serverxchange/3.0.4/4/lse/prakash4/svc/linux/build/sources/pyt
hon2-2.1.1-2/INSTALL/usr/lib/python2.1/base64.py", line 7, in ?
Apr 15 10:45:02 2002 qrunner(22594): import binascii
Apr 15 10:45:02 2002 qrunner(22594): ImportError: No module named binascii
Apr 15 10:45:02 2002 (22594) CORRUPT ARCHIVE FOR LIST: testmm
...plus, as you cans see, there's something going on about a corrupt archive.
The other started this afternoon and has been occurring since:
Apr 16 16:34:02 2002 qrunner(5706): Traceback (most recent call last):
Apr 16 16:34:02 2002 qrunner(5706): File "/home/mailman/cron/qrunner",
line 282, in ?
Apr 16 16:34:02 2002 qrunner(5706): kids = main(lock)
Apr 16 16:34:02 2002 qrunner(5706): File "/home/mailman/cron/qrunner",
line 252, in main
Apr 16 16:34:02 2002 qrunner(5706): keepqueued =
dispose_message(mlist, msg, msgdata)
Apr 16 16:34:02 2002 qrunner(5706): File "/home/mailman/cron/qrunner",
line 121, in dispose_message
Apr 16 16:34:02 2002 qrunner(5706): if BouncerAPI.ScanMessages(mlist,
mimemsg):
Apr 16 16:34:02 2002 qrunner(5706): File
"/home/mailman/Mailman/Bouncers/BouncerAPI.py", line 57, in ScanMessages
Apr 16 16:34:02 2002 qrunner(5706): mod =
__import__('Mailman.Bouncers.'+modname)
Apr 16 16:34:02 2002 qrunner(5706): File
"/home/mailman/Mailman/Bouncers/Catchall.py", line 34, in ?
Apr 16 16:34:02 2002 qrunner(5706): import regsub
Apr 16 16:34:02 2002 qrunner(5706): File "/usr/lib/python2.1/regsub.py",
line 20, in ?
Apr 16 16:34:02 2002 qrunner(5706): import regex
Apr 16 16:34:02 2002 qrunner(5706): ImportError : No module named regex
I double check the Pythong directory (/usr/lib/python2.1/) and there,
indeed, is not regex module there. But the notes in the modules imply that
there has been some sort of workaround (maybe? I have no experience with
Python outside of this Mailman install)?
I am assuming that Mailman can indeed play well with Red Hat, but I am at a
loss of what to do next. Big thanks in advance for any guidance.
More information about the Mailman-Users
mailing list