I've installed 2.1.10b4 from scratch and I'm getting the following error:

Mar 16 01:26:11 2008 (2076) Uncaught runner exception: Message
instance has no attribute 'get_type'
Mar 16 01:26:11 2008 (2076) Traceback (most recent call last):
  File "/home/mailman/Mailman/Queue/Runner.py", line 114, in _oneloop
    self._onefile(msg, msgdata)
  File "/home/mailman/Mailman/Queue/Runner.py", line 185, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/home/mailman/Mailman/Queue/OutgoingRunner.py", line 74, in _dispose
    self._func(mlist, msg, msgdata)
  File "/home/mailman/Mailman/Handlers/SMTPDirect.py", line 159, in process
    deliveryfunc(mlist, msg, msgdata, envsender, refused, conn)
  File "/home/mailman/Mailman/Handlers/SMTPDirect.py", line 292, in verpdeliver
    Decorate.process(mlist, msgcopy, msgdata)
  File "/home/mailman/Mailman/Handlers/Decorate.py", line 133, in process
    elif msg.get_type() == 'multipart/mixed':
AttributeError: Message instance has no attribute 'get_type'

Mar 16 01:26:11 2008 (2076) SHUNTING:
1205623299.1393819+488d99e2bbef7631f7c6da12b2bf6bc48b203157

Atm I commented out the line in Handlers/Decorate.py

# elif msg.get_type() == 'multipart/mixed':

and put instead

elif msgtype == 'multipart/mixed':

It seems it works this way, but I'm not sure if it doesn't break anything else.

Any advice with this?

Regards,
Grigory
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to