Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Has anyone succeeded in using Google App Engine with Python version 2.6?

Since Python 2.6 is backward compatible to 2.52 , did anyone succeeded in using it with Google app Engine ( which supports 2.52 officially ).

I know i should try it myself. But i am a python and web-apps new bee and for me installation and configuration is the hardest part while getting started with something new in this domain. ( .... I am trying it myself in the meanwhile ....)

Thanks

like image 618
Aman Aggarwal Avatar asked Aug 10 '09 09:08

Aman Aggarwal


People also ask

How do I use Google App Engine?

To use Google's tools for your own site or app, you need to create a new project on Google Cloud Platform. This requires having a Google account. Go to the App Engine dashboard on the Google Cloud Platform Console and press the Create button.

What is Gae launcher?

GAE is a fully managed, serverless platform that is used to host, build and deploy web applications. Users can create a GAE account, set up a software development kit and write application source code. They can then use GAE to test and deploy the code in the cloud.


2 Answers

I suppose logging module crashes if you try to start the dev environment. See the issue and a workaround.

After doing that change my code worked in 2.6 without any problems. I suggest using 2.5.x though so there are no other incompatibilities introduced in your code which would make your app fail on the live server.

like image 153
macbirdie Avatar answered Oct 17 '22 18:10

macbirdie


There are a few issues with using Python 2.6 with the SDK, mostly related to the SDK's sandboxing, which is designed to imitate the sandbox limitations in production. Note, of course, that even if you get Python 2.6 running with the SDK, your code will still have to run under 2.5 in production.

like image 31
Nick Johnson Avatar answered Oct 17 '22 17:10

Nick Johnson