[google-appengine] Re: Newbie: AppEngine Launcher 1.1.9 broke Django

2009-02-16 Thread Dmitry

Same problem today. I upgraded appengine-patch to 0.9.4 (was 0.9.3),
problem is gone. Try

http://code.google.com/p/app-engine-patch/downloads/list

On Feb 15, 3:13 pm, Giacecco giace...@gmail.com wrote:
 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/Frameworkframework/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 '/
 

[google-appengine] Re: Newbie: AppEngine Launcher 1.1.9 broke Django

2009-02-15 Thread Alexander Kojevnikov

On Feb 16, 12:13 am, Giacecco giace...@gmail.com wrote:
 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.

See 
http://groups.google.com/group/google-appengine/browse_thread/thread/7b2445428b8115c2
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---