Re: [google-appengine] Re: Updates from the Google App Engine team (Fall 2021)

2021-12-01 Thread Sajal Gupta
Am able to make this work now using dev_appserver. It doesn't work with flask server (at least I cold not make it work using flask server as above). If that is indeed the case, may be the GAE getting started guide for python 3 page needs to change to reflect this fact that memcache etc. will wor

[google-appengine] A request is suspended for 6 hours, then completes

2021-12-01 Thread Patrice Bertrand
Here is a strange thing we are seeing repeatedly. We have a batch job processing, handled on a GAE backend service, which ends up taking more than 6 hours, with only 6 minutes of actual processing. The request is started by a Cloud Task. In one case, as an example, the request is started at

Re: [google-appengine] A request is suspended for 6 hours, then completes

2021-12-01 Thread Joshua Smith
Did you check for a time.sleep(2160) in the code? :) > On Dec 1, 2021, at 11:59 AM, Patrice Bertrand > wrote: > > Here is a strange thing we are seeing repeatedly. We have a batch job > processing, handled on a GAE backend service, which ends up taking more than > 6 hours, with only 6

Re: [google-appengine] Re: Updates from the Google App Engine team (Fall 2021)

2021-12-01 Thread 'Matt Larkin' via Google App Engine
Thanks. I'm following-up with the engineering team to determine if this is expected (meaning the docs need to be updated) or a bug. On Wed, Dec 1, 2021 at 1:38 AM Sajal Gupta wrote: > Am able to make this work now using dev_appserver. It doesn't work with > flask server (at least I cold not mak

Re: [google-appengine] Re: Updates from the Google App Engine team (Fall 2021)

2021-12-01 Thread 'Matt Larkin' via Google App Engine
>dev_appserver doesn't seem to work anyway - gives an assertion error (expects python 2, I believe) while my project is Python 3 - in fact trying to migrate from 2 to 3. Sorry, missed this. Without any more details, my guess is you need to provide the `--runtime_python_path` flag (docs

Re: [google-appengine] Updates from the Google App Engine team (Fall 2021)

2021-12-01 Thread Sajal Gupta
Hi Matt, Yes, earlier I was trying to make dev_appserver work (along with this flag) from within PyCharm. That did not work if the base python is set up to be Python 3 in PyCharm project. It worked through command line. It also started to work when I changed the base python to python 2 in pych