Switchboard.py", line 159, in dequeue: "qrunner(822): ImportError : No module named header"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mailman (Ubuntu) |
Fix Released
|
Undecided
|
Chuck Short |
Bug Description
Binary package hint: mailman
Ubuntu 8.04.1, mailman 1:2.1.9-9ubuntu1
When mailman creates "Your new mailing list"-notification message in qfiles/virgin the "bin/qrunner --runner=
this is logged in mailman/error:
Oct 07 18:35:04 2008 qrunner(823): Traceback (most recent call last):
Oct 07 18:35:04 2008 qrunner(823): File "/var/lib/
Oct 07 18:35:04 2008 qrunner(823): main()
Oct 07 18:35:04 2008 qrunner(823): File "/var/lib/
Oct 07 18:35:04 2008 qrunner(823): qrunner.run()
Oct 07 18:35:04 2008 qrunner(823): File "/usr/lib/
Oct 07 18:35:04 2008 qrunner(823): filecnt = self._oneloop()
Oct 07 18:35:04 2008 qrunner(823): File "/usr/lib/
Oct 07 18:35:04 2008 qrunner(823): msg, msgdata = self._switchboa
Oct 07 18:35:04 2008 qrunner(823): File "/usr/lib/
Oct 07 18:35:04 2008 qrunner(823): msg = cPickle.load(fp)
Oct 07 18:35:04 2008 qrunner(823): ImportError : No module named header
Running "bin/dumpdb -p" on the offending file returns
[----- start pickle file -----]
Traceback (most recent call last):
File "./bin/dumpdb", line 159, in <module>
msg = main()
File "./bin/dumpdb", line 139, in main
obj = load(fp)
ImportError: No module named header
Adding
import email.Header
before
import paths
in bin/dumpdb fixes this.
My aptitude show mailman
Package: mailman
State: installed
Automatically installed: yes
Version: 1:2.1.9-9ubuntu1
Priority: optional
Section: mail
Maintainer: Ubuntu MOTU Developers <email address hidden>
Uncompressed Size: 40.6M
Depends: adduser, apache2 | httpd, cron, exim4 | mail-transport-
PreDepends: debconf | debconf-2.0
Suggests: listadmin, lynx, spamassassin
[...]
Cancelled...
in-house list generator script is to blame,
let the script use mailmans own email package and the problem i solved.