@Kenworth: I know that this has always been the case (the sandbox blocking
access to files not explicitly given access to), but I think @PK is right -
something has changed (maybe it's just that extra logging has been added?).
I too noted that now my GAE Python application (using AppEngine starndard)
generates a lot of these messages during startup. This change has been done
some time between versions 1.9.52 and 1.9.57 of the development server.
I modified "devappserver2/python/stubs.py" the following way:
def log_access_check_fail(filename):
# This gets the sandboxed version of the logging module
logging = __import__('logging')
logging.info('Sandbox prevented access to file "%s"', filename)
frame = inspect.currentframe() # <--
line added by me
logging.info(''.join(traceback.format_stack(frame))) # <-- line
added by me
logging.info('If it is a static file, check that '
'`application_readable: true` is set in your app.yaml')
So that I can track down where these "disallowed" files where accessed from
(what I found was that the Django initialization code was trying to access
a lot of translation and time zone files - still have to look into if/how I
could cut down on these accesses).
Attila
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/b6990aa4-df17-42a4-af49-e3965fc208a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.