Hi,
I'm trying to figure out why my webapp doesn't start anymore after a
sudden system reboot. None of the configuration files has changed and
the webapp started like so
uwsgi --ini webapp-uwsgi-prod.ini
But then the uwsgi-file loads and fails immediately:
*** Starting uWSGI 2.0.11.2 (64bit) on [Thu Dec 10 02:56:22 2015] ***
compiled with version: 4.9.3 on 09 December 2015 14:25:35
os: Linux-4.3.0-gentoo #1 SMP Wed Nov 4 16:41:07 CET 2015
...
Traceback (most recent call last):
File "/var/www/.../venv/bookalope-uwsgi-prod.py", line 1, in <module>
from pyramid.paster import get_app, setup_logging
...
File
"/var/www/.../venv/lib64/python3.4/site-packages/pkg_resources/__init__.py",
line 22, in <module>
import time
ImportError: No module named 'time'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
I don't quite understand why the Python builtin module 'time' fails.
When I run the pyvenv Python stand-alone, 'time' module loads just fine.
So I rebuilt all custom modules using pip, and when that didn't work I
created a whole new pyvenv. I still have the same problem.
Am I starting the webapp incorrectly? Am I missing a dependency?
Thanks!
Jens
--
Jens Tröger
http://savage.light-speed.de/
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi