All, Upgrading to AppEngine 1.1.9 on my Mac OS 10.5.6 has just broken a simple Django app I have been working on for a while.
The problem starts since the very InstallAppengineHelperForDjango() call in main.py . I still consider myself a newbie with AppEngine, but I understand that the error is: Application configuration could not be read from "./app.yaml" Of course, app.yaml exists, worked before 1.1.9 and does not look particularly wrong now! I attach my app.yaml and the full error description page. Thank you in advance for any suggestion, Giacecco === app.yaml === application: giacecco-prod version: 1 runtime: python api_version: 1 handlers: - url: /static static_dir: static - url: /favicon.ico static_files: static/favicon.ico upload: static/favicon.ico - url: .* script: main.py === full error page === --> --> --> <class 'google.appengine.tools.dev_appserver.InvalidAppConfigError'> Python 2.5.1: /System/Library/Frameworks/Python.framework/Versions/2.5/ Resources/Python.app/Contents/MacOS/Python Sun Feb 15 13:04:51 2009 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py in _HandleRequest (self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler instance at 0x10dd4b8>) 2709 infile, 2710 outfile, 2711 base_env_dict=env_dict) 2712 finally: 2713 self.module_manager.UpdateModuleFileModificationTimes () base_env_dict undefined, env_dict = {'APPLICATION_ID': 'giacecco- prod', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/ 1.0'} /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py in Dispatch (self=<google.appengine.tools.dev_appserver.MatcherDispatcher object at 0x15f26d0>, relative_url='/', path=None, headers=<mimetools.Message instance at 0x10dd5f8>, infile=<cStringIO.StringI object at 0x643a10>, outfile=<cStringIO.StringO object at 0x136acc0>, base_env_dict= {'APPLICATION_ID': 'giacecco-prod', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'}) 378 infile, 379 outfile, 380 base_env_dict=base_env_dict) 381 382 if forward: base_env_dict = {'APPLICATION_ID': 'giacecco-prod', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/ 1.0'} /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py in Dispatch (self=<google.appengine.tools.dev_appserver.CGIDispatcher object at 0x131a270>, relative_url='/', path='main.py', headers=<mimetools.Message instance at 0x10dd5f8>, infile=<cStringIO.StringI object at 0x643a10>, outfile=<cStringIO.StringO object at 0x136acc0>, base_env_dict= {'APPLICATION_ID': 'giacecco-prod', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'}) 1996 infile, 1997 outfile, 1998 self._module_dict) 1999 handler.AddDebuggingConsole(relative_url, env, outfile) 2000 finally: self = <google.appengine.tools.dev_appserver.CGIDispatcher object at 0x131a270>, self._module_dict = {'Cookie': <module 'Cookie' from '/ System/Library/Framework....framework/Versions/2.5/lib/python2.5/ Cookie.py'>, 'StringIO': <module 'StringIO' from '/System/Library/ Framewo...ramework/Versions/2.5/lib/python2.5/StringIO.py'>, 'UserDict': <module 'UserDict' from '/System/Library/ Framewo...ramework/Versions/2.5/lib/python2.5/UserDict.py'>, '__future__': <module '__future__' from '/System/Library/ Frame...mework/Versions/2.5/lib/python2.5/__future__.py'>, '__main__': <module 'main' from '/Users/giacecco/Documents/www.giacec.co.uk/GAP- src/giacecco-prod/main.py'>, '_locale': <module '_locale' from '/ System/Library/Framewor...rsions/2.5/lib/python2.5/lib-dynload/ _locale.so'>, '_types': <module '_types' (built-in)>, 'appengine_django': <module 'appengine_django' from '/Users/ giacecco...src/giacecco-prod/appengine_django/__init__.pyc'>, 'appengine_django.django': None, 'appengine_django.google': None, ...} /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py in ExecuteCGI(root_path='/ Users/giacecco/Documents/www.giacec.co.uk/GAP-src/giacecco-prod', handler_path='main.py', cgi_path='/Users/giacecco/Documents/ www.giacec.co.uk/GAP-src/giacecco-prod/main.py', env= {'APPLICATION_ID': 'giacecco-prod', 'AUTH_DOMAIN': 'gmail.com', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'application/x-www-form- urlencoded', 'CURRENT_VERSION_ID': '1.1', 'GATEWAY_INTERFACE': 'CGI/ 1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/ xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_LANGUAGE': 'en- us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', ...}, infile=<cStringIO.StringI object at 0x643a10>, outfile=<cStringIO.StringO object at 0x136acc0>, module_dict= {'Cookie': <module 'Cookie' from '/System/Library/ Framework....framework/Versions/2.5/lib/python2.5/Cookie.py'>, 'StringIO': <module 'StringIO' from '/System/Library/ Framewo...ramework/Versions/2.5/lib/python2.5/StringIO.py'>, 'UserDict': <module 'UserDict' from '/System/Library/ Framewo...ramework/Versions/2.5/lib/python2.5/UserDict.py'>, '__future__': <module '__future__' from '/System/Library/ Frame...mework/Versions/2.5/lib/python2.5/__future__.py'>, '__main__': <module 'main' from '/Users/giacecco/Documents/www.giacec.co.uk/GAP- src/giacecco-prod/main.py'>, '_locale': <module '_locale' from '/ System/Library/Framewor...rsions/2.5/lib/python2.5/lib-dynload/ _locale.so'>, '_types': <module '_types' (built-in)>, 'appengine_django': <module 'appengine_django' from '/Users/ giacecco...src/giacecco-prod/appengine_django/__init__.pyc'>, 'appengine_django.django': None, 'appengine_django.google': None, ...}, exec_script=<function ExecuteOrImportScript at 0x106e6f0>) 1914 logging.debug('Executing CGI with env:\n%s', pprint.pformat (env)) 1915 try: 1916 reset_modules = exec_script(handler_path, cgi_path, hook) 1917 except SystemExit, e: 1918 logging.debug('CGI exited with status: %s', e) reset_modules = True, exec_script = <function ExecuteOrImportScript at 0x106e6f0>, handler_path = 'main.py', cgi_path = '/Users/giacecco/ Documents/www.giacec.co.uk/GAP-src/giacecco-prod/main.py', hook = <google.appengine.tools.dev_appserver.HardenedModulesHook object at 0x167c730> /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py in ExecuteOrImportScript (handler_path='main.py', cgi_path='/Users/giacecco/Documents/ www.giacec.co.uk/GAP-src/giacecco-prod/main.py', import_hook=<google.appengine.tools.dev_appserver.HardenedModulesHook object at 0x167c730>) 1810 try: 1811 if module_code: 1812 exec module_code in script_module.__dict__ 1813 else: 1814 script_module.main() module_code = <code object <module> at 0x165b4a0, file "/ Users...ec.co.uk/GAP-src/giacecco-prod/main.py", line 18>, script_module = <module 'main' from '/Users/giacecco/Documents/ www.giacec.co.uk/GAP-src/giacecco-prod/main.py'>, script_module.__dict__ = {'InstallAppengineHelperForDjango': <function InstallAppengineHelperForDjango at 0x157a8f0>, '__builtins__': {'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'BaseException': <type 'exceptions.BaseException'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'EOFError': <type 'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'Exception': <type 'exceptions.Exception'>, 'False': False, ...}, '__doc__': None, '__file__': '/Users/giacecco/Documents/www.giacec.co.uk/GAP-src/ giacecco-prod/main.py', '__loader__': <google.appengine.tools.dev_appserver.HardenedModulesHook object at 0x167c730>, '__name__': 'main', 'logging': <module 'logging' from '/ System/Library/Framewor.../Versions/2.5/lib/python2.5/logging/ __init__.py'>, 'os': <module 'os' from '/System/Library/Frameworks/ Python.framework/Versions/2.5/lib/python2.5/os.py'>, 'sys': <module 'sys' (built-in)>, 'webapp': <module 'google.appengine.ext.webapp' from '/App...engine/google/appengine/ext/webapp/__init__.pyc'>, ...} /Users/giacecco/Documents/www.giacec.co.uk/GAP-src/giacecco-prod/ main.py in () 25 26 from appengine_django import InstallAppengineHelperForDjango 27 InstallAppengineHelperForDjango() 28 29 class MainHandler(webapp.RequestHandler): InstallAppengineHelperForDjango = <function InstallAppengineHelperForDjango at 0x157a8f0> /Users/giacecco/www.giacec.co.uk/GAP-src/giacecco-prod/ appengine_django/__init__.py in InstallAppengineHelperForDjango() /Users/giacecco/www.giacec.co.uk/GAP-src/giacecco-prod/ appengine_django/__init__.py in LoadAppengineEnvironment() /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py in LoadAppConfig (root_path='.', module_dict={}, cache=None, static_caching=True, read_app_config=<function ReadAppConfig at 0x106eeb0>, create_matcher=<function CreateURLMatcherFromMaps at 0x106eef0>) 2928 2929 try: 2930 config = read_app_config(appinfo_path, appinfo.LoadSingleAppInfo) 2931 2932 if static_caching: config undefined, read_app_config = <function ReadAppConfig at 0x106eeb0>, appinfo_path = './app.yaml', global appinfo = <module 'google.appengine.api.appinfo' from '/Ap...ogle_appengine/google/ appengine/api/appinfo.pyc'>, appinfo.LoadSingleAppInfo = <function LoadSingleAppInfo at 0x6608f0> /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.py in ReadAppConfig (appinfo_path='./app.yaml', parse_app_config=<function LoadSingleAppInfo at 0x6608f0>) 2796 except IOError, e: 2797 raise InvalidAppConfigError( 2798 'Application configuration could not be read from "%s"' % appinfo_path) 2799 2800 appinfo_path = './app.yaml' <class 'google.appengine.tools.dev_appserver.InvalidAppConfigError'>: Application configuration could not be read from "./app.yaml" --~--~---------~--~----~------------~-------~--~----~ 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 google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---