Sambuddha Basu has proposed merging lp:~sambuddhabasu1/mailman/fix_mailman_run_error into lp:mailman.
Requested reviews: Mailman Coders (mailman-coders) For more details, see: https://code.launchpad.net/~sambuddhabasu1/mailman/fix_mailman_run_error/+merge/251667 The error message that showed up on running 'mailman start' was: /usr/bin/python3: can't open file '/usr/bin/master': [Errno 2] No such file or directory This was caused as the file was searching for '/usr/bin/master' which is not present. Rather it should search for '/usr/local/bin/master'. -- Your team Mailman Coders is requested to review the proposed merge of lp:~sambuddhabasu1/mailman/fix_mailman_run_error into lp:mailman.
=== modified file 'src/mailman/config/config.py' --- src/mailman/config/config.py 2015-01-06 02:12:52 +0000 +++ src/mailman/config/config.py 2015-03-03 22:26:47 +0000 @@ -135,7 +135,7 @@ def _expand_paths(self): """Expand all configuration paths.""" # Set up directories. - bin_dir = os.path.abspath(os.path.dirname(sys.executable)) + bin_dir = os.path.abspath(sys.path[0]) # Now that we've loaded all the configuration files we're going to # load, set up some useful directories based on the settings in the # configuration file.
_______________________________________________ Mailman-coders mailing list Mailman-coders@python.org https://mail.python.org/mailman/listinfo/mailman-coders