--> --> -->
 
 
<type 'exceptions.SyntaxError'>
Python 2.5.4: C:\Python25\pythonw.exe
Thu Sep 02 09:13:58 2010

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py in _HandleRequest(self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler instance at 0x017E16C0>)
 3110         outfile = cStringIO.StringIO()
 3111         try:
 3112           self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
 3113         finally:
 3114           self.module_manager.UpdateModuleFileModificationTimes()
self = <google.appengine.tools.dev_appserver.DevAppServerRequestHandler instance at 0x017E16C0>, self._Dispatch = <bound method DevAppServerRequestHandler._Dispat...vAppServerRequestHandler instance at 0x017E16C0>>, dispatcher = <google.appengine.tools.dev_appserver.MatcherDispatcher object at 0x0160AD50>, self.rfile = <socket._fileobject object at 0x017E2EF0>, outfile = <cStringIO.StringO object at 0x017E44A0>, env_dict = {'APPLICATION_ID': 'helloworld', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8083', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'}
 C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py in _Dispatch(self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler instance at 0x017E16C0>, dispatcher=<google.appengine.tools.dev_appserver.MatcherDispatcher object at 0x0160AD50>, socket_infile=<socket._fileobject object at 0x017E2EF0>, outfile=<cStringIO.StringO object at 0x017E44A0>, env_dict={'APPLICATION_ID': 'helloworld', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8083', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
 3053                               request_file,
 3054                               outfile,
 3055                               base_env_dict=env_dict)
 3056         finally:
 3057           request_file.close()
base_env_dict undefined, env_dict = {'APPLICATION_ID': 'helloworld', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8083', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'}
 C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py in Dispatch(self=<google.appengine.tools.dev_appserver.MatcherDispatcher object at 0x0160AD50>, relative_url='/', path=None, headers=<mimetools.Message instance at 0x017E1648>, infile=<closed file 'c:\docume~1\admini~1\locals~1\temp\request.iosqej.tmp', mode 'rb' at 0x01490B60>, outfile=<cStringIO.StringO object at 0x017E44A0>, base_env_dict={'APPLICATION_ID': 'helloworld', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8083', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
  446                                       infile,
  447                                       outfile,
  448                                       base_env_dict=base_env_dict)
  449 
  450         if forward:
base_env_dict = {'APPLICATION_ID': 'helloworld', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8083', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'}
 C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py in Dispatch(self=<google.appengine.tools.dev_appserver.CGIDispatcher object at 0x017E4050>, relative_url='/', path='helloworld.py', headers=<mimetools.Message instance at 0x017E1648>, infile=<closed file 'c:\docume~1\admini~1\locals~1\temp\request.iosqej.tmp', mode 'rb' at 0x01490B60>, outfile=<cStringIO.StringO object at 0x017E44A0>, base_env_dict={'APPLICATION_ID': 'helloworld', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8083', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
 2313                      memory_file,
 2314                      outfile,
 2315                      self._module_dict)
 2316       handler.AddDebuggingConsole(relative_url, env, outfile)
 2317     finally:
self = <google.appengine.tools.dev_appserver.CGIDispatcher object at 0x017E4050>, self._module_dict = {'codecs': <module 'codecs' from 'C:\Python25\lib\codecs.pyc'>, 'encodings': <module 'encodings' from 'C:\Python25\lib\encodings\__init__.pyc'>, 'encodings._codecs_tw': None, 'encodings._multibytecodec': None, 'encodings.aliases': <module 'encodings.aliases' from 'C:\Python25\lib\encodings\aliases.pyc'>, 'encodings.ascii': <module 'encodings.ascii' from 'C:\Python25\lib\encodings\ascii.pyc'>, 'encodings.codecs': None, 'encodings.cp950': <module 'encodings.cp950' from 'C:\Python25\lib\encodings\cp950.pyc'>, 'encodings.encodings': None, 'encodings.types': None, ...}
 C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py in ExecuteCGI(root_path=r'E:\helloworld', handler_path='helloworld.py', cgi_path=r'E:\helloworld\helloworld.py', env={'APPLICATION_ID': 'helloworld', '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.StringO object at 0x017E42E0>, outfile=<cStringIO.StringO object at 0x017E44A0>, module_dict={'codecs': <module 'codecs' from 'C:\Python25\lib\codecs.pyc'>, 'encodings': <module 'encodings' from 'C:\Python25\lib\encodings\__init__.pyc'>, 'encodings._codecs_tw': None, 'encodings._multibytecodec': None, 'encodings.aliases': <module 'encodings.aliases' from 'C:\Python25\lib\encodings\aliases.pyc'>, 'encodings.ascii': <module 'encodings.ascii' from 'C:\Python25\lib\encodings\ascii.pyc'>, 'encodings.codecs': None, 'encodings.cp950': <module 'encodings.cp950' from 'C:\Python25\lib\encodings\cp950.pyc'>, 'encodings.encodings': None, 'encodings.types': None, ...}, exec_script=<function ExecuteOrImportScript at 0x0176FB70>)
 2223     logging.debug('Executing CGI with env:\n%s', pprint.pformat(env))
 2224     try:
 2225       reset_modules = exec_script(handler_path, cgi_path, hook)
 2226     except SystemExit, e:
 2227       logging.debug('CGI exited with status: %s', e)
reset_modules = True, exec_script = <function ExecuteOrImportScript at 0x0176FB70>, handler_path = 'helloworld.py', cgi_path = r'E:\helloworld\helloworld.py', hook = <google.appengine.tools.dev_appserver.HardenedModulesHook object at 0x017E4030>
 C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py in ExecuteOrImportScript(handler_path='helloworld.py', cgi_path=r'E:\helloworld\helloworld.py', import_hook=<google.appengine.tools.dev_appserver.HardenedModulesHook object at 0x017E4030>)
 2114   """
 2115   module_fullname, script_module, module_code = LoadTargetModule(
 2116       handler_path, cgi_path, import_hook)
 2117   script_module.__name__ = '__main__'
 2118   sys.modules['__main__'] = script_module
handler_path = 'helloworld.py', cgi_path = r'E:\helloworld\helloworld.py', import_hook = <google.appengine.tools.dev_appserver.HardenedModulesHook object at 0x017E4030>
 C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py in LoadTargetModule(handler_path='helloworld.py', cgi_path=r'E:\helloworld\helloworld.py', import_hook=<google.appengine.tools.dev_appserver.HardenedModulesHook object at 0x017E4030>, module_dict={'BaseHTTPServer': <module 'BaseHTTPServer' from 'C:\Python25\lib\BaseHTTPServer.pyc'>, 'Cookie': <module 'Cookie' from 'C:\Python25\lib\Cookie.pyc'>, 'Queue': <module 'Queue' from 'C:\Python25\lib\Queue.pyc'>, 'SocketServer': <module 'SocketServer' from 'C:\Python25\lib\SocketServer.pyc'>, 'StringIO': <module 'StringIO' from 'C:\Python25\lib\StringIO.pyc'>, 'UserDict': <module 'UserDict' from 'C:\Python25\lib\UserDict.pyc'>, '_LWPCookieJar': <module '_LWPCookieJar' from 'C:\Python25\lib\_LWPCookieJar.pyc'>, '_MozillaCookieJar': <module '_MozillaCookieJar' from 'C:\Python25\lib\_MozillaCookieJar.pyc'>, '__builtin__': <module '__builtin__' (built-in)>, '__future__': <module '__future__' from 'C:\Python25\lib\__future__.pyc'>, ...})
 2045           source_file = open(cgi_path)
 2046           try:
 2047             module_code = compile(source_file.read(), cgi_path, 'exec')
 2048             script_module.__file__ = cgi_path
 2049           finally:
module_code = None, builtin compile = <built-in function compile>, source_file = <closed file 'E:\helloworld\helloworld.py', mode 'r' at 0x01773C38>, source_file.read = <built-in method read of FakeFile object at 0x01773C38>, cgi_path = r'E:\helloworld\helloworld.py'

<type 'exceptions.SyntaxError'>: invalid syntax (helloworld.py, line 1)
      args = ('invalid syntax', (r'E:\helloworld\helloworld.py', 1, 15, 'config use_tidy 0\n'))
      filename = r'E:\helloworld\helloworld.py'
      lineno = 1
      message = ''
      msg = 'invalid syntax'
      offset = 15
      print_file_and_line = None
      text = 'config use_tidy 0\n'