[Mailman-Users] shunt messages
Nicolas Bertrand
nsb at ceh.ac.uk
Thu Sep 18 09:57:17 CEST 2003
Hello,
We are having some serious problem with a 2.1.2 mailman install. Some
messages get transferred to qfiles/shunt and stay there forever. I am
calling on your help on this one.
I understand from previous mailing list posts that the shunt directory
is used by mailman if:
o messages are too large to get delivered
o bug in mailman
o problem with python installation
The original error message (in logs/error) was indicating some problem
with the 'strptime' module:
This was confirmed:
python
Python 2.2 (#1, Aug 4 2003, 14:00:57)
[GCC 2.95.2 19991024 (release)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.strptime
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'strptime'
In the hope of remedying this, I have installed python 2.3
Python 2.3 (#1, Sep 17 2003, 21:23:32)
[GCC 2.95.2 19991024 (release)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.strptime
<built-in function strptime>
As you can see python is now happy with the time.strptime module.
I then proceeded to reinstall mailman. All seemed fine. I then
proceeded to unshunt the messages... In vain. They come back to the
shunt directory.
However, the error is different:
Sep 18 08:42:40 2003 (15588) Uncaught runner exception: Empty module
name
Sep 18 08:42:40 2003 (15588) Traceback (most recent call last):
File "/Users/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
self._onefile(msg, msgdata)
File "/Users/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/Users/mailman/Mailman/Queue/IncomingRunner.py", line 130, in
_dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/Users/mailman/Mailman/Queue/IncomingRunner.py", line 153, in
_dopipelin
e
sys.modules[modname].process(mlist, msg, msgdata)
File "/Users/mailman/Mailman/Handlers/ToDigest.py", line 89, in
process
send_digests(mlist, mboxfp)
File "/Users/mailman/Mailman/Handlers/ToDigest.py", line 130, in
send_digests
send_i18n_digests(mlist, mboxfp)
File "/Users/mailman/Mailman/Handlers/ToDigest.py", line 303, in
send_i18n_dig
ests
msg = scrubber(mlist, msg)
File "/Users/mailman/Mailman/Handlers/Scrubber.py", line 308, in
process
t = t.encode(charset, 'replace')
File "/usr/local/lib/python2.3/encodings/__init__.py", line 84, in
search_func
tion
globals(), locals(), _import_tail)
ValueError: Empty module name
Sep 18 08:42:40 2003 (15588) SHUNTING:
1063634404.28272+cdaf6755effffbc39a35d78f
3db0024abd9cce07
Any ideas?
Nic
CEH Oxford
More information about the Mailman-Users
mailing list