Interesting, I did the upgrade with Upgrade button in admin and web2py crasched when updating, not sure at what point.
I did a manual upgrade and now everything works again. Thank You Massimo. On Jun 25, 9:28 pm, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote: > Something is wrong with your upgrade. The gluon/utils.py did not get > updated. > > On Jun 25, 1:14 pm, Kenneth Lundström <kenneth.t.lundst...@gmail.com> > wrote: > > > > > > > > > Environment: > > Centos 5.5, Apache 2.something, mod_wsgi, MySQL > > > Version 1.95.something worked nice > > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] mod_wsgi > > (pid=23210): Target WSGI script '/data/domains/web2py/wsgihandler.py' > > cannot be loaded as Python module. > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] mod_wsgi > > (pid=23210): Exception occurred processing WSGI script > > '/data/domains/web2py/wsgihandler.py'. > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] Traceback (most > > recent call last): > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] File > > "/data/domains/web2py/wsgihandler.py", line 31, in <module> > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] import > > gluon.main > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] File > > "/data/domains/web2py/gluon/__init__.py", line 15, in <module> > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] from > > globals import current > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] File > > "/data/domains/web2py/gluon/globals.py", line 21, in <module> > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] from html > > import xmlescape, TABLE, TR, PRE > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] File > > "/data/domains/web2py/gluon/html.py", line 29, in <module> > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] from utils > > import web2py_uuid, hmac_hash > > [Sat Jun 25 21:51:17 2011] [error] [client 93.106.44.10] ImportError: > > cannot import name hmac_hash