
[ reposting as my initial message didn't hit the list, before part 2]
I hit a bug today:
From our link:
http://www.mydomain.net/thelists/admin/testing/?VARHELP=gateway/news_prefix_...
Error message:
We're sorry, we hit a bug!
Mailman experienced a very low level failure and could not even
generate a useful traceback for you. Please report this to the
Mailman administrator at this site.
This is a proxied configuration, ie:
www.ourdomain.net/lists <-> internal.host.ourdomain.net
Most everything else is working properly; however, I wonder where to start looking at this - there was no useful information in the logs. This is an attempt to display a description of sorts, so I wonder if my configuration may have overlooked something (ie: altered paths).
Thanks.

Thanks to everyone that responded privately via email.
The problem was an obscure typo in mm_cfg.py. Missing single quotes, basically. It's "obscure" because it wasn't very obvious... and I looked over everything with a fine-toothed comb, including our proxy and httpd setup!
It seems to me that Mailman could probably provide better debugging output in this scenario. I don't know Python, but at the point where the mm_cfg.py file is parsed, any syntactical errors could be reported then. ?
Has anyone been bitten by this before?
_F
Forrest Aldrich wrote:
[ reposting as my initial message didn't hit the list, before part 2]
I hit a bug today:
From our link:
http://www.mydomain.net/thelists/admin/testing/?VARHELP=gateway/news_prefix_...
Error message:
We're sorry, we hit a bug!
Mailman experienced a very low level failure and could not even generate a useful traceback for you. Please report this to the Mailman administrator at this site.
This is a proxied configuration, ie:
www.ourdomain.net/lists <-> internal.host.ourdomain.net
Most everything else is working properly; however, I wonder where to start looking at this - there was no useful information in the logs. This is an attempt to display a description of sorts, so I wonder if my configuration may have overlooked something (ie: altered paths).
Thanks.
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/forrie%40forrie.com
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Forrest Aldrich wrote:
The problem was an obscure typo in mm_cfg.py. Missing single quotes, basically. It's "obscure" because it wasn't very obvious... and I looked over everything with a fine-toothed comb, including our proxy and httpd setup!
It seems to me that Mailman could probably provide better debugging output in this scenario. I don't know Python, but at the point where the mm_cfg.py file is parsed, any syntactical errors could be reported then. ?
The real issue here seems to be that the import from mm_cfg done in the driver script is inadequately protected. The driver script print_traceback definition contains
try:
from Mailman.mm_cfg import VERSION
except ImportError:
VERSION = '<undetermined>'
This is fine if there is an ImportError exception, but since mm_cfg.py is edited by users, it is possible (likely) that there will be a SyntaxError error exception here, and something more meaningful than the "Mailman experienced a very low level failure and could not even generate a useful traceback for you." message could be reported.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Thu, 2005-07-28 at 11:52, Mark Sapiro wrote:
The real issue here seems to be that the import from mm_cfg done in the driver script is inadequately protected. The driver script print_traceback definition contains
try: from Mailman.mm_cfg import VERSION except ImportError: VERSION = '<undetermined>'
This is fine if there is an ImportError exception, but since mm_cfg.py is edited by users, it is possible (likely) that there will be a SyntaxError error exception here, and something more meaningful than the "Mailman experienced a very low level failure and could not even generate a useful traceback for you." message could be reported.
Bare excepts are evil, but maybe it's warranted in this situation. All we really care about is the VERSION variable you're right that users can easily put all manner of nastiness in there.
-Barry
participants (3)
-
Barry Warsaw
-
Forrest Aldrich
-
Mark Sapiro