app.yaml skip_files blocks access to local resources

30 views
Skip to first unread message

andreas schmid

unread,
Nov 8, 2011, 2:43:59 PM11/8/11
to google-a...@googlegroups.com
hi,

in my app i need local resources which i user only locally while developing and don't want to upload them on deploy.
thats why i have this specific folder listed in skip_files.
but since now (probably one of the latest SDK releases) this makes the SDK ignore those files, which is pretty uncool.

skip_files should only avoid to upload those files, not block the access to it.

is there any reason why this is blocking access to those files?

thx

Nick Johnson

unread,
Nov 9, 2011, 12:22:32 AM11/9/11
to google-a...@googlegroups.com
Hi Andreas,

The appserver deliberately does its best to emulate the production environment; this includes prohibiting access to files your app will not have in production.

If you want to access files that won't be available in production, you should probably write a separate script and run it outside the dev_appserver.

-Nick Johnson


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.




--
Nick Johnson, Developer Programs Engineer, App Engine


Ugorji Nwoke

unread,
Nov 9, 2011, 12:38:18 AM11/9/11
to google-a...@googlegroups.com
Run dev_appserver.py with parameter: --allow_skipped_files 

I think that should work. 

andreas schmid

unread,
Nov 9, 2011, 11:14:04 AM11/9/11
to google-a...@googlegroups.com
thx ill try this out.

On Nov 9, 2011, at 12:38 AM, Ugorji wrote:

Run dev_appserver.py with parameter: --allow_skipped_files 

I think that should work. 


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/8tlRK_o7vJMJ.
Reply all
Reply to author
Forward
0 new messages