[Pkg-mailman-hackers] Bug#593931: mailman: Archiving seems to fails since python2.6

Jakub Wilk jwilk at debian.org
Mon Aug 23 12:20:42 UTC 2010


(I am not maintainer of this package.)

* Balcaen John <debian at littleboboy.net>, 2010-08-22, 08:44:
>Package: mailman
>Version: 1:2.1.13-4
>Severity: normal
>
>I noticed that archiving is not working anymore on my squeeze 's box.
>Running the binary manually failed with this:
>
>% ./bin/arch mailman
>/var/lib/mailman/Mailman/Utils.py:32: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
>  import sha
>/var/lib/mailman/Mailman/SecurityManager.py:65: DeprecationWarning: the md5 module is deprecated; use hashlib instead
>  import md5
>Pickle de l'�tat des archives vers /var/lib/mailman/archives/private/mailman/pipermail.pck
>Traceback (most recent call last):
>  File "./bin/arch", line 200, in <module>
>    main()
>  File "./bin/arch", line 188, in main
>    archiver.processUnixMailbox(fp, start, end)
>  File "/var/lib/mailman/Mailman/Archiver/pipermail.py", line 564, in processUnixMailbox
>    m = mbox.next()
>  File "/usr/lib/python2.6/mailbox.py", line 1961, in next
>    return self.factory(_PartialFile(self.fp, start, stop))
>  File "/var/lib/mailman/Mailman/Mailbox.py", line 89, in scrubber
>    return mailbox.scrub(msg)
>  File "/var/lib/mailman/Mailman/Mailbox.py", line 109, in scrub
>    return self._scrubber(self._mlist, msg)
>  File "/var/lib/mailman/Mailman/Handlers/Scrubber.py", line 196, in process
>    ctype = part.get_type(part.get_default_type())
>AttributeError: Message instance has no attribute 'get_type'

This traceback doesn't look like if it was generated by Mailman 2.1.13. 
Are you sure you are running this version?

(Mailman was indeed not compatible with Python 2.6 before the 2.1.12 
release.)

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20100823/9fc73c29/attachment.pgp>


More information about the Pkg-mailman-hackers mailing list