On 07/13/2016 12:30 PM, Jean-Luc Wasmer wrote:
I followed the instructions on:
https://gitlab.com/mailman/mailman-bundler/
I didn't have Python 3.4 installed at all... had to install it to complete Mailman's installation.
So you should have two virtualenvs, a Python 2 virtualenv at /opt/mailman/mailman-bundler/venv and a Python 3 virtualenv at /opt/mailman/mailman-bundler/venv-3.4 (I'm pretty sure bundler won't install with Python 3.5).
- shell scripts expect bash to be at /bin/bash (mine is at
- /usr/local/bin/bash)
Which shell scripts? Mailman itself doesn't ship any shell scripts, so again, I'm guessing you're talking about the ones in your vent?
I'm referring to: ./bin/mailman-post-update ./bin/mailman-web-django-admin createsuperuser
Those scripts are created by bundler you should be activating the Python 2 venv before running them. I.e.,
source ./venv/bin/activate
I'm not sure this will help. It looks like bundler has #!/bin/bash hard-coded in the templates for these scripts.
You might file an issue on this at <https://gitlab.com/mailman/mailman-bundler/issues>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan