[Mailman-Users] UnicodeDecodeError with Mailman 2.1 and Python 2.6

Mark Sapiro mark at msapiro.net
Wed Sep 2 22:33:34 CEST 2015


On 09/02/2015 07:31 AM, David Magda wrote:
> On Tue, September 1, 2015 22:43, Mark Sapiro wrote:
>>
>> So what has probably happened is that archiving has been broken since
>> the upgrade on Aug 25. There should be a an error message with traceback
>> in Mailman's 'error' log for each message that wasn't archived. More
>> importantly, the unarchived messages should all be in Mailman's 'shunt'
>> queue and running Mailman's bin/unshunt should process them for the
>> archive.
> 
> The last error message that is in the 'error' log is from Aug 24:


Hmmm...


>> Presumably, you did some kind of bin/arch process on Aug 25. The answer
>> is don't do that. Or if you didn't do that, then the answer may lie in
>> whatever changed in Python.
> 
> Not that I'm aware of, unless the Debian package runs it in some way
> pre-/post-upgrade. I didn't start looking at bin/arch until I noticed the
> breakage.


No. The package wouldn't do that.

It is difficult to understand why a list would stop archiving without
throwing and logging exceptions. Even if ArchRunner were somehow not
running, the messages would be queued in its queue and processed when it
eventually started.


>> You should also consider running the contrib/mmdsr script from the
>> Mailman source distro or if not that, somehow looking a Mailman's error
>> log frequently for problems to discover them sooner.
> 
> We have a few more hosts to upgrade, so I'll have to look more closely at
> this. However some of these hosts have quite a few lists, so I'm not sure
> how practical it will be examine every one to see if they're working
> properly.


mmdsr (Mailman daily summary report) is a daily summary for the whole
server run at midnight by cron. It won't directly tell you if messages
are not being archived, but it will give you a listing of what's in
Mailman's queues and various error log entries.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list