The change treats read-only urandom the same as non-existent urandom, for warning purposes. Is that the intent?
Also, I wonder if it wouldn't be a good policy to unconditionally use local randomness (the seeded random) and mix in urandom randomness if available. That would help to guard against a bad urandom implementation that behaved (wrt read/write) normally.
The change treats read-only urandom the same as non-existent urandom, for warning purposes. Is that the intent?
Also, I wonder if it wouldn't be a good policy to unconditionally use local randomness (the seeded random) and mix in urandom randomness if available. That would help to guard against a bad urandom implementation that behaved (wrt read/write) normally.
I have the same problem as i mentioned here: https://groups.google.com/d/topic/web2py/e2KcQDYcPD0/discussion
did you installed it with the webfaction's script?
Do you have a "parameters_###.py" file in your web2py folder?
For now, import logging. This should be changed to use logging the way the rest of web2py does, though. See compileapp.py for a generic example using the 'web2py' logger.
> thanks a lot!
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.widgetFile "/home/pepearaya/webapps/crewcatalyst2/web2py/gluon/__init__.py", line 15, in <module>from globals import currentFile "/home/pepearaya/webapps/crewcatalyst2/web2py/gluon/globals.py", line 21, in <module>from html import xmlescape, TABLE, TR, PREFile "/home/pepearaya/webapps/crewcatalyst2/web2py/gluon/html.py", line 29, in <module>from utils import web2py_uuid, hmac_hashFile "/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_urandomlogging.warn(NameError: global name 'logging' is not defined
Any idea?
Sorry, that is a duplicate message of this: https://groups.google.com/d/msg/web2py/f3l_IOcx560/wNLyIfvSj6wJAfter 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 :