2.1.2 Messages.Py

Bug #265910 reported by Engush
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Medium
Unassigned

Bug Description

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

otherwise the following error occurs when creating a new
list:

lostris:/usr/local/mailman/bin# ./newlist test
Enter the email of the person running the list:
<email address hidden>
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"
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"
test-leave: "|/usr/local/mailman/mail/mailman leave
test"
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 ?
    main()
  File "./newlist", line 211, in main
    text, mlist.preferred_language)
  File "/usr/local/mailman/Mailman/Message.py", line
206, in __init__
    errors='replace')
TypeError: __init__() got an unexpected keyword
argument 'errors'
lostris:/usr/local/mailman/bin#

[http://sourceforge.net/tracker/index.php?func=detail&aid=728847&group_id=103&atid=100103]

Revision history for this message
Barry Warsaw (barry) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.