Error: Invalid value '' for variable: accept_these_nonmembers
This is in mailman CVS
I've changed GUI/GUIBase.py with the hopes to output a better error: try: val = self._getValidValue(mlist, property, wtype, val) except ValueError: doc.addError(_("Invalid value '"+val+"' for variable: %(property)s"), tag=_('Error: '))
I get the error (without my patch too obviously) only one install. I can't seem to reproduce it on the list install I have on my laptop.
Any ideas what's going on?
Marc
Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
"MM" == Marc MERLIN marc_news@vasoftware.com writes:
MM> This is in mailman CVS
MM> I've changed GUI/GUIBase.py with the hopes to output a better
MM> error: try: val = self._getValidValue(mlist, property, wtype,
MM> val) except ValueError: doc.addError(_("Invalid value
MM> '"+val+"' for variable: %(property)s"), tag=_('Error: '))
MM> I get the error (without my patch too obviously) only one
MM> install. I can't seem to reproduce it on the list install I
MM> have on my laptop.
MM> Any ideas what's going on?
Yup, it's a bug. Fixed in CVS.
-Barry
On Wed, Feb 27, 2002 at 11:00:54PM -0500, Barry A. Warsaw wrote:
MM> I've changed GUI/GUIBase.py with the hopes to output a better MM> error: try: val = self._getValidValue(mlist, property, wtype, MM> val) except ValueError: doc.addError(_("Invalid value MM> '"+val+"' for variable: %(property)s"), tag=_('Error: ')) MM> Any ideas what's going on?
Yup, it's a bug. Fixed in CVS.
Sure enough, works much better now :-)
In the meantime, I have more info on auto discard and auto reject
auto discard / don't mail admin => works auto discard / mail admin => doesn't work reject / mail admin => doesn't work reject / don't mail admin => doesn't work
Basically, anything that triggers an Email, bombs with:
==> ../logs/error <==
Feb 28 13:40:21 2002 (18025) Uncaught runner exception: get_type
Feb 28 13:40:21 2002 (18025) Traceback (most recent call last):
File "/var/local/mailman/Mailman/Queue/Runner.py", line 114, in __oneloop
self.__onefile(msg, msgdata)
File "/var/local/mailman/Mailman/Queue/Runner.py", line 162, in __onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/var/local/mailman/Mailman/Queue/OutgoingRunner.py", line 59, in _dispose
func(mlist, msg, msgdata)
File "/var/local/mailman/Mailman/Handlers/SMTPDirect.py", line 79, in process
msgtext = msg.as_string(unixfrom=0)
File "/var/local/mailman/pythonlib/email/Message.py", line 85, in as_string
g(self, unixfrom=unixfrom)
File "/var/local/mailman/pythonlib/email/Generator.py", line 83, in __call__
self._write(msg)
File "/var/local/mailman/pythonlib/email/Generator.py", line 104, in _write
self._dispatch(msg)
File "/var/local/mailman/pythonlib/email/Generator.py", line 134, in _dispatch
meth(msg)
File "/var/local/mailman/pythonlib/email/Generator.py", line 246, in _handle_multipart
g(part, unixfrom=0)
File "/var/local/mailman/pythonlib/email/Generator.py", line 83, in __call__
self._write(msg)
File "/var/local/mailman/pythonlib/email/Generator.py", line 104, in _write
self._dispatch(msg)
File "/var/local/mailman/pythonlib/email/Generator.py", line 121, in _dispatch
ctype = msg.get_type()
AttributeError: get_type
Marc
Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
On Thu, Feb 28, 2002 at 02:02:54PM -0800, Marc MERLIN wrote:
On Wed, Feb 27, 2002 at 11:00:54PM -0500, Barry A. Warsaw wrote:
MM> I've changed GUI/GUIBase.py with the hopes to output a better MM> error: try: val = self._getValidValue(mlist, property, wtype, MM> val) except ValueError: doc.addError(_("Invalid value MM> '"+val+"' for variable: %(property)s"), tag=_('Error: ')) MM> Any ideas what's going on?
Yup, it's a bug. Fixed in CVS.
Sure enough, works much better now :-)
In the meantime, I have more info on auto discard and auto reject
auto discard / don't mail admin => works auto discard / mail admin => doesn't work reject / mail admin => doesn't work reject / don't mail admin => doesn't work
Basically, anything that triggers an Email, bombs with:
Actually I missed the email-1.1 upgrade. I just installed that, and I seem to be getting errors in similar caes, but the error is now: ==> ../logs/error <== Feb 28 16:34:03 2002 (4404) Uncaught runner exception: Message main Content-Type: must be "multipart" or missing Feb 28 16:34:03 2002 (4404) Traceback (most recent call last): File "/var/local/mailman/Mailman/Queue/Runner.py", line 114, in __oneloop self.__onefile(msg, msgdata) File "/var/local/mailman/Mailman/Queue/Runner.py", line 162, in __onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/var/local/mailman/Mailman/Queue/IncomingRunner.py", line 113, in _dispose status = self._dopipeline(mlist, msg, msgdata, pipeline) File "/var/local/mailman/Mailman/Queue/IncomingRunner.py", line 151, in _dopipeline mlist.BounceMessage(msg, msgdata, e) File "/var/local/mailman/Mailman/Bouncer.py", line 233, in BounceMessage bmsg.add_payload(MIMEMessage(msg)) File "/var/local/mailman/pythonlib/email/Message.py", line 115, in add_payload raise Errors.MultipartConversionError( MultipartConversionError: Message main Content-Type: must be "multipart" or missing
The message, saved in shunt shows nothing weird:
Date: Thu, 28 Feb 2002 16:33:58 -0800 From: Marc MERLIN marc_news@vasoftware.com To: test@svlug.org Subject: test 3 Message-ID: 20020301003358.GA5066@merlins.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i
Marc
Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
"MM" == Marc MERLIN marc_news@vasoftware.com writes:
MM> Actually I missed the email-1.1 upgrade. I just installed
MM> that, and I seem to be getting errors in similar caes
I just fixed this in Mailman's cvs. I'm pretty much done with the last batch of checkins I had sitting around.
-Barry
"MM" == Marc MERLIN marc_news@vasoftware.com writes:
MM> Sure enough, works much better now :-)
MM> In the meantime, I have more info on auto discard and auto
MM> reject
| auto discard / don't mail admin => works
| auto discard / mail admin => doesn't work
| reject / mail admin => doesn't work
| reject / don't mail admin => doesn't work
MM> Basically, anything that triggers an Email, bombs with:
Okay, I think I've got these fixed now. Thanks. -Barry
participants (2)
-
barry@zope.com
-
Marc MERLIN