Merge lp:~sambuddhabasu1/mailman/fix_mailman_run_error into lp:mailman
Proposed by
Sambuddha Basu
Status: | Merged |
---|---|
Merge reported by: | Barry Warsaw |
Merged at revision: | not available |
Proposed branch: | lp:~sambuddhabasu1/mailman/fix_mailman_run_error |
Merge into: | lp:mailman |
Diff against target: |
12 lines (+1/-1) 1 file modified
src/mailman/config/config.py (+1/-1) |
To merge this branch: | bzr merge lp:~sambuddhabasu1/mailman/fix_mailman_run_error |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Barry Warsaw | Needs Fixing | ||
Review via email: mp+251667@code.launchpad.net |
Description of the change
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/
To post a comment you must log in.
You might be right that sys.executable isn't the right thing to use, but I also don't think sys.path[0] is right either. Try running the test suite with `tox` to see the problems. Maybe using the directory of sys.argv[0] is better?