views:

629

answers:

1

I've built a GAE site on a Windows machine and I want to work on it from my MacBook. I have the code in SVN remotely and I installed the Mac version of GAE which comes with this launcher program. When I configured my application in the launcher and fire the application up, I get the following error:

22 from datetime import timedelta
23
24 from google.appengine.ext import webapp
25 from google.appengine.ext.webapp import template
26 
google undefined, webapp undefined

<type 'exceptions.ImportError'>: cannot import name webapp

This is really strange to me because it's been running fine in production and on my Windows dev machine for ages, so it must be something with the platform change. Has anyone run into this issue before? It's like the google.appengine modules are missing or something.

A: 

Sounds like something went wrong with your Mac GAE install mate. I'm assuming you have Leopard installed. As the docs say, Leo comes with py2.5, I'm again assuming you are using that. You may need to install Python 2.5 via MacPorts and repoint your GAE dev server to that one. I believe that is how my MacBook is setup, but I did it so long ago I can't remember.

slf