Re: [google-appengine] Re: appcfg shutdown: earlier than scheduled?

2020-05-19 Thread 'Rahul Ravindran' via Google App Engine
And please send any app_ids privately to me since this list is public.

On Tue, May 19, 2020 at 4:32 PM Rahul Ravindran  wrote:

> Could you send the app-id for apps which are having trouble deploying via
> appcfg?
>
> On Tue, May 19, 2020 at 12:11 PM Linus Larsen 
> wrote:
>
>> I just tried updating another service (I'm using Java) which now fails:
>>
>> 98% Application deployment failed. Message: Deployments using appcfg are
>> no longer supported. See
>> https://cloud.google.com/appengine/docs/deprecations
>>
>> But I can update other services, seriously Google what's going on?
>>
>> Deprecated in July 30, then it's extended to August 30, but it seems you
>> have decided to cut the support for appcfg now?
>>
>> It's still at least 2 month away, come on!.
>>
>> / Linus
>>
>>
>>
>> On Tuesday, May 19, 2020 at 4:47:15 PM UTC+2, PPG Apps wrote:
>>>
>>> I am using appcfg and have had no issues
>>>
>>> App Engine SDK
>>> release: "1.9.87"
>>> timestamp: 1571856179
>>> api_versions: ['1']
>>> supported_api_versions:
>>> python:
>>> api_versions: ['1']
>>> python27:
>>> api_versions: ['1']
>>> go:
>>> api_versions: ['go1', 'go1.9']
>>> java7:
>>> api_versions: ['1.0']
>>> go111:
>>> api_versions: [null]
>>> Python 2.5.2
>>> wxPython 2.8.8.1 (msw-unicode)
>>>
>>>
>>> On Thursday, May 14, 2020 at 4:45:56 AM UTC-4, OferR wrote:


 Thanks Linus,

 1. I didn't receive this email. I get other mail from the app engine
 people, but not this one.

 2. Google? Why am I getting this error now?

 3. Can anybody else confirm that they can/cannot deploy using appcfg?

 Thanks



 On Thursday, May 14, 2020 at 7:29:49 PM UTC+12, Linus Larsen wrote:
>
> I don't know about you guys, but I got this in the mail:
>
> The legacy standalone App Engine SDK (appcfg) was deprecated as of *July
> 30, 2019*, in favor of the GA Cloud SDK
> .
> You must migrate your projects off the legacy standalone SDK (appcfg) by
> August 30, 2020. The migration deadline was extended from July 30, 2020, 
> to
> avoid service disruption.
>
> The deadline has been extended, why you get this error now is a
> mystery to me.
>
> / Linus
>
> Den torsdag 14 maj 2020 kl. 05:19:39 UTC+2 skrev OferR:
>>
>>
>> Thanks for your comment.
>>
>> The document that you point to and other documents clearly suggest
>> that support for appcfg will be removed on July 30, 2020, which implies
>> that it should still be supported now.
>>
>> However, this does not seem to be the case as evident when trying to
>> deploy a new version to GAE using appcfg now.
>>
>> Can you please comment on this point.
>>
>> Thanks
>>
>>
>>
>> On Thursday, May 14, 2020 at 2:56:38 PM UTC+12, Aref Amiri (Cloud
>> Platform Support) wrote:
>>>
>>> Based on this public documentation
>>> ,
>>> the appcfg tool which is included in Stand alone App Engine SDK, is
>>> depricated as of July 30, 2019 and is replaced by Cloud SDK
>>> . It will become unavailable for
>>> download on July 30, 2020.
>>>
>>> You may want to follow this documentation
>>> 
>>> as it lists the equivalanet commands to some frequently used AppCfg
>>> commands.
>>>
>> --
>> 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 google-appengine+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-appengine/3b1c9155-5561-489a-aa42-d4a3cb6608f0%40googlegroups.com
>> 
>> .
>>
> --
> Sent from my phone. Excuse the typos.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALZe7H2GWSsmxm0o4z22YVSsVJihjk_QTRFqPsbDAcPqp0gyOw%40mail.gmail.com.


Re: [google-appengine] Re: appcfg shutdown: earlier than scheduled?

2020-05-19 Thread 'Rahul Ravindran' via Google App Engine
Could you send the app-id for apps which are having trouble deploying via
appcfg?

On Tue, May 19, 2020 at 12:11 PM Linus Larsen 
wrote:

> I just tried updating another service (I'm using Java) which now fails:
>
> 98% Application deployment failed. Message: Deployments using appcfg are
> no longer supported. See
> https://cloud.google.com/appengine/docs/deprecations
>
> But I can update other services, seriously Google what's going on?
>
> Deprecated in July 30, then it's extended to August 30, but it seems you
> have decided to cut the support for appcfg now?
>
> It's still at least 2 month away, come on!.
>
> / Linus
>
>
>
> On Tuesday, May 19, 2020 at 4:47:15 PM UTC+2, PPG Apps wrote:
>>
>> I am using appcfg and have had no issues
>>
>> App Engine SDK
>> release: "1.9.87"
>> timestamp: 1571856179
>> api_versions: ['1']
>> supported_api_versions:
>> python:
>> api_versions: ['1']
>> python27:
>> api_versions: ['1']
>> go:
>> api_versions: ['go1', 'go1.9']
>> java7:
>> api_versions: ['1.0']
>> go111:
>> api_versions: [null]
>> Python 2.5.2
>> wxPython 2.8.8.1 (msw-unicode)
>>
>>
>> On Thursday, May 14, 2020 at 4:45:56 AM UTC-4, OferR wrote:
>>>
>>>
>>> Thanks Linus,
>>>
>>> 1. I didn't receive this email. I get other mail from the app engine
>>> people, but not this one.
>>>
>>> 2. Google? Why am I getting this error now?
>>>
>>> 3. Can anybody else confirm that they can/cannot deploy using appcfg?
>>>
>>> Thanks
>>>
>>>
>>>
>>> On Thursday, May 14, 2020 at 7:29:49 PM UTC+12, Linus Larsen wrote:

 I don't know about you guys, but I got this in the mail:

 The legacy standalone App Engine SDK (appcfg) was deprecated as of *July
 30, 2019*, in favor of the GA Cloud SDK
 .
 You must migrate your projects off the legacy standalone SDK (appcfg) by
 August 30, 2020. The migration deadline was extended from July 30, 2020, to
 avoid service disruption.

 The deadline has been extended, why you get this error now is a mystery
 to me.

 / Linus

 Den torsdag 14 maj 2020 kl. 05:19:39 UTC+2 skrev OferR:
>
>
> Thanks for your comment.
>
> The document that you point to and other documents clearly suggest
> that support for appcfg will be removed on July 30, 2020, which implies
> that it should still be supported now.
>
> However, this does not seem to be the case as evident when trying to
> deploy a new version to GAE using appcfg now.
>
> Can you please comment on this point.
>
> Thanks
>
>
>
> On Thursday, May 14, 2020 at 2:56:38 PM UTC+12, Aref Amiri (Cloud
> Platform Support) wrote:
>>
>> Based on this public documentation
>> ,
>> the appcfg tool which is included in Stand alone App Engine SDK, is
>> depricated as of July 30, 2019 and is replaced by Cloud SDK
>> . It will become unavailable for
>> download on July 30, 2020.
>>
>> You may want to follow this documentation
>> 
>> as it lists the equivalanet commands to some frequently used AppCfg
>> commands.
>>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/3b1c9155-5561-489a-aa42-d4a3cb6608f0%40googlegroups.com
> 
> .
>
-- 
Sent from my phone. Excuse the typos.

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALZe7H0-Qnw%2BVDgq27J5G9%2Bh_dpbLhMUBMDPH5W7AHYs160smA%40mail.gmail.com.


Re: [google-appengine] Re: Getting GAE to use GZIP encoding in responses

2019-04-04 Thread 'Rahul Ravindran' via Google App Engine
We consider jpeg, mpeg and some file formats as not compressible and hence
do not compress this content-type

~Rahul.

On Thu, Apr 4, 2019 at 4:26 PM Joshua Smith 
wrote:

> I didn’t get an answer in either place. But my experience has been that
> this list tends to produce answers whereas SO is just asking into the void.
>
> On Apr 4, 2019, at 5:42 PM, 'Nicolas (Google Cloud Platform Support)' via
> Google App Engine  wrote:
>
>
> Hi Joshua,
>
> Thank you for posting here however I can see on your StackOverflow thread
> that the issue is resolved for you but would like to know the root cause of
> your issue.
>
> As this seems to be a bit more of a technical question you will probably
> have better answers from the community by posting on StackOverflow as
> Google Groups is intended for general discussion.
>
>
> On Thursday, March 14, 2019 at 9:05:48 AM UTC-4, Joshua Smith wrote:
>>
>> Is there a trick to convince GAE to GZIP responses? The docs say it’s
>> supposed to be automatic, but it isn’t happening. Details in this SO
>> question…
>>
>>
>> https://stackoverflow.com/questions/55145439/how-can-i-serve-gzip-encoded-images-from-google-app-engine
>>
>>
>> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/911a8289-5997-4e48-824b-8f2ea5264fb2%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/DF8EF245-23E6-4E02-954A-1A5A72BF6E15%40gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H0qbf09UdP6BLCCdP3M7%2BuLQP7_BQM8vgKkHkuj_GVh3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Quickstart for Python 3 in the App Engine Standard Environment

2019-03-19 Thread 'Rahul Ravindran' via Google App Engine
Looks like a typo. Could you try app-engine-Python?
  I will file a bug to fix the doc

On Tue, Mar 19, 2019 at 10:01 PM Will H  wrote:

> In the quickstart here:
> https://cloud.google.com/appengine/docs/standard/python3/quickstart
> There is a step to install the gcloud component app-engine-python3
>
> cloud components install app-engine-python3
>
> Apparently, this component does not exist though (at least that is the
> error I receive).
>
> Is this is a typo or is there something I need to do so that gcloud
> recognizes the component?
>
> I have confirmed I have the latest version of gcloud, version 239.0.0
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/d1c48192-212d-48ad-9636-4fe75a4087cb%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H1_H9BUY7hd0ycSnZPq%2BuBPYWw52c-BBCs0aHeQ%3DyaXfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Existing ndb data -> Python 3 data

2019-02-12 Thread 'Rahul Ravindran' via Google App Engine
That is the idea. I encourage you to participate in the early releases etc
to ensure your use case is being met. You may have additional steps to
enable caching.

On Tue, Feb 12, 2019 at 5:30 PM Bruce Sherwood 
wrote:

> That is very good news indeed. It's not immediately obvious from that
> site's Migration document whether the new ndb library is intended just to
> be something that will make it easy for someone familiar with the existing
> ndb library to build a new GAE, or rather that the intent is to make it
> possible for people like me to access an existing ndb database in an old
> GAE whose Python 2.7's server is replaced by a Python 3 server. Can I
> assume that one of the goals is to be able to use an old ndb database?
>
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/f4d2ee37-3714-4af9-88f7-5ba6f68b56b7%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H2Bww_2%3DbwW%2Bj25XDyTzGJNfPYWHAoLTesKEKcj%2B%2BAVGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Existing ndb data -> Python 3 data

2019-02-12 Thread 'Rahul Ravindran' via Google App Engine
Development of the new Python 3-compatible ndb client is happening in the
Google Cloud Python client library github repo at
https://github.com/googleapis/google-cloud-python/tree/master/ndb . The
library is not usable as-is yet, but work is in progress and can be
monitored there.

On Tue, Feb 12, 2019 at 3:47 PM Bruce Sherwood 
wrote:

> I've seen the documentation on Python 3 datastores, but what I haven't
> seen is how to deal with preserving existing user data.
>
> My existing GAE (Python 2.7, standard environment, ndb) has 60,000 user
> records. Perhaps one way to preserve this data would be to add code to my
> current Python server to dump the data in a format I understand, switch GAE
> to use the new datastore mechanism, then have the server upload my data and
> place the data into the new datastore.
>
> However, I'm surely not the only person facing this challenge, so is there
> some other/better approach?
>
> Bruce
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/e1ab0052-3f6a-4d41-a98c-4a88c5d42adf%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H0FZiModjCZOVW29agF3rPEgbXQYCETBmjwrGcF5w1pWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-01-09 Thread 'Rahul Ravindran' via Google App Engine
Google has a policy of a one year deprecation policy for any GA runtime.
Given that nothing has been announced yet, please know that your
application will continue running for at least a year and that will be
the *minimum
*period for you to need to do anything.

I apologize on being very brief around this at this point, but there are
discussions going on. Stay tuned for longer term guidance around this issue.

~Rahul.

On Wed, Jan 9, 2019 at 6:47 AM bFlood  wrote:

> its not the incompatibility of python (language/runtime), its missing
> services with regard to GAE Standard 2.7 and GAE Standard 3.0. (memcache,
> NDB, Search, Images, Users, webapp2, etc). Are these going to be duplicated
> in GAE3? and if so, will existing data and model definitions in the 2.7
> datastore work in 3?
>
> it looks like some work is being done for this but it would be great to
> know officially what Google plans for this upgrade process. how much code
> will need to change?
>
> https://github.com/googleapis/google-cloud-python/issues?q=NDB+sort%3Aupdated-desc
>
> also, generally what do you mean by "not directly affected on an immediate
> time frame"? a year, 2 years, 5 years before 2.7 apps stop running?
>
>
>
>
> On Wednesday, January 9, 2019 at 9:32:36 AM UTC-5, George (Cloud Platform
> Support) wrote:
>>
>> You are perfectly right, NP. Python 3 is made incompatible with 2, and
>> Python 3 does not support quite a few features, and will require effort to
>> re-program your app in an alternative manner. I was simply saying that
>> often the effort is not enormous, and becomes worthwhile on the longer
>> term.
>>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/8f45b06f-0852-4e46-9331-c3ebdbe3e481%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H1sRf-AeJzem32fzKMKfDXe2wHw1OYnzQirmtSf2BSQ%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Python 3.7 service killed after exceeding memory limit

2018-11-20 Thread 'Rahul Ravindran' via Google App Engine
Hello,
  Your measurement of your application on your laptop does not accurately
represent all the memory used. Firstly, you will need to look at the RSS
memory for the process. In addition, any resources taken by the operating
system, kernel are not accounted for in your measurement but is accounted
in ours. We are not running a Python process alone, but giving you a
complete, isolated linux runtime environment in addition to the python
runtime environment.

~Rahul.

On Tue, Nov 20, 2018 at 2:17 PM vvv vvv  wrote:

> BTW this is in the Standard environment
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/12f271c6-4eb9-4fea-a022-2bb581471e14%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H1gUYghBUuVcS%2BHLSqtKGvMaT8ik%2B5gmVGMe%2BF8z3U%3D7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Python 3.7 and Dajngo 2.x

2018-11-10 Thread 'Rahul Ravindran' via Google App Engine
Not an exact match, but close - Here is a sample with Django, python 3.7
and cloudsql


On Sat, Nov 10, 2018 at 4:21 PM Charles tenorio 
wrote:

> Is anyone using django 2.0 like App Engine and python 3.7 and Cloud
> Datastore? if you can send me an example of CRUD! Thank you
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/ad46b3e1-130a-41f2-9356-77b5ce77ed35%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H33kEBbvChUhVxpyCM%3Dhdsg-8s%3D4fFkuu_abmY7_40UgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Persistent instance and out of memory with automatic scaling and no traffic

2018-10-09 Thread 'Rahul Ravindran' via Google App Engine
The instance might stay alive after it's been idle for 15 minutes, but you
won't be billed for it. Billing is based on 15 min blocks as long as there
is at least one active requet in the 15 min block.

We kill clones lazily to prevent excessive cold starts.


On Tue, Oct 9, 2018 at 5:22 AM vvv vvv  wrote:

> I am on the AppEngine Standard Python 3.7 environment. I have set up a
> cron job to execute every two hours. This cron job creates a bunch of
> threads, they execute some task and finish after some seconds. My web
> service receives no traffic other than this currently.
>
> I am attaching the number of instances graph, and the memory usage. In the
> instances graph the blue line shows that an instance runs for 15 minutes
> every two hours, which is what one would expect with automatic scaling and
> scaling to 0 instances. The green line shows that there are two instances
> running persistently, with the only exception at 23:00 when one instance
> gets killed because it goes out of memory, as one can see from the memory
> graph attached.
>
> My question is, why is there one instance running all the time? Who has
> created it? I'm trying to sort out my memory issue. Thanks a lot.
> P.S attached utilization graph to rule out the possibility that my
> instance is still alive after 15 minutes.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/44af4256-0b24-46fd-b971-515b1944c3de%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H13A4CD1FB5WYu6X%3DCfB%3D_sSBB%3DYr8V1iDNevR9fffG8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Can't run sample applications on AppEngine Stanadard Python3.7

2018-09-28 Thread 'Rahul Ravindran' via Google App Engine
Did you have a chance to look at
https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/datastore/cloud-client
?

On Fri, Sep 28, 2018 at 10:50 AM vvv vvv  wrote:

> Hi George, thanks for answering. dev_appserver.py is for the standard
> environment Python 2.7, I'm trying to run a Python 3.7 web app.
>
> El viernes, 28 de septiembre de 2018, 1:28:34 (UTC+1), vvv vvv escribió:
>>
>>
>> Hello, after installing everything, I am trying to run
>> * 
>> ~/python-docs-samples/appengine/standard_python37/building-an-app/building-an-app-2*
>> *building-an-app/building-an-app-1* built and run successfully, my
>> problem is with the rest in the series which use the cloud datastore.
>> When i start my virtual environment and run
>> pip3 install -r requirements.txt
>>
>> python3 main.py
>>
>>
>> I get Traceback (most recent call last):
>>   File "main.py", line 20, in 
>> from google.cloud import datastore
>>   File
>> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/__init__.py"
>> , line 61, in 
>> from google.cloud.datastore.batch import Batch
>>   File
>> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/batch.py"
>> , line 24, in 
>> from google.cloud.datastore import helpers
>>   File
>> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/helpers.py"
>> , line 24, in 
>> from google.type import latlng_pb2
>> ModuleNotFoundError: No module named 'google.type'
>>
>>
>> If on the other hand I run:
>>
>> pip install -r requirements.txt
>>
>> python main.py
>>
>>
>> The output is:
>>   File "main.py", line 22, in 
>> datastore_client = datastore.Client()
>> ...
>> psep = app_id.find(_PARTITION_SEPARATOR)
>> AttributeError: 'NoneType' object has no attribute 'find'
>>
>>
>> I found here (
>> https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/168)
>> in the end that I have to set APPLICATION_ID. How do I do this, and is this
>> documented somewhere?
>>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/5d3c5a27-d2d1-4619-9b47-4df1378828a3%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H2M-m1%3Dm7URpZKdmXh8k0HSccLr5S9vWCcm-rkTsFnD-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] using 3rd party libraries on GAE standard with Python

2018-09-25 Thread 'Rahul Ravindran' via Google App Engine
Unfortunately, dev_appserver does not yet work with Python 3.x(See
https://cloud.google.com/appengine/docs/standard/python3/testing-and-deploying-your-app#local-dev-server).
You need to run it from a virtualenv which is running python 2.7.

Alternatively, as specified in
https://cloud.google.com/appengine/docs/standard/python3/testing-and-deploying-your-app,
you can choose to not use dev_appserver at all.

On Tue, Sep 25, 2018 at 2:41 PM Dewey Gaedcke  wrote:

> $ make serve
>
> export
> CLOUDSDK_PYTHON=/Users/dgaedcke/dev/client/nmg/nmg_payments_api/env/bin
>
> dev_appserver.py --clear_datastore 0 --logs_path=/tmp/gaelogs
> --log_level=warning \
>
> --host 0.0.0.0 app.yaml
>
> ERROR: Python 3 and later is not compatible with the Google Cloud SDK.
> Please use Python version 2.7.x.
>
>
> If you have a compatible Python interpreter installed, you can use it by
> setting
>
> the CLOUDSDK_PYTHON environment variable to point to it.
>
>
>
> gcloud --version
>
> Google Cloud SDK 217.0.0
>
> app-engine-go
>
> app-engine-python 1.9.75
>
> app-engine-python-extras 1.9.74
>
> bq 2.0.34
>
> cloud-datastore-emulator 2.0.2
>
> core 2018.09.17
>
> gsutil 4.34
>
> Updates are available for some Cloud SDK components.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/11c13a74-2620-492c-919e-9481cb814894%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H2JhM-LcAYVuuKEs6m9KVAfg%2B1ASgcUw16mPBWj8ESphw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] using 3rd party libraries on GAE standard with Python

2018-09-25 Thread 'Rahul Ravindran' via Google App Engine
Could you paste the entire command surface?

Additionally, which version of Google Cloud SDK are you using?

On Tue, Sep 25, 2018 at 2:25 PM Dewey Gaedcke  wrote:

> Thanks for the response and clarification!!
> I remember being told way back NOT to use venv with GAE & so all these
> posts where it is now being shown is very confusing.
>
> Using Py3.7, I'm now getting:
>
> ERROR: Python 3 and later is not compatible with the Google Cloud SDK.
> Please use Python version 2.7.x.
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/d46e86e4-7494-46f0-97d4-d6c9e6bed2a7%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H3L%3DUyz0MxfjCVRuPfjJcBivm8oYg3xP71mFNAcV1gHYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread 'Rahul Ravindran' via Google App Engine
That is great. Do you mind sharing a sample of your code, requirements.txt
and app.yaml in a sample which we could use to look at this usecase?

Additionally, by slow- do you mean every request or the first one? If you
could share your image or code, that would help us debut further


On Sat, Sep 22, 2018 at 2:58 PM BLONDEV INC  wrote:

> Hey, I added the model to requirements.txt and made some modifications to
> account for that. It is now working, if VERY slowly.
>
> On Saturday, September 22, 2018 at 2:45:47 PM UTC-4, Rahul Ravindran wrote:
>>
>> So, you cannot install anything outside of requirements.txt into our
>> environment. You could download everything into your source folder and that
>> may work, but if you are attempting to download models and write it some
>> where, that is not supported
>>
>> On Sat, Sep 22, 2018 at 11:43 AM BLONDEV INC  wrote:
>>
> Then I installed the model I wanted,
>>>
>>> (flask3) ➜  readable001 git:(master) python -m spacy download en
>>> ...You can now load the model via spacy.load('en')
>>>
>>> and now it works on THIS machine, too...
>>>
>>> [image: Snip20180922_106.png]
>>>
>>>
>>>
>>>
>>> Seems the models for spaCy are not installed in the GAE2 Standard
>>> Environment.
>>> We want to use GAE.
>>> Please HELP.
>>>
>>> On Saturday, September 22, 2018 at 2:24:43 PM UTC-4, BLONDEV INC wrote:

 Having an issue, however, on another machine using a different
 environment.
 This is a message I got while installing spaCy:

 (flask3) ➜  readable001 git:(master) python -m spacy validate

 Installed models (spaCy v2.0.12)
 /Users/rose/WORK/VENVS/flask3/lib/python3.7/site-packages/spacy


 No models found in your current environment.


 And then, the error message when I try to run from THIS machine:

 OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut
 link, a Python package or a valid path to a data directory.



 On Saturday, September 22, 2018 at 2:21:19 PM UTC-4, BLONDEV INC wrote:
>
> Yes. It works just fine...
>
>
>
> [image: PHOTO-2018-09-22-14-17-42.jpg]
>
>
> On Saturday, September 22, 2018 at 1:09:53 PM UTC-4, Rahul Ravindran
> wrote:
>>
>> We don't use Conda. THis seems like an issue with your application.
>> Can you run this locally successfully?
>>
>> On Sat, Sep 22, 2018 at 9:50 AM BLONDEV INC 
>> wrote:
>>
>>>
>>> Hi,
>>>
>>> I am getting this error message when I make a GET request to my
>>> app's URL.
>>>
>>> File "/srv/main.py", line 12, in break_sentences nlp =
>>> spacy.load('en') File 
>>> "/env/lib/python3.7/site-packages/spacy/__init__.py",
>>> line 15, in load return util.load_model(name, **overrides) File
>>> "/env/lib/python3.7/site-packages/spacy/util.py", line 119, in 
>>> load_model
>>> raise IOError(Errors.E050.format(name=name)) OSError: [E050] Can't find
>>> model 'en'. It doesn't seem to be a shortcut link, a Python package or a
>>> valid path to a data directory."
>>>
>>>
>>>
>>> I am using the new version of GAE Standard Environment with python37
>>> runtime.
>>>
>>> Someone with a similar issue in a different context was able to
>>> solve by updating their version of spaCy. It seems that if you install 
>>> with
>>> conda, this issue arises.
>>>
>>> Could it be possible that the Google folks used conda to install
>>> spaCy to the new Standard Environment and that is why this is happening
>>> here?
>>>
>>> In any case... Can someone please HELP ME fix this and get my app
>>> running properly?
>>>
>>> Thanks!
>>>
>>> --
>>> 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 google-appengi...@googlegroups.com.
>>> To post to this group, send email to google-a...@googlegroups.com.
>>> 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/9eaffe10-b3ca-446e-ab73-e81394dff2c7%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>> 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 google-appengi...@googlegroups.com.
>>> To post to this group, send email to google-a...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/google-appengine.
>>>
>> To vi

Re: [google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread 'Rahul Ravindran' via Google App Engine
So, you cannot install anything outside of requirements.txt into our
environment. You could download everything into your source folder and that
may work, but if you are attempting to download models and write it some
where, that is not supported

On Sat, Sep 22, 2018 at 11:43 AM BLONDEV INC  wrote:

> Then I installed the model I wanted,
>
> (flask3) ➜  readable001 git:(master) python -m spacy download en
> ...You can now load the model via spacy.load('en')
>
> and now it works on THIS machine, too...
>
> [image: Snip20180922_106.png]
>
>
>
>
> Seems the models for spaCy are not installed in the GAE2 Standard
> Environment.
> We want to use GAE.
> Please HELP.
>
> On Saturday, September 22, 2018 at 2:24:43 PM UTC-4, BLONDEV INC wrote:
>>
>> Having an issue, however, on another machine using a different
>> environment.
>> This is a message I got while installing spaCy:
>>
>> (flask3) ➜  readable001 git:(master) python -m spacy validate
>>
>> Installed models (spaCy v2.0.12)
>> /Users/rose/WORK/VENVS/flask3/lib/python3.7/site-packages/spacy
>>
>>
>> No models found in your current environment.
>>
>>
>> And then, the error message when I try to run from THIS machine:
>>
>> OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut
>> link, a Python package or a valid path to a data directory.
>>
>>
>>
>> On Saturday, September 22, 2018 at 2:21:19 PM UTC-4, BLONDEV INC wrote:
>>>
>>> Yes. It works just fine...
>>>
>>>
>>>
>>> [image: PHOTO-2018-09-22-14-17-42.jpg]
>>>
>>>
>>> On Saturday, September 22, 2018 at 1:09:53 PM UTC-4, Rahul Ravindran
>>> wrote:

 We don't use Conda. THis seems like an issue with your application. Can
 you run this locally successfully?

 On Sat, Sep 22, 2018 at 9:50 AM BLONDEV INC  wrote:

>
> Hi,
>
> I am getting this error message when I make a GET request to my app's
> URL.
>
> File "/srv/main.py", line 12, in break_sentences nlp =
> spacy.load('en') File 
> "/env/lib/python3.7/site-packages/spacy/__init__.py",
> line 15, in load return util.load_model(name, **overrides) File
> "/env/lib/python3.7/site-packages/spacy/util.py", line 119, in load_model
> raise IOError(Errors.E050.format(name=name)) OSError: [E050] Can't find
> model 'en'. It doesn't seem to be a shortcut link, a Python package or a
> valid path to a data directory."
>
>
>
> I am using the new version of GAE Standard Environment with python37
> runtime.
>
> Someone with a similar issue in a different context was able to solve
> by updating their version of spaCy. It seems that if you install with
> conda, this issue arises.
>
> Could it be possible that the Google folks used conda to install spaCy
> to the new Standard Environment and that is why this is happening here?
>
> In any case... Can someone please HELP ME fix this and get my app
> running properly?
>
> Thanks!
>
> --
> 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 google-appengi...@googlegroups.com.
> To post to this group, send email to google-a...@googlegroups.com.
> 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/9eaffe10-b3ca-446e-ab73-e81394dff2c7%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
 --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/5b22b3e3-6d48-4aaf-ab13-7aaddc58c19c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/go

Re: [google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread 'Rahul Ravindran' via Google App Engine
We don't use Conda. THis seems like an issue with your application. Can you
run this locally successfully?

On Sat, Sep 22, 2018 at 9:50 AM BLONDEV INC  wrote:

>
> Hi,
>
> I am getting this error message when I make a GET request to my app's URL.
>
> File "/srv/main.py", line 12, in break_sentences nlp = spacy.load('en')
> File "/env/lib/python3.7/site-packages/spacy/__init__.py", line 15, in load
> return util.load_model(name, **overrides) File
> "/env/lib/python3.7/site-packages/spacy/util.py", line 119, in load_model
> raise IOError(Errors.E050.format(name=name)) OSError: [E050] Can't find
> model 'en'. It doesn't seem to be a shortcut link, a Python package or a
> valid path to a data directory."
>
>
>
> I am using the new version of GAE Standard Environment with python37
> runtime.
>
> Someone with a similar issue in a different context was able to solve by
> updating their version of spaCy. It seems that if you install with conda,
> this issue arises.
>
> Could it be possible that the Google folks used conda to install spaCy to
> the new Standard Environment and that is why this is happening here?
>
> In any case... Can someone please HELP ME fix this and get my app running
> properly?
>
> Thanks!
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/9eaffe10-b3ca-446e-ab73-e81394dff2c7%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H0iEej0aLO3ZkFL8mpr-wO8_yc6TsnaKm6Qe2tbJdcaZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: [Google Cloud Insiders] A lot of instability in Google App Engine Standard today

2017-10-31 Thread 'Rahul Ravindran' via Google App Engine
Hello,
  What is your app-id where you are seeing this?
Thanks,
~Rahul.

On Tue, Oct 31, 2017 at 1:37 PM, PK  wrote:

> Many requests fail, usually Ajax calls but I just got one in the UI. I am
> in US Central/python runtime anybody else experiencing instability?
>
> Error: Server ErrorThe server encountered an error and could not complete
> your request.
>
> Please try again in 30 seconds.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Cloud Insiders" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-cloud-insiders+unsubscr...@googlegroups.com.
> To post to this group, send email to google-cloud-insiders@
> googlegroups.com.
> Visit this group at https://groups.google.com/group/google-cloud-insiders.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-cloud-insiders/1F1EA516-B410-4EE7-ABFA-
> 06E5E704F100%40gae123.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CALZe7H0XKd0FdtAPEVSEPf05VXb6qCANWm%3DP0T9XGhSg0WzrxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.