[Mailman-Users] Approving large messages results in MemoryError

Peter Veerman pveerman at nemo.kabelfoon.net
Sun Mar 19 17:01:08 CET 2006

I'm Running mailman 2.1.7 on gentoo.
When i want to approve a message which needs for some reason my approval
(e.g. from a wrong adress or sent BCC) i "hit a bug". It seems that it does
not give any problems when the message to be approved is very small.... But
when an attachment is included mailman hits a bug. Very funny is that i can
still discard the message only that is not what i want.
What can i do to get rid of this annoying error?
THe resulting error in my logs is:
Mar 19 16:00:11 2006 admin(22759):
admin(22759): [----- Mailman Version: 2.1.7 -----] 
admin(22759): [----- Traceback ------] 
admin(22759): Traceback (most recent call last):
admin(22759):   File "/usr/local/mailman/scripts/driver", line 101, in
admin(22759):     main()
admin(22759):   File "/usr/local/mailman/Mailman/Cgi/admindb.py", line 164,
in main
admin(22759):     process_form(mlist, doc, cgidata)
admin(22759):   File "/usr/local/mailman/Mailman/Cgi/admindb.py", line 714,
in process_form
admin(22759):     forward, forwardaddr)
admin(22759):   File "/usr/local/mailman/Mailman/ListAdmin.py", line 167, in
admin(22759):     forward, addr)
admin(22759):   File "/usr/local/mailman/Mailman/ListAdmin.py", line 272, in
admin(22759):     msg = readMessage(path)
admin(22759):   File "/usr/local/mailman/Mailman/ListAdmin.py", line 581, in
admin(22759):     msg = cPickle.load(fp)
admin(22759): MemoryError
admin(22759): [----- Python Information -----] 
admin(22759): sys.version     =   2.4.2 (#1, Oct 15 2005, 14:18:45) 
[GCC 3.3.5-20050130 (Gentoo, ssp-,
admin(22759): sys.executable  =   /usr/bin/python 
admin(22759): sys.prefix      =   /usr 
admin(22759): sys.exec_prefix =   /usr 
admin(22759): sys.path        =   /usr 
admin(22759): sys.platform    =   linux2 
admin(22759): [----- Environment Variables -----] 
admin(22759):   HTTP_COOKIE:
330303339306234393064616232636432663431356230 admin(22759):
admin(22759):   SCRIPT_NAME: /mailman/admindb 
admin(22759):   SERVER_SIGNATURE: <address>Apache Server at xxx.xxxxxx.xxx
Port 80</address>
admin(22759):   REQUEST_METHOD: POST 
admin(22759):   HTTP_KEEP_ALIVE: 300 
admin(22759):   SERVER_PROTOCOL: HTTP/1.1 
admin(22759):   QUERY_STRING:  
admin(22759):   CONTENT_LENGTH: 136 
admin(22759):   HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7 
admin(22759):   HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv: Gecko/20060111 Firefox/ 
admin(22759):   HTTP_CONNECTION: keep-alive 
admin(22759):   HTTP_REFERER: http://
admin(22759):   SERVER_NAME: xxx.xxxxxx.xxx
admin(22759):   REMOTE_ADDR: xxx.xxxxxx.xxx
admin(22759):   PATH_TRANSLATED: /data/hosting/localhost/htdocs/spam 
admin(22759):   SERVER_PORT: 80 
admin(22759):   SERVER_ADDR: xxx.xxxxxx.xxx 
admin(22759):   DOCUMENT_ROOT: /data/hosting/localhost/htdocs/ 
admin(22759):   PYTHONPATH: /usr/local/mailman 
admin(22759):   SCRIPT_FILENAME: /usr/local/mailman/cgi-bin/admindb 
admin(22759):   SERVER_ADMIN: pveerman@ <mailto:pveerman at nemo.kabelfoon.net>
admin(22759):   HTTP_HOST: xxx.xxxxxx.xxx 
admin(22759):   REQUEST_URI: /mailman/admindb/spam 
admin(22759):   HTTP_ACCEPT:
admin(22759):   GATEWAY_INTERFACE: CGI/1.1 
admin(22759):   REMOTE_PORT: 2641 
admin(22759):   HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 
admin(22759):   CONTENT_TYPE: application/x-www-form-urlencoded 
admin(22759):   HTTP_ACCEPT_ENCODING: gzip,deflate 
admin(22759):   PATH_INFO: /spam 

More information about the Mailman-Users mailing list