Sorry, that is a duplicate message of this: https://groups.google.com/d/msg/web2py/f3l_IOcx560/wNLyIfvSj6wJ
After your recommendation, I added that line to utils.py and it works but now, after a fresh install with the version in trunk other error appear : (posted here: https://groups.google.com/d/msg/web2py/e2KcQDYcPD0/32Gvo-UrUCEJ ) 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 103, in <module> ctokens = initialize_urandom() File "/home/pepearaya/webapps/crewcatalyst2/web2py/gluon/utils.py", line 93, in initialize_urandom except IOerror: NameError: global name 'IOerror' is not defined