Before i down grade, here are some of the outputs you asked for:
$python Python 2.5 (r25:51908, Oct 8 2008, 01:34:31) [GCC 4.0.1 (Apple Inc. build 5484)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import wsgiref.handlers >>> wsgiref.__file__ '/Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/ site-packages/wsgiref-0.1.2-py2.5.egg/wsgiref/__init__.pyc' >>> import sys >>> print sys.path ['', '/Library/Frameworks/Python.framework/Versions/Current/lib/ python2.5/site-packages/setuptools-0.6c9-py2.5.egg', '/Library/ Frameworks/Python.framework/Versions/Current/lib/python2.5/site- packages/PyAMF-0.3.1-py2.5.egg', '/Library/Frameworks/Python.framework/ Versions/Current/lib/python2.5/site-packages/wsgiref-0.1.2-py2.5.egg', '/Library/Frameworks/Python.framework/Versions/Current/lib/ python25.zip', '/Library/Frameworks/Python.framework/Versions/Current/ lib/python2.5', '/Library/Frameworks/Python.framework/Versions/Current/ lib/python2.5/plat-darwin', '/Library/Frameworks/Python.framework/ Versions/Current/lib/python2.5/plat-mac', '/Library/Frameworks/ Python.framework/Versions/Current/lib/python2.5/plat-mac/lib- scriptpackages', '/Library/Frameworks/Python.framework/Versions/ Current/lib/python2.5/lib-tk', '/Library/Frameworks/Python.framework/ Versions/Current/lib/python2.5/lib-dynload', '/Library/Frameworks/ Python.framework/Versions/Current/lib/python2.5/site-packages', '/ Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/ site-packages/PIL'] >>> exit() And this is the output running with --debug_imports: $dev_appserver.py . --debug_imports INFO 2008-10-21 22:26:35,273 __init__.py] Server: appengine.google.com INFO 2008-10-21 22:26:35,284 __init__.py] Checking for updates to the SDK. INFO 2008-10-21 22:26:35,487 __init__.py] The SDK is up to date. WARNING 2008-10-21 22:26:35,487 __init__.py] Could not read datastore data from /var/folders/Tp/Tp8+CShLHGOl7VLfxWD+6bxGU1Y/-Tmp-/ dev_appserver.datastore WARNING 2008-10-21 22:26:35,487 __init__.py] Could not read datastore data from /var/folders/Tp/Tp8+CShLHGOl7VLfxWD+6bxGU1Y/-Tmp-/ dev_appserver.datastore.history INFO 2008-10-21 22:26:35,529 __init__.py] Running application helloworld on port 8080: http://localhost:8080 Entering get_code(helloworld) Entering GetModuleInfo(helloworld) Entering GetParentSearchPath(helloworld) Entering GetParentPackage(helloworld) Exiting GetParentPackage(helloworld) Exiting GetParentSearchPath(helloworld) Entering FindModuleRestricted(helloworld, helloworld, None) Exiting FindModuleRestricted(helloworld, helloworld, None) Exiting GetModuleInfo(helloworld) Exiting get_code(helloworld) Entering GetModuleInfo(helloworld) Entering GetParentSearchPath(helloworld) Entering GetParentPackage(helloworld) Exiting GetParentPackage(helloworld) Exiting GetParentSearchPath(helloworld) Entering FindModuleRestricted(helloworld, helloworld, None) Exiting FindModuleRestricted(helloworld, helloworld, None) Exiting GetModuleInfo(helloworld) Entering find_module(cgi, None) Entering FindModuleRestricted(cgi, cgi, None) Exiting FindModuleRestricted(cgi, cgi, None) Exiting find_module(cgi, None) ERROR 2008-10-21 22:26:39,734 __init__.py] Exception encountered handling request Traceback (most recent call last): File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py", line 2413, in _HandleRequest base_env_dict=env_dict) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py", line 348, in Dispatch base_env_dict=base_env_dict) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py", line 1848, in Dispatch self._module_dict) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py", line 1766, in ExecuteCGI reset_modules = exec_script(handler_path, cgi_path, hook) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py", line 1662, in ExecuteOrImportScript exec module_code in script_module.__dict__ File "/Users/salisburyk/Documents/workspace/helloword/src/ helloworld.py", line 1, in <module> import cgi ImportError: No module named cgi INFO 2008-10-21 22:26:39,736 __init__.py] "GET / HTTP/1.1" 500 - Entering get_code(helloworld) Entering GetModuleInfo(helloworld) Entering GetParentSearchPath(helloworld) Entering GetParentPackage(helloworld) Exiting GetParentPackage(helloworld) Exiting GetParentSearchPath(helloworld) Entering FindModuleRestricted(helloworld, helloworld, None) Exiting FindModuleRestricted(helloworld, helloworld, None) Exiting GetModuleInfo(helloworld) Exiting get_code(helloworld) Entering GetModuleInfo(helloworld) Entering GetParentSearchPath(helloworld) Entering GetParentPackage(helloworld) Exiting GetParentPackage(helloworld) Exiting GetParentSearchPath(helloworld) Entering FindModuleRestricted(helloworld, helloworld, None) Exiting FindModuleRestricted(helloworld, helloworld, None) Exiting GetModuleInfo(helloworld) Entering find_module(cgi, None) Entering FindModuleRestricted(cgi, cgi, None) Exiting FindModuleRestricted(cgi, cgi, None) Exiting find_module(cgi, None) ERROR 2008-10-21 22:26:39,868 __init__.py] Exception encountered handling request Traceback (most recent call last): File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py", line 2413, in _HandleRequest base_env_dict=env_dict) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py", line 348, in Dispatch base_env_dict=base_env_dict) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py", line 1848, in Dispatch self._module_dict) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py", line 1766, in ExecuteCGI reset_modules = exec_script(handler_path, cgi_path, hook) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py", line 1662, in ExecuteOrImportScript exec module_code in script_module.__dict__ File "/Users/salisburyk/Documents/workspace/helloword/src/ helloworld.py", line 1, in <module> import cgi ImportError: No module named cgi INFO 2008-10-21 22:26:39,868 __init__.py] "GET /favicon.ico HTTP/ 1.1" 500 - And finally here is the contents of helloworld.py file: import cgi import os from google.appengine.ext.webapp import template from google.appengine.ext import db from google.appengine.api import users from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app class Greeting(db.Model): author = db.UserProperty() content = db.StringProperty(multiline=True) date = db.DateTimeProperty(auto_now_add=True) class Guestbook(webapp.RequestHandler): def post(self): greeting = Greeting() if users.get_current_user(): greeting.author = users.get_current_user() greeting.content = self.request.get('content') greeting.put() self.redirect('/') class MainPage(webapp.RequestHandler): def get(self): greetings_query = Greeting.all().order('-date') greetings = greetings_query.fetch(10) if users.get_current_user(): url = users.create_logout_url(self.request.uri) url_linktext = 'Logout' else: url = users.create_login_url(self.request.uri) url_linktext = 'Login' template_values = { 'greetings': greetings, 'url': url, 'url_linktext': url_linktext, } path = os.path.join(os.path.dirname(__file__), 'index.html') self.response.out.write(template.render(path, template_values)) application = webapp.WSGIApplication( [('/', MainPage), ('/sign', Guestbook)], debug=True) def main(): run_wsgi_app(application) if __name__ == "__main__": main() Hope that helps!!! thanks keith --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---