Re: [Bug 1760506] Re: mm_cfg.py syntax error is handled ungracefully
Mark, thanks very much for working on this. Thanks Bruce On Fri, Jun 22, 2018 at 9:43 AM, Mark Sapiro wrote: > ** Changed in: mailman >Status: Fix Committed => Fix Released > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1760506 > > Title: > mm_cfg.py syntax error is handled ungracefully > > Status in GNU Mailman: > Fix Released > > Bug description: > The user left a trailing quote out in mm_cfg.py . Mailman's response > was to fail with the message "Mailman experienced a very low level > failure". Perhaps "low-level failure" was Mailman's opinion of the > user :-) One would hope that we could catch an exception from Python > and give the user a bit more help. Thanks! - Bruce > > To manage notifications about this bug go to: > https://bugs.launchpad.net/mailman/+bug/1760506/+subscriptions > -- Bruce Perens K6BP - CEO, Legal Engineering Standards committee chair, license review committee member, co-founder, Open Source Initiative President, Open Research Institute; Board Member, Fashion Freedom Initiative. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1760506 Title: mm_cfg.py syntax error is handled ungracefully To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1760506/+subscriptions ___ Mailman-coders mailing list Mailman-coders@python.org https://mail.python.org/mailman/listinfo/mailman-coders
[Bug 1760506] Re: mm_cfg.py syntax error is handled ungracefully
** Changed in: mailman Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1760506 Title: mm_cfg.py syntax error is handled ungracefully To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1760506/+subscriptions ___ Mailman-coders mailing list Mailman-coders@python.org https://mail.python.org/mailman/listinfo/mailman-coders
[Bug 1760506] Re: mm_cfg.py syntax error is handled ungracefully
** Branch linked: lp:~pydotorg/mailman/production21 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1760506 Title: mm_cfg.py syntax error is handled ungracefully To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1760506/+subscriptions ___ Mailman-coders mailing list Mailman-coders@python.org https://mail.python.org/mailman/listinfo/mailman-coders
[Bug 1760506] Re: mm_cfg.py syntax error is handled ungracefully
The issue in this specific case was scripts/driver only caught ImportError on a try: of importing mm_cfg and the exception here is SyntaxError. I have changed it to catch any exception and also indicate the traceback could be in the web server logs. ** Changed in: mailman Importance: Undecided => Low ** Changed in: mailman Status: New => Fix Committed ** Changed in: mailman Milestone: None => 2.1.27 ** Changed in: mailman Assignee: (unassigned) => Mark Sapiro (msapiro) -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1760506 Title: mm_cfg.py syntax error is handled ungracefully To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1760506/+subscriptions ___ Mailman-coders mailing list Mailman-coders@python.org https://mail.python.org/mailman/listinfo/mailman-coders
[Bug 1760506] Re: mm_cfg.py syntax error is handled ungracefully
** Branch linked: lp:mailman/2.1 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1760506 Title: mm_cfg.py syntax error is handled ungracefully To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1760506/+subscriptions ___ Mailman-coders mailing list Mailman-coders@python.org https://mail.python.org/mailman/listinfo/mailman-coders