[google-appengine] want to migrate to python 2.7 from 2.5,but after making changes website doesn't work

2013-06-03 Thread Sam Mak
I am trying to migrate from python to 2.7 to 2.5 but after making the required changes to main.py and app.yaml file, my site does not work please help... what changes should i make to these to get it to work main.py import os from google.appengine.ext import webapp from

Re: [google-appengine] want to migrate to python 2.7 from 2.5,but after making changes website doesn't work

2013-06-03 Thread Dan Holevoet
Hi Sam, It looks like you've already asked this identical question, and haven't provided any additional information in this second thread. Given the technical question and answer format of your post, I'd suggest asking the same on Stack Overflow. Make sure to provide additional details such as

Re: [google-appengine] want to migrate to python 2.7 from 2.5,but after making changes website doesn't work

2013-06-03 Thread Thiago Catoto
on 2.7 main.py: no more 'def main()' application must be global in app.yaml: script: main.application cheers -- Catoto On Jun 3, 2013 5:50 PM, Sam Mak sam@gmail.com wrote: I am trying to migrate from python to 2.7 to 2.5 but after making the required changes to main.py and app.yaml file,

Re: [google-appengine] want to migrate to python 2.7 from 2.5,but after making changes website doesn't work

2013-06-03 Thread Thiago Catoto
FYI https://developers.google.com/appengine/docs/python/python25/migrate27?hl=pt-br -- Catoto On Mon, Jun 3, 2013 at 6:09 PM, Thiago Catoto tcat...@gmail.com wrote: on 2.7 main.py: no more 'def main()' application must be global in app.yaml: script: main.application cheers -- Catoto