On Feb 12, 2011, at 1:45 PM, feric...@gmail.com wrote: > I'm running the latest version of gae 1.4.2 and latest version of web2py. It > didn't work for me on mac so I am trying it on linux now. It works if I > deploy it. > > Does it work out of the box for you?
I've been fighting similar problems on OS X. The short answer seems to be: point the SDK at Python 2.5. The symptoms are sort of erratic, but a long stack trace that ends in a failure to import some shared C library is what I've been seeing: _io or _ctypes so far. A small point: in the GAE SDK GUI (GoogleAppEngineLauncher) you can set the Python version as a Preference (point it to the python binary). But in the Preference field, you have to hit Enter, or it doesn't stick. I'm running Launcher version 1.4.2.1041 I happen to have Python 2.5.4 lying around, and that seems to work, so far. 2.5.2 is here if you want it: http://www.python.org/download/releases/2.5.2/ > > > On Sat, Feb 12, 2011 at 11:41 PM, G. Clifford Williams > <g...@notadiscussion.com> wrote: > On Sat, Feb 12, 2011 at 01:33:00PM -0800, rif spake: > > Shoud these steps work? > > > > - download google app engine > > - download web2py > > - run ./dev_appserver.py ../web2py/ > > - go to http://localhost:8080 > > > > Should it display the welcome app? > > I am on a fedora system with python 2.7 and it doesn't (it gives me an long > > stacktrace). Is it because of python version? > > Depends on the version of GAE you're running. Support for python 2.7 was > added very recently and may still be beta (not sure on this). > > I've never used GAE SDK on Linux so I'm not sure how it works there. On OS X > you start the GAE Launcher and add your application to the launcher via a gui > then start it by clicking on a run button. >