Hi,
I was hoping to be able to quickly restart a webapp (Django 1.7 build - the webapp hasn't been activated for some months).
But having hit Reload button on the web page, nothing's happened.
I think the server log below is telling me it can't find the app because importlib or import_module is missing/deprecated.
However, I couldn't find the file where this line of code resides in my directory.
Any ideas on how to fix this?
Thanks in advance,
Chris
2018-08-16 03:48:26 Traceback (most recent call last):
2018-08-16 03:48:26 File "/bin/user_wsgi_wrapper.py", line 29, in <module>
2018-08-16 03:48:26
2018-08-16 03:48:26 from importlib import import_module
2018-08-16 03:48:26 ImportError
2018-08-16 03:48:26 :
2018-08-16 03:48:26 No module named importlib
2018-08-16 03:48:26
2018-08-16 03:48:26 unable to load app 0 (mountpoint='') (callable not found or import error)
2018-08-16 03:48:26 *** no app loaded. going in full dynamic mode ***
2018-08-16 03:48:26 *** uWSGI is running in multiple interpreter mode ***
2018-08-16 03:48:26 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-16 03:48:26 spawned uWSGI worker 1 (pid: 2, cores: 1)
2018-08-16 03:48:26 spawned uWSGI worker 2 (pid: 3, cores: 1)
2018-08-16 03:48:26 metrics collector thread started
2018-08-16 03:48:26 spawned 2 offload threads for uWSGI worker 2
2018-08-16 03:48:26 spawned 2 offload threads for uWSGI worker 1
2018-08-16 03:48:30 --- no python application found, check your startup logs for errors ---