Skip navigation

I got this error in my google app engine application

it says something to the effect of

<type ‘exceptions.ImportError’> Python 2.5.4: c:\python25\python.exe
Wed Sep 09 12:29:14 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.

c:\program files (x86)\google\google_appengine\google\appengine\tools\dev_appserver.py in _HandleRequest(self=)
2921 infile,
2922 outfile,
2923 base_env_dict=env_dict)
2924 finally:
2925 self.module_manager.UpdateModuleFileModificationTimes()
base_env_dict undefined, env_dict = {‘APPLICATION_ID’: ‘mohammad’, ‘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’}

Really the problem was I has put a leading slash in my app.yaml where one should not be

- url: /home
  script: /home/index.py

Really this should be

- url: /home
  script: home/index.py

So there was no leading slash on script: EVER.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: