[google-appengine] Re: app.yaml not being recognized by my app

2019-01-16 Thread David Manz
If I modify the app.yaml like this: #runtime: go111 runtime: go api_version: go1 then I can run "dev_appserver.py ./app.yaml", and I can see my static content. I don't know why runtime:go111 doesn't work, but I suppose this works for now. Thanks again! David On Wednesday, January 16, 2019

[google-appengine] Re: app.yaml not being recognized by my app

2019-01-16 Thread David Manz
Hi George, Thanks for the help. I did find the documentation on serving static content, but I think there's something more basic that I'm missing. If I delete app.yaml from the directory entirely, then I don't see any errors--just the same behavior. My directory looks like this: src/myapp/ap

[google-appengine] Re: What is the expected output for app_identity.get_default_version_hostname()

2019-01-16 Thread NP
Thanks for the response. With regards to question 2, if the project is being deployed by different users (hence different domains), you wouldn't know the custom domain URL upfront. A work around is to have user enter the value, which then gets stored and then you read it. I just wanted to know

[google-appengine] Re: What is the expected output for app_identity.get_default_version_hostname()

2019-01-16 Thread 'George (Cloud Platform Support)' via Google App Engine
In reply to your first question, you are right: google.appengine.api.app_identity.app_identity.get_default_version_hostname() gets the standard host name of the default version of the app. For example, if your application_id is my-app, then the result might be my-app.appspot.com. You may check

[google-appengine] Re: app.yaml not being recognized by my app

2019-01-16 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello David, What is your app's directory structure? What directory were you in, when running go run? What happens if you run dev_appserver.py app.yaml in the directory where your app.yaml resides? Is it ignored as well? You may refer to the "Serving Static Content" documentation page

Re: [google-appengine] GAE python 2.7 end of life

2019-01-16 Thread 'George (Cloud Platform Support)' via Google App Engine
Hi Joshua, The advantage of sending mail every day without incurring charges might not be lost: you can apply for a charity-related discount, or good cause exemption with the mail service providers, who might in fact be ready to help you to a similar discount. In any case, your personal exempt

[google-appengine] Using Distributed lock for a particular method based on a path parameter.

2019-01-16 Thread Arun Ram
Is there a way to lock a method that processes a http request based on a particular path parameter in GAE java? If get three requests get/a, get/a and get/b for a path get/x where x is a dynamic path parameter. Is there a way to lock the method to process get/a serially while it processes get/b

[google-appengine] How do I deploy Django app to app engine

2019-01-16 Thread baturay Alhaj Ahmad
Hello all, I am having with my app.yaml file when trying to deploy a django app to app engine using gcloud app deploy command. I am able to deploy the app if I declare python version as 27 but if I declare the verion as 37 I always get the below error Updating service [default]...failed.

[google-appengine] app.yaml not being recognized by my app

2019-01-16 Thread David Manz
I am developing a simple Go app engine app and trying to add some images to my app, but after 'go run .', when I go to http://localhost:8080/x.png, I get the script and not the image. My app.yaml is as follows: runtime: go111 handlers: - url: /stylesheets static_dir: stylesheets - url