I have (as far as I can see) identical configurations on two debian computers. On one nginx with uwsgi works. On the other, however, I get the following uwsgi-error in the logs:
Wed Sep 11 22:36:40 2013 - *** Operational MODE: preforking ***
Wed Sep 11 22:36:40 2013 - added /home/www-data/web2py/ to pythonpath.
Wed Sep 11 22:36:40 2013 - mounting wsgihandler:application on /
Traceback (most recent call last):
File "/home/www-data/web2py/wsgihandler.py", line 33, in <module>
import gluon.main
File "/home/www-data/web2py/gluon/__init__.py", line 15, in <module>
from globals import current
ImportError: No module named 'globals'
Wed Sep 11 22:36:40 2013 - unable to load app 0 (mountpoint='/') (callable not found or import error)
The pythonpath is correct and the web2py-installation is up to date and there is a globals.py in web2py/gluon
What is going on?
Regards
Johann
--
Because experiencing your loyal love is better than life itself,
my lips will praise you. (Psalm 63:3)