[Pkg-mailman-hackers] Bug#616701: ImportError: No module named header (after upgrade to Squeeze)

Steve Kostecke steve at debian.org
Sun Mar 6 19:02:41 UTC 2011


Package: mailman
Version: 1:2.1.13-5
Severity: normal


After upgrading from Lenny to Squeeze mailman stoped delivering mail. The
incoming messages would end up in the list archive. But the message pickle
ended up in /var/lib/mailman/qfiles/bad. The following log entry was noted:

Mar 06 13:03:09 2011 (2703) Uncaught runner exception: No module named header
Mar 06 13:03:09 2011 (2703) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
    msg, msgdata = self._switchboard.dequeue(filebase)
  File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 160, in dequeue
    msg = cPickle.load(fp)
ImportError: No module named header

Mar 06 13:03:09 2011 (2703) Skipping and preserving unparseable message: 1299434588.9720759+4fc58e0100834649217e9bd5cdd1976fe84f5c48

Installing python-mailer and restarting the qrunner solved the problem
for me.

Copying the message pickles to /var/lib/mailman/qfiles/virgin reinjected the
stalled messages.

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (700, 'stable'), (500, 'squeeze-updates')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages mailman depends on:
ii  apache2                 2.2.16-6         Apache HTTP Server metapackage
ii  apache2-mpm-prefork [ht 2.2.16-6         Apache HTTP Server - traditional n
ii  cron                    3.0pl1-116       process scheduling daemon
ii  debconf [debconf-2.0]   1.5.36.1         Debian configuration management sy
ii  exim4                   4.72-6           metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mai 4.72-6           lightweight Exim MTA (v4) daemon
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  logrotate               3.7.8-6          Log rotation utility
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  pwgen                   2.06-1+b1        Automatic Password generation
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-support          1.0.10           automated rebuilding support for P
ii  ucf                     3.0025+nmu1      Update Configuration File: preserv

mailman recommends no packages.

Versions of packages mailman suggests:
pn  listadmin                   <none>       (no description available)
ii  lynx                        2.8.8dev.5-1 Text-mode WWW Browser (transitiona
pn  spamassassin                <none>       (no description available)

-- debconf information:
  mailman/queue_files_present: abort installation
* mailman/default_server_language: en
  mailman/gate_news: false
* mailman/site_languages: en
* mailman/used_languages: en
* mailman/create_site_list:






More information about the Pkg-mailman-hackers mailing list