Graham Dumpleton
Graham Dumpleton
Section https://kopf.readthedocs.io/en/stable/handlers/#state-changing-handlers in docs where mentions `optional=True` should also perhaps note that this will be ignored in case of `@kopf.timer` and `@kopf.daemon` being used.
FWIW. Often these crash on shutdown issues are caused by background daemon threads waking up while process exit is occurring and trying to do things after the Python interpreter has...
It is possibly because you are not forcing the use of the main Python interpreter context by using `WSGIApplicationGroup %{GLOBAL}` directive or `application-group=%{GLOBAL}` option to `WSGIScriptAlias`. Various third party Python...
You should not need to add `/var/www/html/flaskapps/myapp/venv/lib/python3.9/site-packages/` to `python-path`, that is what `python-home` does when you give it the root of the virtual environment. The Flask docs has been wrong...
Old related issue: https://github.com/carvel-dev/kapp-controller/issues/598
I am having to do a release of some mod_wsgi stuff today for other reasons so am going to try and get this added.
Your suggested change is not necessarily a solution and things are a bit more complicated. This wasn't an issue in Python 2.X since the user/password would be converted as byte...
So in that case, needs to be: ``` PyObject *user_string = NULL; PyObject *password_string = NULL; #if PY_MAJOR_VERSION >= 3 user_string = PyUnicode_DecodeLatin1(user, strlen(user), NULL); password_string = PyUnicode_DecodeLatin1(password, strlen(password), NULL);...
If you want to try with: ``` pip install https://github.com/GrahamDumpleton/mod_wsgi/archive/refs/heads/develop.zip ``` you can. Note quite there for a release yet as need to evaluate a few other changes from backlog...