On 12/28/21 5:58 PM, William Oliver wrote:
On Tue, 2021-12-28 at 17:50 -0800, Mark Sapiro wrote:
The recommended uwsgi.ini includes
pythonpath = /etc/mailman3/
according to https://uwsgi-docs.readthedocs.io/en/latest/Options.html?highlight=pythonpat...
this should work. Did you have that? If you did and it doesn't work, perhaps adding
env = PYTHONPATH=/etc/mailman3
Yes, I had the first, and does not work. The second entry works.
I updated the doc to use
env = PYTHONPATH=/etc/mailman3
I don't know enough about uwsgi to know for sure, but the issue may be that setting pythonpath in a running python process doesn't work - it's too late as the path is already set in python's initialization.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan