Hi Brian, This is really strange, it seems like everything should work. Maybe if you try installing PIL to get the import to work (it should fail gracefully, I'm not sure why it isn't...).
PIL installation instructions are here: http://code.google.com/appengine/docs/images/installingPIL.html#windows Also, what version of the SDK are you using? Have you tried upgrading to 1.1.7? Thanks, Marzia On Fri, Nov 21, 2008 at 5:37 AM, Brian <[EMAIL PROTECTED]> wrote: > > Ok, this is driving me crazy. I've been trying to get "hello world" to > work in GAE for a couple of days now. Enough is enough. I can get > helloworld.py to run at the command prompt, but I cannot get it to run > at localhost. Is there some other setting I need to adjust to get > localhost working? > > I have tried in both Firefox and IE7. > I've installed Python 2.5. I'm on Windows XP. > I have the following Enviromental Variables: > PATH C:\Program Files\Google\google_appengine\ [for my account] > PATH C:\Python25 [for system variables] > > Here is my command prompt and results: > C:\Program Files\Google\google_appengine>dev_appserver.py demos/hello > INFO 2008-11-21 13:24:17,312 appcfg.py] Server: > appengine.google.com > INFO 2008-11-21 13:24:17,328 appcfg.py] Checking for updates to > the SDK. > WARNING 2008-11-21 13:24:17,453 datastore_file_stub.py] Could not > read datastore data from c:\docume~1\bdelega\locals~1\temp > \dev_appserver.datastore > WARNING 2008-11-21 13:24:17,453 datastore_file_stub.py] Could not > read datastore data from c:\docume~1\bdelega\locals~1\temp > \dev_appserver.datastore.history > WARNING 2008-11-21 13:24:17,453 dev_appserver.py] Could not > initialize images API; you are likely missing the Python "PIL" module. > ImportError: No module named images > ERROR 2008-11-21 13:24:17,453 dev_appserver_main.py] <type > 'exceptions.ImportError'>: No module named images > > Hello world is in C:\Program Files\Google\google_appengine\demos > \hello. This folder contains hellworld.py and app.yaml. > > Helloworld.py contents: > print 'Content-Type: text/plain' > print '' > print 'Hello, world!' > > App.yaml contents: > application: helloworld > version: 1 > runtime: python > api_version: 1 > > handlers: > - url: /.* > script: helloworld.py > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
