[ mailman-Bugs-728847 ] 2.1.2 Messages.Py

SourceForge.net noreply at sourceforge.net
Fri May 16 15:59:24 EDT 2003

Bugs item #728847, was opened at 2003-04-28 07:25
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting: 

Category: command line scripts
Group: 2.1 (stable)
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: David English (engush)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.1.2 Messages.Py

Initial Comment:
Fix: Edit line 205 of Messages.py add ) and remove line 
206  "errors='replace')"

otherwise the following error occurs when creating a new 

lostris:/usr/local/mailman/bin# ./newlist test
Enter the email of the person running the list: 
blah at blah.org
Initial test password:
To finish creating your mailing list, you must edit 
your /etc/aliases (or
equivalent) file by adding the following lines, and 
possibly running the
`newaliases' program:

## test mailing list
test:              "|/usr/local/mailman/mail/mailman post 
test-admin:        "|/usr/local/mailman/mail/mailman 
admin test"
test-bounces:      "|/usr/local/mailman/mail/mailman 
bounces test"
test-confirm:      "|/usr/local/mailman/mail/mailman 
confirm test"
test-join:         "|/usr/local/mailman/mail/mailman join 
test-leave:        "|/usr/local/mailman/mail/mailman leave 
test-owner:        "|/usr/local/mailman/mail/mailman 
owner test"
test-request:      "|/usr/local/mailman/mail/mailman 
request test"
test-subscribe:    "|/usr/local/mailman/mail/mailman 
subscribe test"
test-unsubscribe:  "|/usr/local/mailman/mail/mailman 
unsubscribe test"

Hit enter to notify test owner...

Traceback (most recent call last):
  File "./newlist", line 219, in ?
  File "./newlist", line 211, in main
    text, mlist.preferred_language)
  File "/usr/local/mailman/Mailman/Message.py", line 
206, in __init__
TypeError: __init__() got an unexpected keyword 
argument 'errors'


>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-05-16 17:59

Logged In: YES 

Something's wrong with your installation -- perhaps you only
partially updated?  Mailman 2.1.2 should come with email
2.5.2 and its Header class __init__() does indeed take an
errors argument.


You can respond by visiting: 

More information about the Mailman-coders mailing list