On Jun 4, 2011, at 6:50 PM, Pepe Araya wrote: > In webfaction, I did a fresh install using their install script > (https://wiki.webfaction.com/wiki/Web2py-LatestSource) and I get this error: > > Traceback (most recent call last): > File "web2py.py", line 16, in <module> > import gluon.widget > File "/home/pepearaya/webapps/crewcatalyst2/web2py/gluon/__init__.py", line > 15, in <module> > from globals import current > File "/home/pepearaya/webapps/crewcatalyst2/web2py/gluon/globals.py", line > 21, in <module> > from html import xmlescape, TABLE, TR, PRE > File "/home/pepearaya/webapps/crewcatalyst2/web2py/gluon/html.py", line 29, > in <module> > from utils import web2py_uuid, hmac_hash > File "/home/pepearaya/webapps/crewcatalyst2/web2py/gluon/utils.py", line > 98, in <module> > ctokens = initialize_urandom() > File "/home/pepearaya/webapps/crewcatalyst2/web2py/gluon/utils.py", line > 93, in initialize_urandom > logging.warn( > NameError: global name 'logging' is not defined > > Any idea?
import logging (in utils.py)