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

Balcaen John debian at littleboboy.net
Sun Aug 22 11:44:30 UTC 2010


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'


Regards,


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.34-nephthys (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mailman depends on:
ii  apache2                       2.2.16-1   Apache HTTP Server metapackage
ii  apache2-mpm-prefork [httpd]   2.2.16-1   Apache HTTP Server - traditional n
ii  cron                          3.0pl1-114 process scheduling daemon
ii  debconf [debconf-2.0]         1.5.35     Debian configuration management sy
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  logrotate                     3.7.8-6    Log rotation utility
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip
ii  postfix [mail-transport-agent 2.7.1-1    High-performance mail transport ag
ii  pwgen                         2.06-1+b1  Automatic Password generation
ii  python                        2.6.5-11   interactive high-level object-orie
ii  python-support                1.0.9      automated rebuilding support for P
ii  ucf                           3.0025     Update Configuration File: preserv

mailman recommends no packages.

Versions of packages mailman suggests:
ii  listadmin                   2.40-4       command line mailman moderator que
ii  lynx                        2.8.8dev.4-2 Text-mode WWW Browser (transitiona
ii  spamassassin                3.3.1-1      Perl-based spam filter using text 

-- debconf information:
* mailman/site_languages: fr, en
* mailman/used_languages: en fr
* mailman/create_site_list:
* mailman/queue_files_present: continue regardless
* mailman/default_server_language: en
  mailman/gate_news: false





More information about the Pkg-mailman-hackers mailing list