Question

I'm a novice to development with app engine and I'm trying to upload an application with appcfg.py, this application is written with python 2.5.

When I try to upload the application I get this error:

Error 400: --- begin server output ---
python 2.5 is not supported in 'e' partition

Kindly find below the command that I use:

appcfg.py --oauth2 update --no_cookies "PATH TO THE APPLICATION"

Était-ce utile?

La solution 2

Did you set up your application to run in an EU datacentre? If so, you can't use python2.5. If you really want to use 2.5, you'll have to create a new application and choose the US location, but you'll need to upgrade to 2.7 pretty soon anyway.

Autres conseils

When creating new Google Cloud project. When google asks for projectname and appid you must click "show advanced settings". There you can select data center location NA or EU.

If someone stumbles into this question with python27 you might have misconfigured app.yaml file, as many examples have runtime: python ... not runtime: python27

See details from official documentation

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top