[Mailman-Users] TypeError: __init__() got an unexpected keyword argument 'errors'

Cary cary at dotaku.com
Fri May 30 09:46:59 CEST 2003


Hi, 
		
Mailman lists admin functions have stopped working. 
	- Mailing messages
	- Adding members
	- Removing members
	- Creating new lists

[1] Checked db's no errors to report
[2] Checked permissions - some issues there, but adjusting them didn't
seem to solve the problem. 
[3] Reinstalled python 2.2.2 - no help 
[4] Reinstalled mailman 2.1.2 - no help 

---------------------
ERRORS 
---------------------

====> Building new list from command line [./newlist listname] builds
list but spits out the following error when sending information to list
owner. 

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

====> From command line for ./add_members

Traceback (most recent call last):
  File "/mailman/bin/add_members", line 255, in ?
    main()
  File "/mailman/bin/add_members", line 235, in main
    addall(mlist, nmembers, 0, send_welcome_msg, s)
  File "/mailman/bin/add_members", line 135, in addall
    mlist.ApprovedAddMember(userdesc, ack, 0)
  File "/mailman/Mailman/MailList.py", line 902, in ApprovedAddMember
    digest, text)
  File "/mailman/Mailman/Deliverer.py", line 78, in SendSubscribeAck
    text, pluser)
  File "/mailman/Mailman/Message.py", line 206, in __init__
    errors='replace')
TypeError: __init__() got an unexpected keyword argument 'errors'

====> for ./remove_members 

Traceback (most recent call last):
 File "/mailman/scripts/driver", line 87, in run_main
	main()
 File "/mailman/Mailman/Cgi/admin.py", line 169, in main
	change_options(mlist, category, subcat, cgidata, doc)
 File "/mailman/Mailman/Cgi/admin.py", line 1354, in change_options
	mlist.ApprovedDeleteMember(user)
 File "/mailman/Mailman/MailList.py", line 944, in ApprovedDeleteMember
	self.SendUnsubscribeAck(emailaddr, userlang)
 File "/mailman/Mailman/Deliverer.py", line 87, in SendUnsubscribeAck
	Utils.wrap(self.goodbye_msg), lang)
 File "/mailman/Mailman/Message.py", line 206, in __init__
	errors='replace')
TypeError: __init__() got an unexpected keyword argument 'errors'

====> Saving options via GUI work
====> Sending mail to all my lists works

---------------------
RESULTS & ASSUMPTIONS
---------------------

The theme here seems to be the following : 
	
	__init__() got an unexpected keyword argument 'errors'
	
I've searched for this error in the archives and nothing has revieled
itself. A look on Goggle turned me towards /mailman/pythonlib/email/ and
the assumption that the execution of the above admin functions are being
killed when the email messaging system is called. 

The last update to my Linux box was curl-7.10.5 could this be an issue?
But that was weeks ago and this problem just started now.  

Thanks for your time,

Cary Newfeldt.





More information about the Mailman-Users mailing list