FS#11970 - mailman stopped working after python upgrade

Attached to Project: Arch Linux
Opened by Samed Beyribey (ras0ir) - Monday, 03 November 2008, 08:14 GMT
Last edited by Allan McRae (Allan) - Thursday, 20 November 2008, 05:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture i686
Severity High
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details


Description:
After the python 2.6 update, mailman stopped working. when i try to "/etc/rc.d/mailman start" it gives FAIL.
so i decided to run /home/mailman/bin/mailmanctl and it produced this output:

/home/mailman/Mailman/Utils.py:32: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
Traceback (most recent call last):
File "./mailmanctl", line 110, in <module>
from Mailman.MailList import MailList
File "/tmp/pkg/home/mailman/Mailman/MailList.py", line 51, in <module>
File "/tmp/pkg/home/mailman/Mailman/Archiver/__init__.py", line 17, in <module>
File "/tmp/pkg/home/mailman/Mailman/Archiver/Archiver.py", line 32, in <module>
File "/tmp/pkg/home/mailman/Mailman/Mailbox.py", line 21, in <module>
File "/usr/lib/python2.6/mailbox.py", line 19, in <module>
import email.message
ImportError: No module named message
----------

please pay attention to /tmp/pkg path. Is it a package problem?

Additional info:
* package version: 2.1.10-3

My system is i686


This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 20 November 2008, 05:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.1.11-2
Comment by Allan McRae (Allan) - Monday, 03 November 2008, 09:32 GMT
I found this where a python2.6 patch is discussed but didn't find the patch commited yet: http://www.nabble.com/Mailman-2.1.x-%2B--Python-2.6---td20268337.html
Comment by Allan McRae (Allan) - Monday, 03 November 2008, 12:13 GMT
Found a patch that is supposed to fix the problem (http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mailman-python2.6.patch) but testing showed otherwise.
Comment by Daniel D. (danieldanner) - Tuesday, 04 November 2008, 14:32 GMT
Same here.
Comment by Alberto Simoes (ambs) - Tuesday, 18 November 2008, 22:56 GMT
Having the same problem here. Can't understand how a package goes mainstream, fails, and no replacements are published in 15 days :(
Comment by Samed Beyribey (ras0ir) - Tuesday, 18 November 2008, 23:08 GMT
https://bugs.launchpad.net/mailman/+bug/293178 you can follow this link.
By the way, branch[1] works partially (delivering is OK, but archiving doesnt work).

[1]: https://code.launchpad.net/~barry/mailman/py26

Comment by Allan McRae (Allan) - Wednesday, 19 November 2008, 22:04 GMT
Can people test if this package fixes the problems? It seems to be better from my limited testing but I don't have an actual mailman setup to work with.
Comment by Samed Beyribey (ras0ir) - Thursday, 20 November 2008, 00:01 GMT
This package completely solved my problem. I've tested it and it works great.

i had to do makepkg --asroot, because of a PAM problem, but it doesnt matter as i think.

Thank you very much Allan. You've saved my life :P

Additional output:
mailman 32105 0.0 0.4 11296 4440 ? Ss 00:47 0:00 /usr/bin/python2.4 /home/mailman/bin/mailmanctl start
mailman 32108 0.0 0.7 12516 7908 ? S 00:47 0:00 \_ /usr/bin/python2.4 /home/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
mailman 32109 0.0 0.6 11148 6308 ? S 00:47 0:00 \_ /usr/bin/python2.4 /home/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
mailman 32110 0.0 0.6 11640 6948 ? S 00:47 0:00 \_ /usr/bin/python2.4 /home/mailman/bin/qrunner --runner=CommandRunner:0:1 -
mailman 32111 0.0 0.6 11652 7028 ? S 00:47 0:00 \_ /usr/bin/python2.4 /home/mailman/bin/qrunner --runner=IncomingRunner:0:1
mailman 32112 0.0 0.6 11104 6336 ? S 00:47 0:00 \_ /usr/bin/python2.4 /home/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
mailman 32113 0.0 0.6 11684 7132 ? S 00:47 0:00 \_ /usr/bin/python2.4 /home/mailman/bin/qrunner --runner=OutgoingRunner:0:1
mailman 32114 0.0 0.6 11668 6960 ? S 00:47 0:00 \_ /usr/bin/python2.4 /home/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
mailman 32115 0.0 0.5 11136 6288 ? S 00:47 0:00 \_ /usr/bin/python2.4 /home/mailman/bin/qrunner --runner=RetryRunner:0:1 -s

Loading...